Quantcast
Channel: Common Language Runtime Internals and Architecture forum
Viewing all articles
Browse latest Browse all 1710

how to use DefineMethodSpec to define a generic method instance for called in IL

$
0
0

Hi,

i need to instrument generic method. Be more clearly i want to write IL to call the instrumented generic method when jit compile start. but now i don't know how to define a generic method that can be called in the IL. i know it need to use DefineMethodSpec to define the methodspec. but how to use DefineMethodSpec? how to setup the parameter pvSigBlob forDefineMethodSpec?


Viewing all articles
Browse latest Browse all 1710

Trending Articles