Hey, On Mon, Jan 25, 2010 at 1:54 PM, Damian <[email protected]> wrote: > I am referring to the actual type of the field/property, like int, > string - so I have a PropertyDefinition, for instance, and I want to > get a System.Type object. (For the method, yes, I was referring to the > return type, sorry for not specifying more clearly).
Cecil's type system is different from the reflection one. There's no builtin way to turn a Mono.Cecil.TypeReference into a System.Type, although it's not very difficult. -- Jb Evain <[email protected]> -- -- mono-cecil
