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
-~----------~----~----~----~------~----~------~--~---

Reply via email to