Hi
Wanted to know what is the correct way to emit and IL call to a
generic method, example:
public class Foo
{
public void DoStuff<T>()
{
}
}
If I wanted to create a new method definition that copies the
signature of the existing method do stuff called "Cloned_DoStuff<T>"
how would I emit the IL Call from the clone to the original using the
IL Processor? Currently I am stuck with
call instance void Test.Foo::DoStuff<[1]>()
and it should be
call instance void Test.Foo::DoStuff<T>()
Is there something I am missing?
Thx
~G
--
--
mono-cecil