How do I get the actual types passed as arguments to a generic class :
class X<T>
{
public int field;
}
...
...X<int> temp = new X<int>(); temp.field=1; 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'. Thanks. --~--~---------~--~----~------------~-------~--~----~ -- mono-cecil -~----------~----~----~----~------~----~------~--~---
