Thanks. That works!
On Jun 13, 11:47 am, Jb Evain <[email protected]> wrote: > Hey, > > On 6/13/09, JohnC <[email protected]> wrote: > > In the FieldReference for 'temp', the DeclaringType is a > > > GenericInstanceType. From there, I can get the generic arguments but > > how do I get the actual type of the instantiation, which is 'int'. > > The first GenericArgument of the GenericInstanceType will be a > TypeReference to System.Int32. > > -- > Jb Evain <[email protected]> --~--~---------~--~----~------------~-------~--~----~ -- mono-cecil -~----------~----~----~----~------~----~------~--~---
