Sounds like a bug in your code - I haven't encountered anything like this in
Mono.Cecil before.

TypeReference's IsNested property can help you determine whether the given
type is nested, so that you can handle it accordingly. If a type is nested,
it's DeclaringType property will give you the type it is nested in.

2011/4/29 Hendry Luk <[email protected]>

> Hello,
> I'm using mono-cecil to rewrite my IL and save it back to another dll. I
> just found out that my nested-types in the old dll (that I do NOT touch
> during the IL rewriting) always turn into root types in the dll mono-cecil
> produces.
> Anyone had the same problem?
>
> Cheers
>
> --
> --
> mono-cecil

-- 
--
mono-cecil

Reply via email to