Converting IL to C# code

后端 未结 12 2172
青春惊慌失措
青春惊慌失措 2020-12-15 22:16

I need to convert the IL to c# code. I have an assembly and I am reading this assembly. I get MethodBody from MethodInfo and the methodbody has a method GetILAsByteArraY()

12条回答
  •  [愿得一人]
    2020-12-15 22:57

    There is no tool in the BCL that will do this; however, there is a great tool called Reflector, which you can write your own add-ins for. So you could probally use this to get the data you want.

提交回复
热议问题