We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6518788 commit 9c91cfdCopy full SHA for 9c91cfd
source/MetadataProcessor.Core/Extensions/TypeDefinitionExtensions.cs
@@ -19,9 +19,11 @@ public static bool IncludeInStub(this TypeDefinition value)
19
return false;
20
}
21
22
+ typeDefFlags = typeDefFlags & nanoTypeDefinitionFlags.TD_Semantics;
23
+
24
// Only generate a stub for classes and value types.
- if ( typeDefFlags.HasFlag(nanoTypeDefinitionFlags.TD_Semantics_Class) ||
- typeDefFlags.HasFlag(nanoTypeDefinitionFlags.TD_Semantics_ValueType) )
25
+ if (typeDefFlags == nanoTypeDefinitionFlags.TD_Semantics_Class ||
26
+ typeDefFlags == nanoTypeDefinitionFlags.TD_Semantics_ValueType )
27
{
28
return true;
29
0 commit comments