IL_0001: ldsfld class [mscorlib]System.Action`1<object> ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests::'CS$<>9__CachedAnonymousMethodDelegate43'
IL_000f: newobj instance void class [mscorlib]System.Action`1<object>::.ctor(object,
native int)
IL_0014: stsfld class [mscorlib]System.Action`1<object> ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests::'CS$<>9__CachedAnonymousMethodDelegate43'
IL_0019: br.s IL_001b
IL_001b: ldsfld class [mscorlib]System.Action`1<object> ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests::'CS$<>9__CachedAnonymousMethodDelegate43'
IL_0020: stloc.0
IL_0021: br.s IL_0023
IL_0023: ldloc.0
IL_0024: ret
} // end of method InstanceTests::Bug971_DelegateWithoutParameterList
.method public hidebysig instance class [mscorlib]System.Action
CaptureOfThis() cil managed
{
@ -709,6 +711,23 @@
@@ -709,6 +711,23 @@
IL_0026: ret
} // end of method InstanceTests::Bug951c
.method public hidebysig instance class [mscorlib]System.Action`1<object>
Bug971_DelegateWithoutParameterList() cil managed
{
// Code size 30 (0x1e)
.maxstack 8
IL_0000: ldsfld class [mscorlib]System.Action`1<object> ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests::'CS$<>9__CachedAnonymousMethodDelegate43'
IL_000e: newobj instance void class [mscorlib]System.Action`1<object>::.ctor(object,
native int)
IL_0013: stsfld class [mscorlib]System.Action`1<object> ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests::'CS$<>9__CachedAnonymousMethodDelegate43'
IL_0018: ldsfld class [mscorlib]System.Action`1<object> ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests::'CS$<>9__CachedAnonymousMethodDelegate43'
IL_001d: ret
} // end of method InstanceTests::Bug971_DelegateWithoutParameterList
} // end of method '<>c'::'<Bug971_DelegateWithoutParameterList>b__12_0'
} // end of class '<>c'
.class auto ansi sealed nested private beforefieldinit '<>c__DisplayClass9_0'
@ -726,6 +735,25 @@
@@ -726,6 +735,25 @@
IL_0026: ret
} // end of method InstanceTests::Bug951c
.method public hidebysig instance class [mscorlib]System.Action`1<object>
Bug971_DelegateWithoutParameterList() cil managed
{
// Code size 32 (0x20)
.maxstack 8
IL_0000: ldsfld class [mscorlib]System.Action`1<object> ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c'::'<>9__12_0'
IL_0005: dup
IL_0006: brtrue.s IL_001f
IL_0008: pop
IL_0009: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c' ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c'::'<>9'
IL_0014: newobj instance void class [mscorlib]System.Action`1<object>::.ctor(object,
native int)
IL_0019: dup
IL_001a: stsfld class [mscorlib]System.Action`1<object> ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c'::'<>9__12_0'
IL_001f: ret
} // end of method InstanceTests::Bug971_DelegateWithoutParameterList
IL_0001: ldsfld class [mscorlib]System.Action`1<object> ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c'::'<>9__12_0'
IL_0006: dup
IL_0007: brtrue.s IL_0020
IL_0009: pop
IL_000a: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c' ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c'::'<>9'
IL_0015: newobj instance void class [mscorlib]System.Action`1<object>::.ctor(object,
native int)
IL_001a: dup
IL_001b: stsfld class [mscorlib]System.Action`1<object> ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c'::'<>9__12_0'
IL_0020: stloc.0
IL_0021: br.s IL_0023
IL_0023: ldloc.0
IL_0024: ret
} // end of method InstanceTests::Bug971_DelegateWithoutParameterList