// 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 ConstantsTests { .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 ConstantsTests.dll .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 // =============== CLASS MEMBERS DECLARATION =================== .class private auto ansi beforefieldinit ICSharpCode.Decompiler.Tests.TestCases.Pretty.ConstantsTests extends [mscorlib]System.Object { .method public hidebysig instance uint64 Issue1308([opt] uint64 u) cil managed { .param [1] = uint64(0x8) // Code size 30 (0x1e) .maxstack 3 .locals init (uint64 V_0) IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 IL_0003: ldc.i4.m1 IL_0004: conv.u8 IL_0005: and IL_0006: ldc.i4.0 IL_0007: conv.i8 IL_0008: cgt.un IL_000a: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.ConstantsTests::Test(bool) IL_000f: nop IL_0010: ldc.i8 0xffffffff00000000 IL_0019: stloc.0 IL_001a: br.s IL_001c IL_001c: ldloc.0 IL_001d: ret } // end of method ConstantsTests::Issue1308 .method public hidebysig instance void Byte_BitmaskingInCondition(uint8 v) cil managed { // Code size 64 (0x40) .maxstack 3 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 IL_0003: ldc.i4.s 15 IL_0005: and IL_0006: ldc.i4.0 IL_0007: ceq IL_0009: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.ConstantsTests::Test(bool) IL_000e: nop IL_000f: ldarg.0 IL_0010: ldarg.1 IL_0011: ldc.i4 0x123 IL_0016: and IL_0017: ldc.i4.0 IL_0018: ceq IL_001a: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.ConstantsTests::Test(bool) IL_001f: nop IL_0020: ldarg.0 IL_0021: ldarg.1 IL_0022: ldc.i4.s 15 IL_0024: or IL_0025: ldc.i4.0 IL_0026: ceq IL_0028: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.ConstantsTests::Test(bool) IL_002d: nop IL_002e: ldarg.0 IL_002f: ldarg.1 IL_0030: ldc.i4 0x123 IL_0035: or IL_0036: ldc.i4.0 IL_0037: ceq IL_0039: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.ConstantsTests::Test(bool) IL_003e: nop IL_003f: ret } // end of method ConstantsTests::Byte_BitmaskingInCondition .method public hidebysig instance void SByte_BitmaskingInCondition(int8 v) cil managed { // Code size 64 (0x40) .maxstack 3 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 IL_0003: ldc.i4.s 15 IL_0005: and IL_0006: ldc.i4.0 IL_0007: ceq IL_0009: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.ConstantsTests::Test(bool) IL_000e: nop IL_000f: ldarg.0 IL_0010: ldarg.1 IL_0011: ldc.i4 0x123 IL_0016: and IL_0017: ldc.i4.0 IL_0018: ceq IL_001a: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.ConstantsTests::Test(bool) IL_001f: nop IL_0020: ldarg.0 IL_0021: ldarg.1 IL_0022: ldc.i4.s 15 IL_0024: or IL_0025: ldc.i4.0 IL_0026: ceq IL_0028: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.ConstantsTests::Test(bool) IL_002d: nop IL_002e: ldarg.0 IL_002f: ldarg.1 IL_0030: ldc.i4 0x123 IL_0035: or IL_0036: ldc.i4.0 IL_0037: ceq IL_0039: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.ConstantsTests::Test(bool) IL_003e: nop IL_003f: ret } // end of method ConstantsTests::SByte_BitmaskingInCondition .method private hidebysig instance void Test(bool expr) cil managed { // Code size 2 (0x2) .maxstack 8 IL_0000: nop IL_0001: ret } // end of method ConstantsTests::Test .method public 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 ConstantsTests::.ctor } // end of class ICSharpCode.Decompiler.Tests.TestCases.Pretty.ConstantsTests // ============================================================= // *********** DISASSEMBLY COMPLETE ***********************