Hi, Let say you have a Type:
Foo<TElement> You have a GenericInstanceType for Foo<string> The .ElementType will be either a TypeDef for Foo`1 or a TypeRef to it, that you can resolve in a TypeDef. The TypeDef will have TElement in its .GenericParameters collection. Jb On Fri, Jul 11, 2014 at 4:45 AM, Andrei F <[email protected]> wrote: > I have a GenericInstanceType object with some GenericArguments values, > pointing to type references. How do I find out names of their appropriate > generic parameters (in the original generic type)? > > -- > -- > -- > mono-cecil > --- > You received this message because you are subscribed to the Google Groups > "mono-cecil" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. -- -- -- mono-cecil --- You received this message because you are subscribed to the Google Groups "mono-cecil" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
