Skip to content

Commit bac5b9e

Browse files
authored
Fix minize step for CustomAttributes in dependency collection (#88)
***NO_CI***
1 parent 968b7e2 commit bac5b9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/MetadataProcessor.Core/nanoAssemblyBuilder.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -488,7 +488,7 @@ private HashSet<MetadataToken> BuildDependencyList(MetadataToken token)
488488
if (!nanoTablesContext.ClassNamesToExclude.Contains(c.AttributeType.FullName) &&
489489
c.AttributeType.IsToInclude())
490490
{
491-
set.Add(c.AttributeType.MetadataToken);
491+
set.Add(c.Constructor.MetadataToken);
492492
}
493493
}
494494

0 commit comments

Comments
 (0)