CIL (MSIL) Code Viewer Extension for Visual Studio 2017
Example: when Instruction description mode = disabled
IL_0013 | 16 | ldc.i4.0
IL_0014 | 0C | stloc.2
IL_0015 | 2B48 | br.s IL_0089
when Instruction description mode = BeforeLine
// ldc.i4.0: Push 0 onto the stack as int32.
IL_0013 | 16 | ldc.i4.0
// stloc.2: Pop a value from stack into local variable 2.
IL_0014 | 0C | stloc.2
// br.s: Branch to target, short form.
IL_0015 | 2B48 | br.s IL_0089
when Instruction description mode = AfterInstruction
IL_0013 | 16 | ldc.i4.0 // ldc.i4.0: Push 0 onto the stack as int32.
IL_0014 | 0C | stloc.2 // stloc.2: Pop a value from stack into local variable 2.
IL_0015 | 2B48 | br.s IL_0089 // br.s: Branch to target, short form.
00
for nop
or FE 02
for cgt
instructions