Hi.

I have a reference to the following parameter (param):

param.ParameterType     
        {System.Collections.Generic.IEnumerable`1<!0>}
{Mono.Cecil.GenericInstanceType}

that is defined int the following method (param.Method)

{ System.Void
System.Collections.Generic.List`1<System.String>::.ctor(System.Collections.Generic.IEnumerable`1<!0>)}

The problem is: how to get a "closed" parameter (One with !0 replaced by the
actual type System.String) ?

I have tried param.ParameterType().Resolve() but this gave me back
System.Collections.Generic.IEnumerable`1.

Best

Adriano
-- 
View this message in context: 
http://old.nabble.com/Resolving-generic-method-parameters-tp27535759p27535759.html
Sent from the Mono - Cecil mailing list archive at Nabble.com.

-- 
--
mono-cecil

Reply via email to