Converting IL to C# code

后端 未结 12 2206
青春惊慌失措
青春惊慌失措 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 23:05

    Reflector does this. Perhaps you could use Reflector against Reflector and learn how it handles the problem.

    You might also say why you want to do this - there may be a better solution to your overall problem.

提交回复
热议问题