Resolving the tokens found in the IL from a dynamic method
问题 Thanks to Hans Passant answering my question here: How do I get an IL bytearray from a DynamicMethod? I was able to get up and running. I am now trying to resolve the Metadata tokens found in the IL emitted, to see what methods are being called, or what not. I am able to resolve that the next token in the method body is a call. I'm using some code from Mono.Reflection 's MethodBodyReader. static byte[] GetILByteArray(Delegate @delegate){ // does stuff mentioned in other thread } ...