mirror of https://github.com/icsharpcode/ILSpy.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
383 lines
12 KiB
383 lines
12 KiB
|
|
// Microsoft (R) .NET Framework IL Disassembler. Version 4.0.30319.18020 |
|
// Copyright (c) Microsoft Corporation. All rights reserved. |
|
|
|
|
|
|
|
// Metadata version: v4.0.30319 |
|
.assembly extern mscorlib |
|
{ |
|
.publickeytoken = (B7 7A 5C 56 19 34 E0 89 ) // .z\V.4.. |
|
.ver 4:0:0:0 |
|
} |
|
.assembly ShortCircuit |
|
{ |
|
.custom instance void [mscorlib]System.Runtime.CompilerServices.CompilationRelaxationsAttribute::.ctor(int32) = ( 01 00 08 00 00 00 00 00 ) |
|
.custom instance void [mscorlib]System.Runtime.CompilerServices.RuntimeCompatibilityAttribute::.ctor() = ( 01 00 01 00 54 02 16 57 72 61 70 4E 6F 6E 45 78 // ....T..WrapNonEx |
|
63 65 70 74 69 6F 6E 54 68 72 6F 77 73 01 ) // ceptionThrows. |
|
|
|
// --- The following custom attribute is added automatically, do not uncomment ------- |
|
// .custom instance void [mscorlib]System.Diagnostics.DebuggableAttribute::.ctor(valuetype [mscorlib]System.Diagnostics.DebuggableAttribute/DebuggingModes) = ( 01 00 07 01 00 00 00 00 ) |
|
|
|
.permissionset reqmin |
|
= {[mscorlib]System.Security.Permissions.SecurityPermissionAttribute = {property bool 'SkipVerification' = bool(true)}} |
|
.hash algorithm 0x00008004 |
|
.ver 0:0:0:0 |
|
} |
|
.module ShortCircuit.dll |
|
// MVID: {B3B8C47D-78FB-4162-BB12-12183DDBD57B} |
|
.custom instance void [mscorlib]System.Security.UnverifiableCodeAttribute::.ctor() = ( 01 00 00 00 ) |
|
.imagebase 0x10000000 |
|
.file alignment 0x00000200 |
|
.stackreserve 0x00100000 |
|
.subsystem 0x0003 // WINDOWS_CUI |
|
.corflags 0x00000001 // ILONLY |
|
// Image base: 0x02FC0000 |
|
|
|
|
|
// =============== CLASS MEMBERS DECLARATION =================== |
|
|
|
.class public abstract auto ansi beforefieldinit ICSharpCode.Decompiler.Tests.TestCases.Pretty.ShortCircuit |
|
extends [mscorlib]System.Object |
|
{ |
|
.method public hidebysig newslot abstract virtual |
|
instance void B(bool b) cil managed |
|
{ |
|
} // end of method ShortCircuit::B |
|
|
|
.method public hidebysig newslot abstract virtual |
|
instance bool F(int32 i) cil managed |
|
{ |
|
} // end of method ShortCircuit::F |
|
|
|
.method public hidebysig newslot abstract virtual |
|
instance void M1() cil managed |
|
{ |
|
} // end of method ShortCircuit::M1 |
|
|
|
.method public hidebysig newslot abstract virtual |
|
instance void M2() cil managed |
|
{ |
|
} // end of method ShortCircuit::M2 |
|
|
|
.method public hidebysig newslot abstract virtual |
|
instance void E() cil managed |
|
{ |
|
} // end of method ShortCircuit::E |
|
|
|
.method public hidebysig instance void |
|
ExprAnd() cil managed |
|
{ |
|
// Code size 28 (0x1c) |
|
.maxstack 8 |
|
IL_0000: nop |
|
IL_0001: ldarg.0 |
|
IL_0002: ldarg.0 |
|
IL_0003: ldc.i4.0 |
|
IL_0004: callvirt instance bool ICSharpCode.Decompiler.Tests.TestCases.Pretty.ShortCircuit::F(int32) |
|
IL_0009: brfalse.s IL_0014 |
|
|
|
IL_000b: ldarg.0 |
|
IL_000c: ldc.i4.1 |
|
IL_000d: callvirt instance bool ICSharpCode.Decompiler.Tests.TestCases.Pretty.ShortCircuit::F(int32) |
|
IL_0012: br.s IL_0015 |
|
|
|
IL_0014: ldc.i4.0 |
|
IL_0015: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.ShortCircuit::B(bool) |
|
IL_001a: nop |
|
IL_001b: ret |
|
} // end of method ShortCircuit::ExprAnd |
|
|
|
.method public hidebysig instance void |
|
ExprOr() cil managed |
|
{ |
|
// Code size 28 (0x1c) |
|
.maxstack 8 |
|
IL_0000: nop |
|
IL_0001: ldarg.0 |
|
IL_0002: ldarg.0 |
|
IL_0003: ldc.i4.0 |
|
IL_0004: callvirt instance bool ICSharpCode.Decompiler.Tests.TestCases.Pretty.ShortCircuit::F(int32) |
|
IL_0009: brtrue.s IL_0014 |
|
|
|
IL_000b: ldarg.0 |
|
IL_000c: ldc.i4.1 |
|
IL_000d: callvirt instance bool ICSharpCode.Decompiler.Tests.TestCases.Pretty.ShortCircuit::F(int32) |
|
IL_0012: br.s IL_0015 |
|
|
|
IL_0014: ldc.i4.1 |
|
IL_0015: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.ShortCircuit::B(bool) |
|
IL_001a: nop |
|
IL_001b: ret |
|
} // end of method ShortCircuit::ExprOr |
|
|
|
.method public hidebysig instance void |
|
ExprCond() cil managed |
|
{ |
|
// Code size 34 (0x22) |
|
.maxstack 8 |
|
IL_0000: nop |
|
IL_0001: ldarg.0 |
|
IL_0002: ldarg.0 |
|
IL_0003: ldc.i4.0 |
|
IL_0004: callvirt instance bool ICSharpCode.Decompiler.Tests.TestCases.Pretty.ShortCircuit::F(int32) |
|
IL_0009: brtrue.s IL_0014 |
|
|
|
IL_000b: ldarg.0 |
|
IL_000c: ldc.i4.2 |
|
IL_000d: callvirt instance bool ICSharpCode.Decompiler.Tests.TestCases.Pretty.ShortCircuit::F(int32) |
|
IL_0012: br.s IL_001b |
|
|
|
IL_0014: ldarg.0 |
|
IL_0015: ldc.i4.1 |
|
IL_0016: callvirt instance bool ICSharpCode.Decompiler.Tests.TestCases.Pretty.ShortCircuit::F(int32) |
|
IL_001b: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.ShortCircuit::B(bool) |
|
IL_0020: nop |
|
IL_0021: ret |
|
} // end of method ShortCircuit::ExprCond |
|
|
|
.method public hidebysig instance void |
|
StmtAnd2() cil managed |
|
{ |
|
// Code size 52 (0x34) |
|
.maxstack 2 |
|
.locals init (bool V_0) |
|
IL_0000: nop |
|
IL_0001: ldarg.0 |
|
IL_0002: ldc.i4.0 |
|
IL_0003: callvirt instance bool ICSharpCode.Decompiler.Tests.TestCases.Pretty.ShortCircuit::F(int32) |
|
IL_0008: brfalse.s IL_0013 |
|
|
|
IL_000a: ldarg.0 |
|
IL_000b: ldc.i4.1 |
|
IL_000c: callvirt instance bool ICSharpCode.Decompiler.Tests.TestCases.Pretty.ShortCircuit::F(int32) |
|
IL_0011: br.s IL_0014 |
|
|
|
IL_0013: ldc.i4.0 |
|
IL_0014: stloc.0 |
|
IL_0015: ldloc.0 |
|
IL_0016: brfalse.s IL_0023 |
|
|
|
IL_0018: nop |
|
IL_0019: ldarg.0 |
|
IL_001a: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.ShortCircuit::M1() |
|
IL_001f: nop |
|
IL_0020: nop |
|
IL_0021: br.s IL_002c |
|
|
|
IL_0023: nop |
|
IL_0024: ldarg.0 |
|
IL_0025: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.ShortCircuit::M2() |
|
IL_002a: nop |
|
IL_002b: nop |
|
IL_002c: ldarg.0 |
|
IL_002d: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.ShortCircuit::E() |
|
IL_0032: nop |
|
IL_0033: ret |
|
} // end of method ShortCircuit::StmtAnd2 |
|
|
|
.method public hidebysig instance void |
|
StmtOr2() cil managed |
|
{ |
|
// Code size 52 (0x34) |
|
.maxstack 2 |
|
.locals init (bool V_0) |
|
IL_0000: nop |
|
IL_0001: ldarg.0 |
|
IL_0002: ldc.i4.0 |
|
IL_0003: callvirt instance bool ICSharpCode.Decompiler.Tests.TestCases.Pretty.ShortCircuit::F(int32) |
|
IL_0008: brtrue.s IL_0013 |
|
|
|
IL_000a: ldarg.0 |
|
IL_000b: ldc.i4.1 |
|
IL_000c: callvirt instance bool ICSharpCode.Decompiler.Tests.TestCases.Pretty.ShortCircuit::F(int32) |
|
IL_0011: br.s IL_0014 |
|
|
|
IL_0013: ldc.i4.1 |
|
IL_0014: stloc.0 |
|
IL_0015: ldloc.0 |
|
IL_0016: brfalse.s IL_0023 |
|
|
|
IL_0018: nop |
|
IL_0019: ldarg.0 |
|
IL_001a: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.ShortCircuit::M1() |
|
IL_001f: nop |
|
IL_0020: nop |
|
IL_0021: br.s IL_002c |
|
|
|
IL_0023: nop |
|
IL_0024: ldarg.0 |
|
IL_0025: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.ShortCircuit::M2() |
|
IL_002a: nop |
|
IL_002b: nop |
|
IL_002c: ldarg.0 |
|
IL_002d: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.ShortCircuit::E() |
|
IL_0032: nop |
|
IL_0033: ret |
|
} // end of method ShortCircuit::StmtOr2 |
|
|
|
.method public hidebysig instance void |
|
StmtAnd3() cil managed |
|
{ |
|
// Code size 61 (0x3d) |
|
.maxstack 2 |
|
.locals init (bool V_0) |
|
IL_0000: nop |
|
IL_0001: ldarg.0 |
|
IL_0002: ldc.i4.0 |
|
IL_0003: callvirt instance bool ICSharpCode.Decompiler.Tests.TestCases.Pretty.ShortCircuit::F(int32) |
|
IL_0008: brfalse.s IL_001c |
|
|
|
IL_000a: ldarg.0 |
|
IL_000b: ldc.i4.1 |
|
IL_000c: callvirt instance bool ICSharpCode.Decompiler.Tests.TestCases.Pretty.ShortCircuit::F(int32) |
|
IL_0011: brfalse.s IL_001c |
|
|
|
IL_0013: ldarg.0 |
|
IL_0014: ldc.i4.2 |
|
IL_0015: callvirt instance bool ICSharpCode.Decompiler.Tests.TestCases.Pretty.ShortCircuit::F(int32) |
|
IL_001a: br.s IL_001d |
|
|
|
IL_001c: ldc.i4.0 |
|
IL_001d: stloc.0 |
|
IL_001e: ldloc.0 |
|
IL_001f: brfalse.s IL_002c |
|
|
|
IL_0021: nop |
|
IL_0022: ldarg.0 |
|
IL_0023: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.ShortCircuit::M1() |
|
IL_0028: nop |
|
IL_0029: nop |
|
IL_002a: br.s IL_0035 |
|
|
|
IL_002c: nop |
|
IL_002d: ldarg.0 |
|
IL_002e: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.ShortCircuit::M2() |
|
IL_0033: nop |
|
IL_0034: nop |
|
IL_0035: ldarg.0 |
|
IL_0036: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.ShortCircuit::E() |
|
IL_003b: nop |
|
IL_003c: ret |
|
} // end of method ShortCircuit::StmtAnd3 |
|
|
|
.method public hidebysig instance void |
|
StmtOr3() cil managed |
|
{ |
|
// Code size 61 (0x3d) |
|
.maxstack 2 |
|
.locals init (bool V_0) |
|
IL_0000: nop |
|
IL_0001: ldarg.0 |
|
IL_0002: ldc.i4.0 |
|
IL_0003: callvirt instance bool ICSharpCode.Decompiler.Tests.TestCases.Pretty.ShortCircuit::F(int32) |
|
IL_0008: brtrue.s IL_001c |
|
|
|
IL_000a: ldarg.0 |
|
IL_000b: ldc.i4.1 |
|
IL_000c: callvirt instance bool ICSharpCode.Decompiler.Tests.TestCases.Pretty.ShortCircuit::F(int32) |
|
IL_0011: brtrue.s IL_001c |
|
|
|
IL_0013: ldarg.0 |
|
IL_0014: ldc.i4.3 |
|
IL_0015: callvirt instance bool ICSharpCode.Decompiler.Tests.TestCases.Pretty.ShortCircuit::F(int32) |
|
IL_001a: br.s IL_001d |
|
|
|
IL_001c: ldc.i4.1 |
|
IL_001d: stloc.0 |
|
IL_001e: ldloc.0 |
|
IL_001f: brfalse.s IL_002c |
|
|
|
IL_0021: nop |
|
IL_0022: ldarg.0 |
|
IL_0023: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.ShortCircuit::M1() |
|
IL_0028: nop |
|
IL_0029: nop |
|
IL_002a: br.s IL_0035 |
|
|
|
IL_002c: nop |
|
IL_002d: ldarg.0 |
|
IL_002e: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.ShortCircuit::M2() |
|
IL_0033: nop |
|
IL_0034: nop |
|
IL_0035: ldarg.0 |
|
IL_0036: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.ShortCircuit::E() |
|
IL_003b: nop |
|
IL_003c: ret |
|
} // end of method ShortCircuit::StmtOr3 |
|
|
|
.method public hidebysig instance void |
|
StmtComplex() cil managed |
|
{ |
|
// Code size 82 (0x52) |
|
.maxstack 2 |
|
.locals init (bool V_0) |
|
IL_0000: nop |
|
IL_0001: ldarg.0 |
|
IL_0002: ldc.i4.0 |
|
IL_0003: callvirt instance bool ICSharpCode.Decompiler.Tests.TestCases.Pretty.ShortCircuit::F(int32) |
|
IL_0008: brfalse.s IL_0031 |
|
|
|
IL_000a: ldarg.0 |
|
IL_000b: ldc.i4.1 |
|
IL_000c: callvirt instance bool ICSharpCode.Decompiler.Tests.TestCases.Pretty.ShortCircuit::F(int32) |
|
IL_0011: brfalse.s IL_0031 |
|
|
|
IL_0013: ldarg.0 |
|
IL_0014: ldc.i4.2 |
|
IL_0015: callvirt instance bool ICSharpCode.Decompiler.Tests.TestCases.Pretty.ShortCircuit::F(int32) |
|
IL_001a: brtrue.s IL_0031 |
|
|
|
IL_001c: ldarg.0 |
|
IL_001d: ldc.i4.3 |
|
IL_001e: callvirt instance bool ICSharpCode.Decompiler.Tests.TestCases.Pretty.ShortCircuit::F(int32) |
|
IL_0023: brtrue.s IL_002e |
|
|
|
IL_0025: ldarg.0 |
|
IL_0026: ldc.i4.4 |
|
IL_0027: callvirt instance bool ICSharpCode.Decompiler.Tests.TestCases.Pretty.ShortCircuit::F(int32) |
|
IL_002c: br.s IL_002f |
|
|
|
IL_002e: ldc.i4.1 |
|
IL_002f: br.s IL_0032 |
|
|
|
IL_0031: ldc.i4.0 |
|
IL_0032: stloc.0 |
|
IL_0033: ldloc.0 |
|
IL_0034: brfalse.s IL_0041 |
|
|
|
IL_0036: nop |
|
IL_0037: ldarg.0 |
|
IL_0038: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.ShortCircuit::M1() |
|
IL_003d: nop |
|
IL_003e: nop |
|
IL_003f: br.s IL_004a |
|
|
|
IL_0041: nop |
|
IL_0042: ldarg.0 |
|
IL_0043: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.ShortCircuit::M2() |
|
IL_0048: nop |
|
IL_0049: nop |
|
IL_004a: ldarg.0 |
|
IL_004b: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.ShortCircuit::E() |
|
IL_0050: nop |
|
IL_0051: ret |
|
} // end of method ShortCircuit::StmtComplex |
|
|
|
.method family hidebysig specialname rtspecialname |
|
instance void .ctor() cil managed |
|
{ |
|
// Code size 8 (0x8) |
|
.maxstack 8 |
|
IL_0000: ldarg.0 |
|
IL_0001: call instance void [mscorlib]System.Object::.ctor() |
|
IL_0006: nop |
|
IL_0007: ret |
|
} // end of method ShortCircuit::.ctor |
|
|
|
} // end of class ICSharpCode.Decompiler.Tests.TestCases.Pretty.ShortCircuit |
|
|
|
|
|
// ============================================================= |
|
|
|
// *********** DISASSEMBLY COMPLETE ***********************
|
|
|