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 6441718 commit 5760adaCopy full SHA for 5760ada
MetadataProcessor.Shared/nanoSkeletonGenerator.cs
@@ -582,12 +582,11 @@ private int GetInstanceFieldsOffset(TypeDefinition c)
582
583
private int GetNestedFieldsCount(TypeDefinition c)
584
{
585
- ushort tt;
586
-
587
int fieldCount = 0;
588
589
if (c.BaseType != null &&
590
- c.BaseType.FullName != "System.Object")
+ c.BaseType.FullName != "System.Object" &&
+ c.BaseType.FullName != "System.MarshalByRefObject")
591
592
// get parent type fields count
593
fieldCount = GetNestedFieldsCount(c.BaseType.Resolve());
0 commit comments