Problem when trying to publicize everything in an assembly. #983
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I have an issue with Mono.Cecil where I want to publicize everything in an assembly. However, some fields still remain
privatewhen viewed with ILSpy, compiler generated classes (async state machine code, iterator code, etc) managed to change fromprivate->internalbut I expected it to be madepublic(this is to publicize the Assembly-CSharp to a Unity game). Also some of theMoveNext()methods in iterators did not get replaced withthrow null;as I would expect.this is what ILSpy would show on that
MoveNext()in a compiler generated iterator type:The code I use currently to publicize an assembly: