Can the Roslyn C# compiler be used to compile C# to CIL human readable code? Like the examples shown here : https://en.wikipedia.org/wiki/Common_Intermediate_Language
I know it can produce bytecode in EXE/DLL form, but I'm interested in the CIL code.
Either from the command line or API.
I know a disassembler could be used on the bytecode files but I would prefer a more direct approach.
Thanks.