diff --git a/Suto/Processor.cs b/Suto/Processor.cs index 6c5d7e7..dab4e06 100644 --- a/Suto/Processor.cs +++ b/Suto/Processor.cs @@ -54,6 +54,12 @@ public void Virtualize() private void VirtualizeType(TypeDefinition type) { if (type.IsSealed) type.IsSealed = false; + + if (type.IsNestedPrivate) + { + type.IsNestedPrivate = false; + type.IsNestedPublic = true; + } if (type.IsInterface) return; if (type.IsAbstract) return; @@ -87,6 +93,7 @@ private void VirtualizeType(TypeDefinition type) } m.IsVirtual = true; + m.IsFinal = false; m.IsPublic = true; m.IsPrivate = false; m.IsNewSlot = true;