|
|
|
@ -2497,6 +2497,60 @@
@@ -2497,6 +2497,60 @@
|
|
|
|
|
IL_009f: ret |
|
|
|
|
} // end of method TestCases::Issue1251_Test |
|
|
|
|
|
|
|
|
|
.method private hidebysig instance class ICSharpCode.Decompiler.Tests.TestCases.Pretty.InitializerTests.TestCases/Data |
|
|
|
|
Issue1279(int32 p) cil managed |
|
|
|
|
{ |
|
|
|
|
// Code size 53 (0x35) |
|
|
|
|
.maxstack 3 |
|
|
|
|
.locals init (bool V_0, |
|
|
|
|
class ICSharpCode.Decompiler.Tests.TestCases.Pretty.InitializerTests.TestCases/Data V_1, |
|
|
|
|
class ICSharpCode.Decompiler.Tests.TestCases.Pretty.InitializerTests.TestCases/Data V_2) |
|
|
|
|
IL_0000: nop |
|
|
|
|
IL_0001: ldarg.1 |
|
|
|
|
IL_0002: ldc.i4.1 |
|
|
|
|
IL_0003: ceq |
|
|
|
|
IL_0005: stloc.0 |
|
|
|
|
IL_0006: ldloc.0 |
|
|
|
|
IL_0007: brfalse.s IL_002f |
|
|
|
|
|
|
|
|
|
IL_0009: nop |
|
|
|
|
IL_000a: newobj instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.InitializerTests.TestCases/Data::.ctor() |
|
|
|
|
IL_000f: stloc.1 |
|
|
|
|
IL_0010: ldloc.1 |
|
|
|
|
IL_0011: ldc.i4.0 |
|
|
|
|
IL_0012: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.InitializerTests.TestCases/Data::set_a(valuetype ICSharpCode.Decompiler.Tests.TestCases.Pretty.InitializerTests.TestCases/MyEnum) |
|
|
|
|
IL_0017: nop |
|
|
|
|
IL_0018: ldloc.1 |
|
|
|
|
IL_0019: ldarg.0 |
|
|
|
|
IL_001a: ldftn instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.InitializerTests.TestCases::Data_TestEvent(object, |
|
|
|
|
class [mscorlib]System.EventArgs) |
|
|
|
|
IL_0020: newobj instance void [mscorlib]System.EventHandler::.ctor(object, |
|
|
|
|
native int) |
|
|
|
|
IL_0025: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.InitializerTests.TestCases/Data::add_TestEvent(class [mscorlib]System.EventHandler) |
|
|
|
|
IL_002a: nop |
|
|
|
|
IL_002b: ldloc.1 |
|
|
|
|
IL_002c: stloc.2 |
|
|
|
|
IL_002d: br.s IL_0033 |
|
|
|
|
|
|
|
|
|
IL_002f: ldnull |
|
|
|
|
IL_0030: stloc.2 |
|
|
|
|
IL_0031: br.s IL_0033 |
|
|
|
|
|
|
|
|
|
IL_0033: ldloc.2 |
|
|
|
|
IL_0034: ret |
|
|
|
|
} // end of method TestCases::Issue1279 |
|
|
|
|
|
|
|
|
|
.method private hidebysig instance void |
|
|
|
|
Data_TestEvent(object sender, |
|
|
|
|
class [mscorlib]System.EventArgs e) cil managed |
|
|
|
|
{ |
|
|
|
|
// Code size 7 (0x7) |
|
|
|
|
.maxstack 8 |
|
|
|
|
IL_0000: nop |
|
|
|
|
IL_0001: newobj instance void [mscorlib]System.NotImplementedException::.ctor() |
|
|
|
|
IL_0006: throw |
|
|
|
|
} // end of method TestCases::Data_TestEvent |
|
|
|
|
|
|
|
|
|
.method public hidebysig specialname rtspecialname |
|
|
|
|
instance void .ctor() cil managed |
|
|
|
|
{ |
|
|
|
@ -2521,13 +2575,13 @@
@@ -2521,13 +2575,13 @@
|
|
|
|
|
.size 40 |
|
|
|
|
} // end of class '__StaticArrayInitTypeSize=40' |
|
|
|
|
|
|
|
|
|
.field static assembly initonly valuetype '<PrivateImplementationDetails>'/'__StaticArrayInitTypeSize=40' E0D2592373A0C161E56E266306CD8405CD719D19 at I_000053BC |
|
|
|
|
.field static assembly initonly valuetype '<PrivateImplementationDetails>'/'__StaticArrayInitTypeSize=40' E0D2592373A0C161E56E266306CD8405CD719D19 at I_0000545C |
|
|
|
|
} // end of class '<PrivateImplementationDetails>' |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// ============================================================= |
|
|
|
|
|
|
|
|
|
.data cil I_000053BC = bytearray ( |
|
|
|
|
.data cil I_0000545C = bytearray ( |
|
|
|
|
01 00 00 00 02 00 00 00 03 00 00 00 04 00 00 00 |
|
|
|
|
05 00 00 00 06 00 00 00 07 00 00 00 08 00 00 00 |
|
|
|
|
09 00 00 00 0A 00 00 00) |
|
|
|
|