Converting IL to C# code

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

    Maybe you should try Dis# if you don't wanna re-invent the wheel... It's almost the best tool in converting the code NetDASM has a tool that lets you convert C# to IL. maybe you should take a look at that.

提交回复
热议问题