Skip to content

Commit e54d597

Browse files
committed
Don't special-case type map attributes in AddDependenciesDueToCustomAttributes. We now trim the type map attributes centrally.
1 parent 92e60de commit e54d597

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/coreclr/tools/aot/ILCompiler.Compiler/Compiler/DependencyAnalysis/CustomAttributeBasedDependencyAlgorithm.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -118,9 +118,6 @@ private static void AddDependenciesDueToCustomAttributes(ref DependencyList depe
118118
{
119119
MethodDesc constructor = module.GetMethod(attribute.Constructor);
120120

121-
if (TypeMapManager.LookupTypeMapType(constructor.OwningType) != TypeMapManager.TypeMapAttributeKind.None)
122-
continue;
123-
124121
if (!mdManager.GeneratesAttributeMetadata(constructor.OwningType))
125122
continue;
126123

0 commit comments

Comments
 (0)