Skip to content
Advertisement

Tag: cil

View CIL of C# code on Linux with mono

I want to inspect the generated CIL code of the following C# source file on Linux: When I compile and run it everything is fine: But how can I get the human readable CIL output? Answer Mono disassembler, extracts IL code from an assembly: Full reference can be found here: https://www.mono-project.com/docs/tools+libraries/tools/monodis/ Dis/Assembling CIL Code (Mono Project)

Advertisement