I have a C# code and I want CIL (*.il) to contain my custom comments when I do disassembly of a source C# exe assembly.
How do I achieve it?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Assembled IL opcodes do not contain comments, therefore you cannot disassemble and get comments out. you cannot do this, basically. Either share the IL source, or investigate whether a pdb might be possible for raw IL source.
There is no “comment” opcode.