Content deleted Content added
removed add-laden content-barren external link |
→Sample Code: Replaced with output of "csc /optimize" (which removes redundant instructions), and removed all untargeted labels ildasm generates for readability |
||
Line 60:
<source lang="cil">
.method private hidebysig static void Main(string[] args) cil managed
{
.entrypoint
.maxstack 2
.locals init (int32 V_0,
br.s IL_001f
▲ L_0006: ldc.i4.2
rem
L_0007: stloc.1 ▼
L_000b: ldloc.0 ▼
add
▲ L_000c: ldloc.1
blt.s IL_0008
L_0014: stloc.2 ▼
blt.s IL_0004
ret
}
▲ L_001f: ldloc.1
▲ L_0020: ldloc.0
▲ L_0028: call void [mscorlib]System.Console::WriteLine(int32)
▲ L_0030: ldc.i4.1
</source>
|