Hey, On Tue, May 11, 2010 at 4:52 PM, Timwi <[email protected]> wrote: > I couldn’t find any way in Mono.Cecil to remove that Nested flag. The > IsNested property is read-only, and only checks whether DeclaringType > is null (which I’ve already set to null).
You have to change the type's visibility as well. It's probably either NestedPublic or another Nested* visibility. You must change it to a top level type visibility (either NonPublic or Public). -- Jb Evain <[email protected]> -- -- mono-cecil
