Hi,

there are many posts regarding generics and generic methods, it would
really be helpful if there would be an article somewhere on the whole
story. I still do not know what the difference between
GenericParameter and GernericArguments are and who needs what and when
under which situations??

To my current case . I need a signature (to insert in IL) for the ctor
of a generic class of type

    public class OL2SList<TValue> : IList<TValue>
        where TValue : class,new()

Ctor:

public OL2SList(Guid aOwnerID,IEnumerable<TValue> aList)

I do have a TypeReference to OL2SList<TValue> and IEnumerable<TValue>
and the type I need the ctor for: TypeReference of Customer

How do I get the correct ctor method ?

Joe

-- 
--
mono-cecil

Reply via email to