From 71f85d8e1de49f5dab298dd0b22fbef5ea97bbbe Mon Sep 17 00:00:00 2001 From: Daniel Grunwald Date: Fri, 13 Oct 2017 13:04:11 +0200 Subject: [PATCH] Move DelegateConstruction test into namespace. --- .../TestCases/Pretty/DelegateConstruction.cs | 277 ++++++++--------- .../TestCases/Pretty/DelegateConstruction.il | 268 ++++++++--------- .../Pretty/DelegateConstruction.opt.il | 268 ++++++++--------- .../Pretty/DelegateConstruction.opt.roslyn.il | 266 ++++++++--------- .../Pretty/DelegateConstruction.roslyn.il | 278 +++++++++--------- 5 files changed, 680 insertions(+), 677 deletions(-) diff --git a/ICSharpCode.Decompiler.Tests/TestCases/Pretty/DelegateConstruction.cs b/ICSharpCode.Decompiler.Tests/TestCases/Pretty/DelegateConstruction.cs index f253f21b6..cd9681ddc 100644 --- a/ICSharpCode.Decompiler.Tests/TestCases/Pretty/DelegateConstruction.cs +++ b/ICSharpCode.Decompiler.Tests/TestCases/Pretty/DelegateConstruction.cs @@ -20,177 +20,180 @@ using System; using System.Collections.Generic; using System.Linq; -public static class DelegateConstruction +namespace ICSharpCode.Decompiler.Tests.TestCases.Pretty { - private class InstanceTests + public static class DelegateConstruction { - public Action CaptureOfThis() + private class InstanceTests { - return delegate { - this.CaptureOfThis(); - }; - } - - public Action CaptureOfThisAndParameter(int a) - { - return delegate { - this.CaptureOfThisAndParameter(a); - }; - } - - public Action CaptureOfThisAndParameterInForEach(int a) - { - foreach (int item in Enumerable.Empty()) { - if (item > 0) { - return delegate { - this.CaptureOfThisAndParameter(item + a); - }; + public Action CaptureOfThis() + { + return delegate { + this.CaptureOfThis(); + }; + } + + public Action CaptureOfThisAndParameter(int a) + { + return delegate { + this.CaptureOfThisAndParameter(a); + }; + } + + public Action CaptureOfThisAndParameterInForEach(int a) + { + foreach (int item in Enumerable.Empty()) { + if (item > 0) { + return delegate { + this.CaptureOfThisAndParameter(item + a); + }; + } } + return null; } - return null; - } - - public Action CaptureOfThisAndParameterInForEachWithItemCopy(int a) - { - foreach (int item in Enumerable.Empty()) { - int copyOfItem = item; - if (item > 0) { - return delegate { - this.CaptureOfThisAndParameter(item + a + copyOfItem); - }; + + public Action CaptureOfThisAndParameterInForEachWithItemCopy(int a) + { + foreach (int item in Enumerable.Empty()) { + int copyOfItem = item; + if (item > 0) { + return delegate { + this.CaptureOfThisAndParameter(item + a + copyOfItem); + }; + } } + return null; } - return null; - } - - public void LambdaInForLoop() - { - for (int i = 0; i < 100000; i++) { - this.Bar(() => this.Foo()); + + public void LambdaInForLoop() + { + for (int i = 0; i < 100000; i++) { + this.Bar(() => this.Foo()); + } + } + + public int Foo() + { + return 0; + } + + public void Bar(Func f) + { } } - - public int Foo() + + public static void Test(this string a) { - return 0; } - - public void Bar(Func f) + + public static Action ExtensionMethodUnbound() { + return new Action(DelegateConstruction.Test); } - } - - public static void Test(this string a) - { - } - public static Action ExtensionMethodUnbound() - { - return new Action(DelegateConstruction.Test); - } + public static Action ExtensionMethodBound() + { + return new Action("abc".Test); + } - public static Action ExtensionMethodBound() - { - return new Action("abc".Test); - } + public static Action ExtensionMethodBoundOnNull() + { + return new Action(((string)null).Test); + } - public static Action ExtensionMethodBoundOnNull() - { - return new Action(((string)null).Test); - } + public static object StaticMethod() + { + return new Func(DelegateConstruction.ExtensionMethodBound); + } - public static object StaticMethod() - { - return new Func(DelegateConstruction.ExtensionMethodBound); - } + public static object InstanceMethod() + { + return new Func("hello".ToUpper); + } - public static object InstanceMethod() - { - return new Func("hello".ToUpper); - } + public static object InstanceMethodOnNull() + { + return new Func(((string)null).ToUpper); + } - public static object InstanceMethodOnNull() - { - return new Func(((string)null).ToUpper); - } + public static List> AnonymousMethodStoreWithinLoop() + { + List> list = new List>(); + for (int i = 0; i < 10; i++) { + int counter; + list.Add(delegate(int x) { + counter = x; + }); + } + return list; + } - public static List> AnonymousMethodStoreWithinLoop() - { - List> list = new List>(); - for (int i = 0; i < 10; i++) { + public static List> AnonymousMethodStoreOutsideLoop() + { + List> list = new List>(); int counter; - list.Add(delegate(int x) { - counter = x; - }); + for (int i = 0; i < 10; i++) { + list.Add(delegate(int x) { + counter = x; + }); + } + return list; } - return list; - } - - public static List> AnonymousMethodStoreOutsideLoop() - { - List> list = new List>(); - int counter; - for (int i = 0; i < 10; i++) { - list.Add(delegate(int x) { - counter = x; - }); - } - return list; - } - public static Action StaticAnonymousMethodNoClosure() - { - return delegate { - Console.WriteLine(); - }; - } + public static Action StaticAnonymousMethodNoClosure() + { + return delegate { + Console.WriteLine(); + }; + } - public static void NameConflict() - { - // i is captured variable, - // j is parameter in anonymous method - // l is local in anonymous method, - // k is local in main method - // Ensure that the decompiler doesn't introduce name conflicts - List> list = new List>(); - for (int k = 0; k < 10; k++) { - int i; - for (i = 0; i < 10; i++) { - list.Add(delegate(int j) { + public static void NameConflict() + { + // i is captured variable, + // j is parameter in anonymous method + // l is local in anonymous method, + // k is local in main method + // Ensure that the decompiler doesn't introduce name conflicts + List> list = new List>(); + for (int k = 0; k < 10; k++) { + int i; + for (i = 0; i < 10; i++) { + list.Add(delegate(int j) { for (int l = 0; l < i; l += j) { Console.WriteLine(); } }); + } } } - } - public static void NameConflict2(int j) - { - List> list = new List>(); - for (int k = 0; k < 10; k++) { - list.Add(delegate(int i) { + public static void NameConflict2(int j) + { + List> list = new List>(); + for (int k = 0; k < 10; k++) { + list.Add(delegate(int i) { Console.WriteLine(i); }); + } } - } - public static Action NameConflict3(int i) - { - return delegate(int j) { - for (int k = 0; k < j; k++) { - Console.WriteLine(k); - } - }; - } - - public static Func> CurriedAddition(int a) - { - return (int b) => (int c) => a + b + c; - } - - public static Func>> CurriedAddition2(int a) - { - return (int b) => (int c) => (int d) => a + b + c + d; + public static Action NameConflict3(int i) + { + return delegate(int j) { + for (int k = 0; k < j; k++) { + Console.WriteLine(k); + } + }; + } + + public static Func> CurriedAddition(int a) + { + return (int b) => (int c) => a + b + c; + } + + public static Func>> CurriedAddition2(int a) + { + return (int b) => (int c) => (int d) => a + b + c + d; + } } } diff --git a/ICSharpCode.Decompiler.Tests/TestCases/Pretty/DelegateConstruction.il b/ICSharpCode.Decompiler.Tests/TestCases/Pretty/DelegateConstruction.il index b783a086b..b3a565c14 100644 --- a/ICSharpCode.Decompiler.Tests/TestCases/Pretty/DelegateConstruction.il +++ b/ICSharpCode.Decompiler.Tests/TestCases/Pretty/DelegateConstruction.il @@ -1,5 +1,5 @@ -// Microsoft (R) .NET Framework IL Disassembler. Version 4.0.30319.17929 +// Microsoft (R) .NET Framework IL Disassembler. Version 4.6.1055.0 // Copyright (c) Microsoft Corporation. All rights reserved. @@ -15,7 +15,7 @@ .publickeytoken = (B7 7A 5C 56 19 34 E0 89 ) // .z\V.4.. .ver 4:0:0:0 } -.assembly bmq55mnq +.assembly kdaefnvq { .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.ExtensionAttribute::.ctor() = ( 01 00 00 00 ) @@ -26,20 +26,20 @@ .hash algorithm 0x00008004 .ver 0:0:0:0 } -.module bmq55mnq.dll -// MVID: {F2F10218-F242-427C-ADE5-E367B0EA41E3} +.module kdaefnvq.dll +// MVID: {568C8EB4-6E17-4688-8B36-6BFD1BF31DEB} .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: 0x02B40000 +// Image base: 0x00C30000 // =============== CLASS MEMBERS DECLARATION =================== -.class public abstract auto ansi sealed beforefieldinit DelegateConstruction +.class public abstract auto ansi sealed beforefieldinit ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction extends [mscorlib]System.Object { .custom instance void [mscorlib]System.Runtime.CompilerServices.ExtensionAttribute::.ctor() = ( 01 00 00 00 ) @@ -50,7 +50,7 @@ extends [mscorlib]System.Object { .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) - .field public class DelegateConstruction/InstanceTests '<>4__this' + .field public class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests '<>4__this' .field public int32 a .method public hidebysig specialname rtspecialname instance void .ctor() cil managed @@ -69,10 +69,10 @@ .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class DelegateConstruction/InstanceTests DelegateConstruction/InstanceTests/'<>c__DisplayClass22'::'<>4__this' + IL_0002: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass22'::'<>4__this' IL_0007: ldarg.0 - IL_0008: ldfld int32 DelegateConstruction/InstanceTests/'<>c__DisplayClass22'::a - IL_000d: call instance class [mscorlib]System.Action DelegateConstruction/InstanceTests::CaptureOfThisAndParameter(int32) + IL_0008: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass22'::a + IL_000d: call instance class [mscorlib]System.Action ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests::CaptureOfThisAndParameter(int32) IL_0012: pop IL_0013: ret } // end of method '<>c__DisplayClass22'::'b__21' @@ -83,7 +83,7 @@ extends [mscorlib]System.Object { .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) - .field public class DelegateConstruction/InstanceTests '<>4__this' + .field public class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests '<>4__this' .field public int32 a .method public hidebysig specialname rtspecialname instance void .ctor() cil managed @@ -101,7 +101,7 @@ extends [mscorlib]System.Object { .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) - .field public class DelegateConstruction/InstanceTests/'<>c__DisplayClass25' 'CS$<>8__locals26' + .field public class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass25' 'CS$<>8__locals26' .field public int32 item .method public hidebysig specialname rtspecialname instance void .ctor() cil managed @@ -120,15 +120,15 @@ .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class DelegateConstruction/InstanceTests/'<>c__DisplayClass25' DelegateConstruction/InstanceTests/'<>c__DisplayClass28'::'CS$<>8__locals26' - IL_0007: ldfld class DelegateConstruction/InstanceTests DelegateConstruction/InstanceTests/'<>c__DisplayClass25'::'<>4__this' + IL_0002: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass25' ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass28'::'CS$<>8__locals26' + IL_0007: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass25'::'<>4__this' IL_000c: ldarg.0 - IL_000d: ldfld int32 DelegateConstruction/InstanceTests/'<>c__DisplayClass28'::item + IL_000d: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass28'::item IL_0012: ldarg.0 - IL_0013: ldfld class DelegateConstruction/InstanceTests/'<>c__DisplayClass25' DelegateConstruction/InstanceTests/'<>c__DisplayClass28'::'CS$<>8__locals26' - IL_0018: ldfld int32 DelegateConstruction/InstanceTests/'<>c__DisplayClass25'::a + IL_0013: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass25' ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass28'::'CS$<>8__locals26' + IL_0018: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass25'::a IL_001d: add - IL_001e: call instance class [mscorlib]System.Action DelegateConstruction/InstanceTests::CaptureOfThisAndParameter(int32) + IL_001e: call instance class [mscorlib]System.Action ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests::CaptureOfThisAndParameter(int32) IL_0023: pop IL_0024: ret } // end of method '<>c__DisplayClass28'::'b__24' @@ -139,7 +139,7 @@ extends [mscorlib]System.Object { .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) - .field public class DelegateConstruction/InstanceTests '<>4__this' + .field public class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests '<>4__this' .field public int32 a .method public hidebysig specialname rtspecialname instance void .ctor() cil managed @@ -174,8 +174,8 @@ extends [mscorlib]System.Object { .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) - .field public class DelegateConstruction/InstanceTests/'<>c__DisplayClass2d' 'CS$<>8__locals2e' - .field public class DelegateConstruction/InstanceTests/'<>c__DisplayClass2b' 'CS$<>8__locals2c' + .field public class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass2d' 'CS$<>8__locals2e' + .field public class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass2b' 'CS$<>8__locals2c' .field public int32 copyOfItem .method public hidebysig specialname rtspecialname instance void .ctor() cil managed @@ -194,19 +194,19 @@ .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class DelegateConstruction/InstanceTests/'<>c__DisplayClass2b' DelegateConstruction/InstanceTests/'<>c__DisplayClass30'::'CS$<>8__locals2c' - IL_0007: ldfld class DelegateConstruction/InstanceTests DelegateConstruction/InstanceTests/'<>c__DisplayClass2b'::'<>4__this' + IL_0002: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass2b' ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass30'::'CS$<>8__locals2c' + IL_0007: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass2b'::'<>4__this' IL_000c: ldarg.0 - IL_000d: ldfld class DelegateConstruction/InstanceTests/'<>c__DisplayClass2d' DelegateConstruction/InstanceTests/'<>c__DisplayClass30'::'CS$<>8__locals2e' - IL_0012: ldfld int32 DelegateConstruction/InstanceTests/'<>c__DisplayClass2d'::item + IL_000d: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass2d' ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass30'::'CS$<>8__locals2e' + IL_0012: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass2d'::item IL_0017: ldarg.0 - IL_0018: ldfld class DelegateConstruction/InstanceTests/'<>c__DisplayClass2b' DelegateConstruction/InstanceTests/'<>c__DisplayClass30'::'CS$<>8__locals2c' - IL_001d: ldfld int32 DelegateConstruction/InstanceTests/'<>c__DisplayClass2b'::a + IL_0018: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass2b' ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass30'::'CS$<>8__locals2c' + IL_001d: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass2b'::a IL_0022: add IL_0023: ldarg.0 - IL_0024: ldfld int32 DelegateConstruction/InstanceTests/'<>c__DisplayClass30'::copyOfItem + IL_0024: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass30'::copyOfItem IL_0029: add - IL_002a: call instance class [mscorlib]System.Action DelegateConstruction/InstanceTests::CaptureOfThisAndParameter(int32) + IL_002a: call instance class [mscorlib]System.Action ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests::CaptureOfThisAndParameter(int32) IL_002f: pop IL_0030: ret } // end of method '<>c__DisplayClass30'::'b__2a' @@ -221,7 +221,7 @@ .locals init (class [mscorlib]System.Action V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldftn instance void DelegateConstruction/InstanceTests::'b__20'() + IL_0002: ldftn instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests::'b__20'() IL_0008: newobj instance void [mscorlib]System.Action::.ctor(object, native int) IL_000d: stloc.0 @@ -236,19 +236,19 @@ { // Code size 38 (0x26) .maxstack 2 - .locals init (class DelegateConstruction/InstanceTests/'<>c__DisplayClass22' V_0, + .locals init (class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass22' V_0, class [mscorlib]System.Action V_1) - IL_0000: newobj instance void DelegateConstruction/InstanceTests/'<>c__DisplayClass22'::.ctor() + IL_0000: newobj instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass22'::.ctor() IL_0005: stloc.0 IL_0006: ldloc.0 IL_0007: ldarg.1 - IL_0008: stfld int32 DelegateConstruction/InstanceTests/'<>c__DisplayClass22'::a + IL_0008: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass22'::a IL_000d: ldloc.0 IL_000e: ldarg.0 - IL_000f: stfld class DelegateConstruction/InstanceTests DelegateConstruction/InstanceTests/'<>c__DisplayClass22'::'<>4__this' + IL_000f: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass22'::'<>4__this' IL_0014: nop IL_0015: ldloc.0 - IL_0016: ldftn instance void DelegateConstruction/InstanceTests/'<>c__DisplayClass22'::'b__21'() + IL_0016: ldftn instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass22'::'b__21'() IL_001c: newobj instance void [mscorlib]System.Action::.ctor(object, native int) IL_0021: stloc.1 @@ -264,19 +264,19 @@ // Code size 150 (0x96) .maxstack 2 .locals init (class [mscorlib]System.Action V_0, - class DelegateConstruction/InstanceTests/'<>c__DisplayClass28' V_1, - class DelegateConstruction/InstanceTests/'<>c__DisplayClass25' V_2, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass28' V_1, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass25' V_2, class [mscorlib]System.Action V_3, class [mscorlib]System.Collections.Generic.IEnumerator`1 V_4, bool V_5) - IL_0000: newobj instance void DelegateConstruction/InstanceTests/'<>c__DisplayClass25'::.ctor() + IL_0000: newobj instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass25'::.ctor() IL_0005: stloc.2 IL_0006: ldloc.2 IL_0007: ldarg.1 - IL_0008: stfld int32 DelegateConstruction/InstanceTests/'<>c__DisplayClass25'::a + IL_0008: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass25'::a IL_000d: ldloc.2 IL_000e: ldarg.0 - IL_000f: stfld class DelegateConstruction/InstanceTests DelegateConstruction/InstanceTests/'<>c__DisplayClass25'::'<>4__this' + IL_000f: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass25'::'<>4__this' IL_0014: nop IL_0015: nop IL_0016: call class [mscorlib]System.Collections.Generic.IEnumerable`1 [System.Core]System.Linq.Enumerable::Empty() @@ -288,18 +288,18 @@ IL_0024: ldnull IL_0025: stloc.0 - IL_0026: newobj instance void DelegateConstruction/InstanceTests/'<>c__DisplayClass28'::.ctor() + IL_0026: newobj instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass28'::.ctor() IL_002b: stloc.1 IL_002c: ldloc.1 IL_002d: ldloc.2 - IL_002e: stfld class DelegateConstruction/InstanceTests/'<>c__DisplayClass25' DelegateConstruction/InstanceTests/'<>c__DisplayClass28'::'CS$<>8__locals26' + IL_002e: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass25' ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass28'::'CS$<>8__locals26' IL_0033: ldloc.1 IL_0034: ldloc.s V_4 IL_0036: callvirt instance !0 class [mscorlib]System.Collections.Generic.IEnumerator`1::get_Current() - IL_003b: stfld int32 DelegateConstruction/InstanceTests/'<>c__DisplayClass28'::item + IL_003b: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass28'::item IL_0040: nop IL_0041: ldloc.1 - IL_0042: ldfld int32 DelegateConstruction/InstanceTests/'<>c__DisplayClass28'::item + IL_0042: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass28'::item IL_0047: ldc.i4.0 IL_0048: cgt IL_004a: ldc.i4.0 @@ -313,7 +313,7 @@ IL_0055: brtrue.s IL_0066 IL_0057: ldloc.1 - IL_0058: ldftn instance void DelegateConstruction/InstanceTests/'<>c__DisplayClass28'::'b__24'() + IL_0058: ldftn instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass28'::'b__24'() IL_005e: newobj instance void [mscorlib]System.Action::.ctor(object, native int) IL_0063: stloc.0 @@ -363,20 +363,20 @@ // Code size 178 (0xb2) .maxstack 2 .locals init (class [mscorlib]System.Action V_0, - class DelegateConstruction/InstanceTests/'<>c__DisplayClass30' V_1, - class DelegateConstruction/InstanceTests/'<>c__DisplayClass2d' V_2, - class DelegateConstruction/InstanceTests/'<>c__DisplayClass2b' V_3, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass30' V_1, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass2d' V_2, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass2b' V_3, class [mscorlib]System.Action V_4, class [mscorlib]System.Collections.Generic.IEnumerator`1 V_5, bool V_6) - IL_0000: newobj instance void DelegateConstruction/InstanceTests/'<>c__DisplayClass2b'::.ctor() + IL_0000: newobj instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass2b'::.ctor() IL_0005: stloc.3 IL_0006: ldloc.3 IL_0007: ldarg.1 - IL_0008: stfld int32 DelegateConstruction/InstanceTests/'<>c__DisplayClass2b'::a + IL_0008: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass2b'::a IL_000d: ldloc.3 IL_000e: ldarg.0 - IL_000f: stfld class DelegateConstruction/InstanceTests DelegateConstruction/InstanceTests/'<>c__DisplayClass2b'::'<>4__this' + IL_000f: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass2b'::'<>4__this' IL_0014: nop IL_0015: nop IL_0016: call class [mscorlib]System.Collections.Generic.IEnumerable`1 [System.Core]System.Linq.Enumerable::Empty() @@ -386,29 +386,29 @@ { IL_0022: br.s IL_0085 - IL_0024: newobj instance void DelegateConstruction/InstanceTests/'<>c__DisplayClass2d'::.ctor() + IL_0024: newobj instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass2d'::.ctor() IL_0029: stloc.2 IL_002a: ldloc.2 IL_002b: ldloc.s V_5 IL_002d: callvirt instance !0 class [mscorlib]System.Collections.Generic.IEnumerator`1::get_Current() - IL_0032: stfld int32 DelegateConstruction/InstanceTests/'<>c__DisplayClass2d'::item + IL_0032: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass2d'::item IL_0037: ldnull IL_0038: stloc.0 - IL_0039: newobj instance void DelegateConstruction/InstanceTests/'<>c__DisplayClass30'::.ctor() + IL_0039: newobj instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass30'::.ctor() IL_003e: stloc.1 IL_003f: ldloc.1 IL_0040: ldloc.2 - IL_0041: stfld class DelegateConstruction/InstanceTests/'<>c__DisplayClass2d' DelegateConstruction/InstanceTests/'<>c__DisplayClass30'::'CS$<>8__locals2e' + IL_0041: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass2d' ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass30'::'CS$<>8__locals2e' IL_0046: ldloc.1 IL_0047: ldloc.3 - IL_0048: stfld class DelegateConstruction/InstanceTests/'<>c__DisplayClass2b' DelegateConstruction/InstanceTests/'<>c__DisplayClass30'::'CS$<>8__locals2c' + IL_0048: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass2b' ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass30'::'CS$<>8__locals2c' IL_004d: nop IL_004e: ldloc.1 IL_004f: ldloc.2 - IL_0050: ldfld int32 DelegateConstruction/InstanceTests/'<>c__DisplayClass2d'::item - IL_0055: stfld int32 DelegateConstruction/InstanceTests/'<>c__DisplayClass30'::copyOfItem + IL_0050: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass2d'::item + IL_0055: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass30'::copyOfItem IL_005a: ldloc.2 - IL_005b: ldfld int32 DelegateConstruction/InstanceTests/'<>c__DisplayClass2d'::item + IL_005b: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass2d'::item IL_0060: ldc.i4.0 IL_0061: cgt IL_0063: ldc.i4.0 @@ -422,7 +422,7 @@ IL_006e: brtrue.s IL_007f IL_0070: ldloc.1 - IL_0071: ldftn instance void DelegateConstruction/InstanceTests/'<>c__DisplayClass30'::'b__2a'() + IL_0071: ldftn instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass30'::'b__2a'() IL_0077: newobj instance void [mscorlib]System.Action::.ctor(object, native int) IL_007c: stloc.0 @@ -487,14 +487,14 @@ IL_000a: brtrue.s IL_001b IL_000c: ldarg.0 - IL_000d: ldftn instance int32 DelegateConstruction/InstanceTests::'b__32'() + IL_000d: ldftn instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests::'b__32'() IL_0013: newobj instance void class [mscorlib]System.Func`1::.ctor(object, native int) IL_0018: stloc.1 IL_0019: br.s IL_001b IL_001b: ldloc.1 - IL_001c: call instance void DelegateConstruction/InstanceTests::Bar(class [mscorlib]System.Func`1) + IL_001c: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests::Bar(class [mscorlib]System.Func`1) IL_0021: nop IL_0022: nop IL_0023: ldloc.0 @@ -554,7 +554,7 @@ .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Action DelegateConstruction/InstanceTests::CaptureOfThis() + IL_0002: call instance class [mscorlib]System.Action ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests::CaptureOfThis() IL_0007: pop IL_0008: ret } // end of method InstanceTests::'b__20' @@ -567,7 +567,7 @@ .maxstack 1 .locals init (int32 V_0) IL_0000: ldarg.0 - IL_0001: call instance int32 DelegateConstruction/InstanceTests::Foo() + IL_0001: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests::Foo() IL_0006: stloc.0 IL_0007: br.s IL_0009 @@ -600,7 +600,7 @@ IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld int32 DelegateConstruction/'<>c__DisplayClass1'::counter + IL_0003: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass1'::counter IL_0008: ret } // end of method '<>c__DisplayClass1'::'b__0' @@ -629,7 +629,7 @@ IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld int32 DelegateConstruction/'<>c__DisplayClass5'::counter + IL_0003: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass5'::counter IL_0008: ret } // end of method '<>c__DisplayClass5'::'b__3' @@ -672,7 +672,7 @@ IL_0010: stloc.0 IL_0011: ldloc.0 IL_0012: ldarg.0 - IL_0013: ldfld int32 DelegateConstruction/'<>c__DisplayClassb'::i + IL_0013: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClassb'::i IL_0018: clt IL_001a: stloc.1 IL_001b: ldloc.1 @@ -690,7 +690,7 @@ .class auto ansi sealed nested private beforefieldinit '<>c__DisplayClass15' extends [mscorlib]System.Object { - .field public class DelegateConstruction/'<>c__DisplayClass13' 'CS$<>8__locals14' + .field public class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass13' 'CS$<>8__locals14' .field public int32 b .method public hidebysig specialname rtspecialname instance void .ctor() cil managed @@ -709,10 +709,10 @@ .maxstack 2 .locals init (int32 V_0) IL_0000: ldarg.0 - IL_0001: ldfld class DelegateConstruction/'<>c__DisplayClass13' DelegateConstruction/'<>c__DisplayClass13'/'<>c__DisplayClass15'::'CS$<>8__locals14' - IL_0006: ldfld int32 DelegateConstruction/'<>c__DisplayClass13'::a + IL_0001: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass13' ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass13'/'<>c__DisplayClass15'::'CS$<>8__locals14' + IL_0006: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass13'::a IL_000b: ldarg.0 - IL_000c: ldfld int32 DelegateConstruction/'<>c__DisplayClass13'/'<>c__DisplayClass15'::b + IL_000c: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass13'/'<>c__DisplayClass15'::b IL_0011: add IL_0012: ldarg.1 IL_0013: add @@ -741,18 +741,18 @@ { // Code size 37 (0x25) .maxstack 2 - .locals init (class DelegateConstruction/'<>c__DisplayClass13'/'<>c__DisplayClass15' V_0, + .locals init (class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass13'/'<>c__DisplayClass15' V_0, class [mscorlib]System.Func`2 V_1) - IL_0000: newobj instance void DelegateConstruction/'<>c__DisplayClass13'/'<>c__DisplayClass15'::.ctor() + IL_0000: newobj instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass13'/'<>c__DisplayClass15'::.ctor() IL_0005: stloc.0 IL_0006: ldloc.0 IL_0007: ldarg.0 - IL_0008: stfld class DelegateConstruction/'<>c__DisplayClass13' DelegateConstruction/'<>c__DisplayClass13'/'<>c__DisplayClass15'::'CS$<>8__locals14' + IL_0008: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass13' ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass13'/'<>c__DisplayClass15'::'CS$<>8__locals14' IL_000d: ldloc.0 IL_000e: ldarg.1 - IL_000f: stfld int32 DelegateConstruction/'<>c__DisplayClass13'/'<>c__DisplayClass15'::b + IL_000f: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass13'/'<>c__DisplayClass15'::b IL_0014: ldloc.0 - IL_0015: ldftn instance int32 DelegateConstruction/'<>c__DisplayClass13'/'<>c__DisplayClass15'::'b__12'(int32) + IL_0015: ldftn instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass13'/'<>c__DisplayClass15'::'b__12'(int32) IL_001b: newobj instance void class [mscorlib]System.Func`2::.ctor(object, native int) IL_0020: stloc.1 @@ -774,8 +774,8 @@ .class auto ansi sealed nested private beforefieldinit '<>c__DisplayClass1e' extends [mscorlib]System.Object { - .field public class DelegateConstruction/'<>c__DisplayClass1a'/'<>c__DisplayClass1c' 'CS$<>8__locals1d' - .field public class DelegateConstruction/'<>c__DisplayClass1a' 'CS$<>8__locals1b' + .field public class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass1a'/'<>c__DisplayClass1c' 'CS$<>8__locals1d' + .field public class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass1a' 'CS$<>8__locals1b' .field public int32 c .method public hidebysig specialname rtspecialname instance void .ctor() cil managed @@ -794,14 +794,14 @@ .maxstack 2 .locals init (int32 V_0) IL_0000: ldarg.0 - IL_0001: ldfld class DelegateConstruction/'<>c__DisplayClass1a' DelegateConstruction/'<>c__DisplayClass1a'/'<>c__DisplayClass1c'/'<>c__DisplayClass1e'::'CS$<>8__locals1b' - IL_0006: ldfld int32 DelegateConstruction/'<>c__DisplayClass1a'::a + IL_0001: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass1a' ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass1a'/'<>c__DisplayClass1c'/'<>c__DisplayClass1e'::'CS$<>8__locals1b' + IL_0006: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass1a'::a IL_000b: ldarg.0 - IL_000c: ldfld class DelegateConstruction/'<>c__DisplayClass1a'/'<>c__DisplayClass1c' DelegateConstruction/'<>c__DisplayClass1a'/'<>c__DisplayClass1c'/'<>c__DisplayClass1e'::'CS$<>8__locals1d' - IL_0011: ldfld int32 DelegateConstruction/'<>c__DisplayClass1a'/'<>c__DisplayClass1c'::b + IL_000c: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass1a'/'<>c__DisplayClass1c' ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass1a'/'<>c__DisplayClass1c'/'<>c__DisplayClass1e'::'CS$<>8__locals1d' + IL_0011: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass1a'/'<>c__DisplayClass1c'::b IL_0016: add IL_0017: ldarg.0 - IL_0018: ldfld int32 DelegateConstruction/'<>c__DisplayClass1a'/'<>c__DisplayClass1c'/'<>c__DisplayClass1e'::c + IL_0018: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass1a'/'<>c__DisplayClass1c'/'<>c__DisplayClass1e'::c IL_001d: add IL_001e: ldarg.1 IL_001f: add @@ -814,7 +814,7 @@ } // end of class '<>c__DisplayClass1e' - .field public class DelegateConstruction/'<>c__DisplayClass1a' 'CS$<>8__locals1b' + .field public class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass1a' 'CS$<>8__locals1b' .field public int32 b .method public hidebysig specialname rtspecialname instance void .ctor() cil managed @@ -831,22 +831,22 @@ { // Code size 49 (0x31) .maxstack 2 - .locals init (class DelegateConstruction/'<>c__DisplayClass1a'/'<>c__DisplayClass1c'/'<>c__DisplayClass1e' V_0, + .locals init (class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass1a'/'<>c__DisplayClass1c'/'<>c__DisplayClass1e' V_0, class [mscorlib]System.Func`2 V_1) - IL_0000: newobj instance void DelegateConstruction/'<>c__DisplayClass1a'/'<>c__DisplayClass1c'/'<>c__DisplayClass1e'::.ctor() + IL_0000: newobj instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass1a'/'<>c__DisplayClass1c'/'<>c__DisplayClass1e'::.ctor() IL_0005: stloc.0 IL_0006: ldloc.0 IL_0007: ldarg.0 - IL_0008: stfld class DelegateConstruction/'<>c__DisplayClass1a'/'<>c__DisplayClass1c' DelegateConstruction/'<>c__DisplayClass1a'/'<>c__DisplayClass1c'/'<>c__DisplayClass1e'::'CS$<>8__locals1d' + IL_0008: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass1a'/'<>c__DisplayClass1c' ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass1a'/'<>c__DisplayClass1c'/'<>c__DisplayClass1e'::'CS$<>8__locals1d' IL_000d: ldloc.0 IL_000e: ldarg.0 - IL_000f: ldfld class DelegateConstruction/'<>c__DisplayClass1a' DelegateConstruction/'<>c__DisplayClass1a'/'<>c__DisplayClass1c'::'CS$<>8__locals1b' - IL_0014: stfld class DelegateConstruction/'<>c__DisplayClass1a' DelegateConstruction/'<>c__DisplayClass1a'/'<>c__DisplayClass1c'/'<>c__DisplayClass1e'::'CS$<>8__locals1b' + IL_000f: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass1a' ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass1a'/'<>c__DisplayClass1c'::'CS$<>8__locals1b' + IL_0014: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass1a' ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass1a'/'<>c__DisplayClass1c'/'<>c__DisplayClass1e'::'CS$<>8__locals1b' IL_0019: ldloc.0 IL_001a: ldarg.1 - IL_001b: stfld int32 DelegateConstruction/'<>c__DisplayClass1a'/'<>c__DisplayClass1c'/'<>c__DisplayClass1e'::c + IL_001b: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass1a'/'<>c__DisplayClass1c'/'<>c__DisplayClass1e'::c IL_0020: ldloc.0 - IL_0021: ldftn instance int32 DelegateConstruction/'<>c__DisplayClass1a'/'<>c__DisplayClass1c'/'<>c__DisplayClass1e'::'b__19'(int32) + IL_0021: ldftn instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass1a'/'<>c__DisplayClass1c'/'<>c__DisplayClass1e'::'b__19'(int32) IL_0027: newobj instance void class [mscorlib]System.Func`2::.ctor(object, native int) IL_002c: stloc.1 @@ -874,18 +874,18 @@ { // Code size 37 (0x25) .maxstack 2 - .locals init (class DelegateConstruction/'<>c__DisplayClass1a'/'<>c__DisplayClass1c' V_0, + .locals init (class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass1a'/'<>c__DisplayClass1c' V_0, class [mscorlib]System.Func`2> V_1) - IL_0000: newobj instance void DelegateConstruction/'<>c__DisplayClass1a'/'<>c__DisplayClass1c'::.ctor() + IL_0000: newobj instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass1a'/'<>c__DisplayClass1c'::.ctor() IL_0005: stloc.0 IL_0006: ldloc.0 IL_0007: ldarg.0 - IL_0008: stfld class DelegateConstruction/'<>c__DisplayClass1a' DelegateConstruction/'<>c__DisplayClass1a'/'<>c__DisplayClass1c'::'CS$<>8__locals1b' + IL_0008: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass1a' ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass1a'/'<>c__DisplayClass1c'::'CS$<>8__locals1b' IL_000d: ldloc.0 IL_000e: ldarg.1 - IL_000f: stfld int32 DelegateConstruction/'<>c__DisplayClass1a'/'<>c__DisplayClass1c'::b + IL_000f: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass1a'/'<>c__DisplayClass1c'::b IL_0014: ldloc.0 - IL_0015: ldftn instance class [mscorlib]System.Func`2 DelegateConstruction/'<>c__DisplayClass1a'/'<>c__DisplayClass1c'::'b__18'(int32) + IL_0015: ldftn instance class [mscorlib]System.Func`2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass1a'/'<>c__DisplayClass1c'::'b__18'(int32) IL_001b: newobj instance void class [mscorlib]System.Func`2>::.ctor(object, native int) IL_0020: stloc.1 @@ -920,7 +920,7 @@ .locals init (class [mscorlib]System.Action`1 V_0) IL_0000: nop IL_0001: ldnull - IL_0002: ldftn void DelegateConstruction::Test(string) + IL_0002: ldftn void ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction::Test(string) IL_0008: newobj instance void class [mscorlib]System.Action`1::.ctor(object, native int) IL_000d: stloc.0 @@ -938,7 +938,7 @@ .locals init (class [mscorlib]System.Action V_0) IL_0000: nop IL_0001: ldstr "abc" - IL_0006: ldftn void DelegateConstruction::Test(string) + IL_0006: ldftn void ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction::Test(string) IL_000c: newobj instance void [mscorlib]System.Action::.ctor(object, native int) IL_0011: stloc.0 @@ -956,7 +956,7 @@ .locals init (class [mscorlib]System.Action V_0) IL_0000: nop IL_0001: ldnull - IL_0002: ldftn void DelegateConstruction::Test(string) + IL_0002: ldftn void ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction::Test(string) IL_0008: newobj instance void [mscorlib]System.Action::.ctor(object, native int) IL_000d: stloc.0 @@ -974,7 +974,7 @@ .locals init (object V_0) IL_0000: nop IL_0001: ldnull - IL_0002: ldftn class [mscorlib]System.Action DelegateConstruction::ExtensionMethodBound() + IL_0002: ldftn class [mscorlib]System.Action ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction::ExtensionMethodBound() IL_0008: newobj instance void class [mscorlib]System.Func`1::.ctor(object, native int) IL_000d: stloc.0 @@ -1027,7 +1027,7 @@ .maxstack 3 .locals init (class [mscorlib]System.Collections.Generic.List`1> V_0, int32 V_1, - class DelegateConstruction/'<>c__DisplayClass1' V_2, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass1' V_2, class [mscorlib]System.Collections.Generic.List`1> V_3, bool V_4) IL_0000: nop @@ -1037,12 +1037,12 @@ IL_0008: stloc.1 IL_0009: br.s IL_002a - IL_000b: newobj instance void DelegateConstruction/'<>c__DisplayClass1'::.ctor() + IL_000b: newobj instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass1'::.ctor() IL_0010: stloc.2 IL_0011: nop IL_0012: ldloc.0 IL_0013: ldloc.2 - IL_0014: ldftn instance void DelegateConstruction/'<>c__DisplayClass1'::'b__0'(int32) + IL_0014: ldftn instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass1'::'b__0'(int32) IL_001a: newobj instance void class [mscorlib]System.Action`1::.ctor(object, native int) IL_001f: callvirt instance void class [mscorlib]System.Collections.Generic.List`1>::Add(!0) @@ -1075,12 +1075,12 @@ .locals init (class [mscorlib]System.Collections.Generic.List`1> V_0, int32 V_1, class [mscorlib]System.Action`1 V_2, - class DelegateConstruction/'<>c__DisplayClass5' V_3, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass5' V_3, class [mscorlib]System.Collections.Generic.List`1> V_4, bool V_5) IL_0000: ldnull IL_0001: stloc.2 - IL_0002: newobj instance void DelegateConstruction/'<>c__DisplayClass5'::.ctor() + IL_0002: newobj instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass5'::.ctor() IL_0007: stloc.3 IL_0008: nop IL_0009: newobj instance void class [mscorlib]System.Collections.Generic.List`1>::.ctor() @@ -1095,7 +1095,7 @@ IL_0016: brtrue.s IL_0027 IL_0018: ldloc.3 - IL_0019: ldftn instance void DelegateConstruction/'<>c__DisplayClass5'::'b__3'(int32) + IL_0019: ldftn instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass5'::'b__3'(int32) IL_001f: newobj instance void class [mscorlib]System.Action`1::.ctor(object, native int) IL_0024: stloc.2 @@ -1131,17 +1131,17 @@ .maxstack 2 .locals init (class [mscorlib]System.Action V_0) IL_0000: nop - IL_0001: ldsfld class [mscorlib]System.Action DelegateConstruction::'CS$<>9__CachedAnonymousMethodDelegate8' + IL_0001: ldsfld class [mscorlib]System.Action ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction::'CS$<>9__CachedAnonymousMethodDelegate8' IL_0006: brtrue.s IL_001b IL_0008: ldnull - IL_0009: ldftn void DelegateConstruction::'b__7'() + IL_0009: ldftn void ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction::'b__7'() IL_000f: newobj instance void [mscorlib]System.Action::.ctor(object, native int) - IL_0014: stsfld class [mscorlib]System.Action DelegateConstruction::'CS$<>9__CachedAnonymousMethodDelegate8' + IL_0014: stsfld class [mscorlib]System.Action ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction::'CS$<>9__CachedAnonymousMethodDelegate8' IL_0019: br.s IL_001b - IL_001b: ldsfld class [mscorlib]System.Action DelegateConstruction::'CS$<>9__CachedAnonymousMethodDelegate8' + IL_001b: ldsfld class [mscorlib]System.Action ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction::'CS$<>9__CachedAnonymousMethodDelegate8' IL_0020: stloc.0 IL_0021: br.s IL_0023 @@ -1156,7 +1156,7 @@ .locals init (class [mscorlib]System.Collections.Generic.List`1> V_0, int32 V_1, class [mscorlib]System.Action`1 V_2, - class DelegateConstruction/'<>c__DisplayClassb' V_3, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClassb' V_3, bool V_4) IL_0000: nop IL_0001: newobj instance void class [mscorlib]System.Collections.Generic.List`1>::.ctor() @@ -1167,12 +1167,12 @@ IL_000b: ldnull IL_000c: stloc.2 - IL_000d: newobj instance void DelegateConstruction/'<>c__DisplayClassb'::.ctor() + IL_000d: newobj instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClassb'::.ctor() IL_0012: stloc.3 IL_0013: nop IL_0014: ldloc.3 IL_0015: ldc.i4.0 - IL_0016: stfld int32 DelegateConstruction/'<>c__DisplayClassb'::i + IL_0016: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClassb'::i IL_001b: br.s IL_0047 IL_001d: nop @@ -1181,7 +1181,7 @@ IL_0020: brtrue.s IL_0031 IL_0022: ldloc.3 - IL_0023: ldftn instance void DelegateConstruction/'<>c__DisplayClassb'::'b__9'(int32) + IL_0023: ldftn instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClassb'::'b__9'(int32) IL_0029: newobj instance void class [mscorlib]System.Action`1::.ctor(object, native int) IL_002e: stloc.2 @@ -1193,12 +1193,12 @@ IL_0038: nop IL_0039: ldloc.3 IL_003a: dup - IL_003b: ldfld int32 DelegateConstruction/'<>c__DisplayClassb'::i + IL_003b: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClassb'::i IL_0040: ldc.i4.1 IL_0041: add - IL_0042: stfld int32 DelegateConstruction/'<>c__DisplayClassb'::i + IL_0042: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClassb'::i IL_0047: ldloc.3 - IL_0048: ldfld int32 DelegateConstruction/'<>c__DisplayClassb'::i + IL_0048: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClassb'::i IL_004d: ldc.i4.s 10 IL_004f: clt IL_0051: stloc.s V_4 @@ -1236,17 +1236,17 @@ IL_000b: nop IL_000c: ldloc.0 - IL_000d: ldsfld class [mscorlib]System.Action`1 DelegateConstruction::'CS$<>9__CachedAnonymousMethodDelegatee' + IL_000d: ldsfld class [mscorlib]System.Action`1 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction::'CS$<>9__CachedAnonymousMethodDelegatee' IL_0012: brtrue.s IL_0027 IL_0014: ldnull - IL_0015: ldftn void DelegateConstruction::'b__d'(int32) + IL_0015: ldftn void ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction::'b__d'(int32) IL_001b: newobj instance void class [mscorlib]System.Action`1::.ctor(object, native int) - IL_0020: stsfld class [mscorlib]System.Action`1 DelegateConstruction::'CS$<>9__CachedAnonymousMethodDelegatee' + IL_0020: stsfld class [mscorlib]System.Action`1 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction::'CS$<>9__CachedAnonymousMethodDelegatee' IL_0025: br.s IL_0027 - IL_0027: ldsfld class [mscorlib]System.Action`1 DelegateConstruction::'CS$<>9__CachedAnonymousMethodDelegatee' + IL_0027: ldsfld class [mscorlib]System.Action`1 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction::'CS$<>9__CachedAnonymousMethodDelegatee' IL_002c: callvirt instance void class [mscorlib]System.Collections.Generic.List`1>::Add(!0) IL_0031: nop IL_0032: nop @@ -1271,17 +1271,17 @@ .maxstack 2 .locals init (class [mscorlib]System.Action`1 V_0) IL_0000: nop - IL_0001: ldsfld class [mscorlib]System.Action`1 DelegateConstruction::'CS$<>9__CachedAnonymousMethodDelegate10' + IL_0001: ldsfld class [mscorlib]System.Action`1 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction::'CS$<>9__CachedAnonymousMethodDelegate10' IL_0006: brtrue.s IL_001b IL_0008: ldnull - IL_0009: ldftn void DelegateConstruction::'b__f'(int32) + IL_0009: ldftn void ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction::'b__f'(int32) IL_000f: newobj instance void class [mscorlib]System.Action`1::.ctor(object, native int) - IL_0014: stsfld class [mscorlib]System.Action`1 DelegateConstruction::'CS$<>9__CachedAnonymousMethodDelegate10' + IL_0014: stsfld class [mscorlib]System.Action`1 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction::'CS$<>9__CachedAnonymousMethodDelegate10' IL_0019: br.s IL_001b - IL_001b: ldsfld class [mscorlib]System.Action`1 DelegateConstruction::'CS$<>9__CachedAnonymousMethodDelegate10' + IL_001b: ldsfld class [mscorlib]System.Action`1 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction::'CS$<>9__CachedAnonymousMethodDelegate10' IL_0020: stloc.0 IL_0021: br.s IL_0023 @@ -1294,16 +1294,16 @@ { // Code size 31 (0x1f) .maxstack 2 - .locals init (class DelegateConstruction/'<>c__DisplayClass13' V_0, + .locals init (class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass13' V_0, class [mscorlib]System.Func`2> V_1) - IL_0000: newobj instance void DelegateConstruction/'<>c__DisplayClass13'::.ctor() + IL_0000: newobj instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass13'::.ctor() IL_0005: stloc.0 IL_0006: ldloc.0 IL_0007: ldarg.0 - IL_0008: stfld int32 DelegateConstruction/'<>c__DisplayClass13'::a + IL_0008: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass13'::a IL_000d: nop IL_000e: ldloc.0 - IL_000f: ldftn instance class [mscorlib]System.Func`2 DelegateConstruction/'<>c__DisplayClass13'::'b__11'(int32) + IL_000f: ldftn instance class [mscorlib]System.Func`2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass13'::'b__11'(int32) IL_0015: newobj instance void class [mscorlib]System.Func`2>::.ctor(object, native int) IL_001a: stloc.1 @@ -1318,16 +1318,16 @@ { // Code size 31 (0x1f) .maxstack 2 - .locals init (class DelegateConstruction/'<>c__DisplayClass1a' V_0, + .locals init (class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass1a' V_0, class [mscorlib]System.Func`2>> V_1) - IL_0000: newobj instance void DelegateConstruction/'<>c__DisplayClass1a'::.ctor() + IL_0000: newobj instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass1a'::.ctor() IL_0005: stloc.0 IL_0006: ldloc.0 IL_0007: ldarg.0 - IL_0008: stfld int32 DelegateConstruction/'<>c__DisplayClass1a'::a + IL_0008: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass1a'::a IL_000d: nop IL_000e: ldloc.0 - IL_000f: ldftn instance class [mscorlib]System.Func`2> DelegateConstruction/'<>c__DisplayClass1a'::'b__17'(int32) + IL_000f: ldftn instance class [mscorlib]System.Func`2> ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass1a'::'b__17'(int32) IL_0015: newobj instance void class [mscorlib]System.Func`2>>::.ctor(object, native int) IL_001a: stloc.1 @@ -1391,7 +1391,7 @@ IL_001a: ret } // end of method DelegateConstruction::'b__f' -} // end of class DelegateConstruction +} // end of class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction // ============================================================= diff --git a/ICSharpCode.Decompiler.Tests/TestCases/Pretty/DelegateConstruction.opt.il b/ICSharpCode.Decompiler.Tests/TestCases/Pretty/DelegateConstruction.opt.il index 5ae47aa6a..f12117f03 100644 --- a/ICSharpCode.Decompiler.Tests/TestCases/Pretty/DelegateConstruction.opt.il +++ b/ICSharpCode.Decompiler.Tests/TestCases/Pretty/DelegateConstruction.opt.il @@ -1,5 +1,5 @@ -// Microsoft (R) .NET Framework IL Disassembler. Version 4.0.30319.17929 +// Microsoft (R) .NET Framework IL Disassembler. Version 4.6.1055.0 // Copyright (c) Microsoft Corporation. All rights reserved. @@ -15,7 +15,7 @@ .publickeytoken = (B7 7A 5C 56 19 34 E0 89 ) // .z\V.4.. .ver 4:0:0:0 } -.assembly xrchixjz +.assembly c0bnf0jn { .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.ExtensionAttribute::.ctor() = ( 01 00 00 00 ) @@ -26,20 +26,20 @@ .hash algorithm 0x00008004 .ver 0:0:0:0 } -.module xrchixjz.dll -// MVID: {4764226C-6D0F-4413-9843-94B16795E6C2} +.module c0bnf0jn.dll +// MVID: {ABE4DCE9-5E34-4357-84BA-7850DA8457DD} .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: 0x00C80000 +// Image base: 0x00E80000 // =============== CLASS MEMBERS DECLARATION =================== -.class public abstract auto ansi sealed beforefieldinit DelegateConstruction +.class public abstract auto ansi sealed beforefieldinit ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction extends [mscorlib]System.Object { .custom instance void [mscorlib]System.Runtime.CompilerServices.ExtensionAttribute::.ctor() = ( 01 00 00 00 ) @@ -50,7 +50,7 @@ extends [mscorlib]System.Object { .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) - .field public class DelegateConstruction/InstanceTests '<>4__this' + .field public class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests '<>4__this' .field public int32 a .method public hidebysig specialname rtspecialname instance void .ctor() cil managed @@ -68,10 +68,10 @@ // Code size 19 (0x13) .maxstack 8 IL_0000: ldarg.0 - IL_0001: ldfld class DelegateConstruction/InstanceTests DelegateConstruction/InstanceTests/'<>c__DisplayClass22'::'<>4__this' + IL_0001: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass22'::'<>4__this' IL_0006: ldarg.0 - IL_0007: ldfld int32 DelegateConstruction/InstanceTests/'<>c__DisplayClass22'::a - IL_000c: call instance class [mscorlib]System.Action DelegateConstruction/InstanceTests::CaptureOfThisAndParameter(int32) + IL_0007: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass22'::a + IL_000c: call instance class [mscorlib]System.Action ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests::CaptureOfThisAndParameter(int32) IL_0011: pop IL_0012: ret } // end of method '<>c__DisplayClass22'::'b__21' @@ -82,7 +82,7 @@ extends [mscorlib]System.Object { .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) - .field public class DelegateConstruction/InstanceTests '<>4__this' + .field public class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests '<>4__this' .field public int32 a .method public hidebysig specialname rtspecialname instance void .ctor() cil managed @@ -100,7 +100,7 @@ extends [mscorlib]System.Object { .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) - .field public class DelegateConstruction/InstanceTests/'<>c__DisplayClass25' 'CS$<>8__locals26' + .field public class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass25' 'CS$<>8__locals26' .field public int32 item .method public hidebysig specialname rtspecialname instance void .ctor() cil managed @@ -118,15 +118,15 @@ // Code size 36 (0x24) .maxstack 8 IL_0000: ldarg.0 - IL_0001: ldfld class DelegateConstruction/InstanceTests/'<>c__DisplayClass25' DelegateConstruction/InstanceTests/'<>c__DisplayClass28'::'CS$<>8__locals26' - IL_0006: ldfld class DelegateConstruction/InstanceTests DelegateConstruction/InstanceTests/'<>c__DisplayClass25'::'<>4__this' + IL_0001: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass25' ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass28'::'CS$<>8__locals26' + IL_0006: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass25'::'<>4__this' IL_000b: ldarg.0 - IL_000c: ldfld int32 DelegateConstruction/InstanceTests/'<>c__DisplayClass28'::item + IL_000c: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass28'::item IL_0011: ldarg.0 - IL_0012: ldfld class DelegateConstruction/InstanceTests/'<>c__DisplayClass25' DelegateConstruction/InstanceTests/'<>c__DisplayClass28'::'CS$<>8__locals26' - IL_0017: ldfld int32 DelegateConstruction/InstanceTests/'<>c__DisplayClass25'::a + IL_0012: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass25' ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass28'::'CS$<>8__locals26' + IL_0017: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass25'::a IL_001c: add - IL_001d: call instance class [mscorlib]System.Action DelegateConstruction/InstanceTests::CaptureOfThisAndParameter(int32) + IL_001d: call instance class [mscorlib]System.Action ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests::CaptureOfThisAndParameter(int32) IL_0022: pop IL_0023: ret } // end of method '<>c__DisplayClass28'::'b__24' @@ -137,7 +137,7 @@ extends [mscorlib]System.Object { .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) - .field public class DelegateConstruction/InstanceTests '<>4__this' + .field public class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests '<>4__this' .field public int32 a .method public hidebysig specialname rtspecialname instance void .ctor() cil managed @@ -172,8 +172,8 @@ extends [mscorlib]System.Object { .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) - .field public class DelegateConstruction/InstanceTests/'<>c__DisplayClass2d' 'CS$<>8__locals2e' - .field public class DelegateConstruction/InstanceTests/'<>c__DisplayClass2b' 'CS$<>8__locals2c' + .field public class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass2d' 'CS$<>8__locals2e' + .field public class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass2b' 'CS$<>8__locals2c' .field public int32 copyOfItem .method public hidebysig specialname rtspecialname instance void .ctor() cil managed @@ -191,19 +191,19 @@ // Code size 48 (0x30) .maxstack 8 IL_0000: ldarg.0 - IL_0001: ldfld class DelegateConstruction/InstanceTests/'<>c__DisplayClass2b' DelegateConstruction/InstanceTests/'<>c__DisplayClass30'::'CS$<>8__locals2c' - IL_0006: ldfld class DelegateConstruction/InstanceTests DelegateConstruction/InstanceTests/'<>c__DisplayClass2b'::'<>4__this' + IL_0001: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass2b' ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass30'::'CS$<>8__locals2c' + IL_0006: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass2b'::'<>4__this' IL_000b: ldarg.0 - IL_000c: ldfld class DelegateConstruction/InstanceTests/'<>c__DisplayClass2d' DelegateConstruction/InstanceTests/'<>c__DisplayClass30'::'CS$<>8__locals2e' - IL_0011: ldfld int32 DelegateConstruction/InstanceTests/'<>c__DisplayClass2d'::item + IL_000c: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass2d' ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass30'::'CS$<>8__locals2e' + IL_0011: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass2d'::item IL_0016: ldarg.0 - IL_0017: ldfld class DelegateConstruction/InstanceTests/'<>c__DisplayClass2b' DelegateConstruction/InstanceTests/'<>c__DisplayClass30'::'CS$<>8__locals2c' - IL_001c: ldfld int32 DelegateConstruction/InstanceTests/'<>c__DisplayClass2b'::a + IL_0017: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass2b' ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass30'::'CS$<>8__locals2c' + IL_001c: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass2b'::a IL_0021: add IL_0022: ldarg.0 - IL_0023: ldfld int32 DelegateConstruction/InstanceTests/'<>c__DisplayClass30'::copyOfItem + IL_0023: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass30'::copyOfItem IL_0028: add - IL_0029: call instance class [mscorlib]System.Action DelegateConstruction/InstanceTests::CaptureOfThisAndParameter(int32) + IL_0029: call instance class [mscorlib]System.Action ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests::CaptureOfThisAndParameter(int32) IL_002e: pop IL_002f: ret } // end of method '<>c__DisplayClass30'::'b__2a' @@ -216,7 +216,7 @@ // Code size 13 (0xd) .maxstack 8 IL_0000: ldarg.0 - IL_0001: ldftn instance void DelegateConstruction/InstanceTests::'b__20'() + IL_0001: ldftn instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests::'b__20'() IL_0007: newobj instance void [mscorlib]System.Action::.ctor(object, native int) IL_000c: ret @@ -227,17 +227,17 @@ { // Code size 33 (0x21) .maxstack 2 - .locals init (class DelegateConstruction/InstanceTests/'<>c__DisplayClass22' V_0) - IL_0000: newobj instance void DelegateConstruction/InstanceTests/'<>c__DisplayClass22'::.ctor() + .locals init (class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass22' V_0) + IL_0000: newobj instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass22'::.ctor() IL_0005: stloc.0 IL_0006: ldloc.0 IL_0007: ldarg.1 - IL_0008: stfld int32 DelegateConstruction/InstanceTests/'<>c__DisplayClass22'::a + IL_0008: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass22'::a IL_000d: ldloc.0 IL_000e: ldarg.0 - IL_000f: stfld class DelegateConstruction/InstanceTests DelegateConstruction/InstanceTests/'<>c__DisplayClass22'::'<>4__this' + IL_000f: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass22'::'<>4__this' IL_0014: ldloc.0 - IL_0015: ldftn instance void DelegateConstruction/InstanceTests/'<>c__DisplayClass22'::'b__21'() + IL_0015: ldftn instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass22'::'b__21'() IL_001b: newobj instance void [mscorlib]System.Action::.ctor(object, native int) IL_0020: ret @@ -249,18 +249,18 @@ // Code size 118 (0x76) .maxstack 2 .locals init (class [mscorlib]System.Action V_0, - class DelegateConstruction/InstanceTests/'<>c__DisplayClass28' V_1, - class DelegateConstruction/InstanceTests/'<>c__DisplayClass25' V_2, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass28' V_1, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass25' V_2, class [mscorlib]System.Action V_3, class [mscorlib]System.Collections.Generic.IEnumerator`1 V_4) - IL_0000: newobj instance void DelegateConstruction/InstanceTests/'<>c__DisplayClass25'::.ctor() + IL_0000: newobj instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass25'::.ctor() IL_0005: stloc.2 IL_0006: ldloc.2 IL_0007: ldarg.1 - IL_0008: stfld int32 DelegateConstruction/InstanceTests/'<>c__DisplayClass25'::a + IL_0008: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass25'::a IL_000d: ldloc.2 IL_000e: ldarg.0 - IL_000f: stfld class DelegateConstruction/InstanceTests DelegateConstruction/InstanceTests/'<>c__DisplayClass25'::'<>4__this' + IL_000f: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass25'::'<>4__this' IL_0014: call class [mscorlib]System.Collections.Generic.IEnumerable`1 [System.Core]System.Linq.Enumerable::Empty() IL_0019: callvirt instance class [mscorlib]System.Collections.Generic.IEnumerator`1 class [mscorlib]System.Collections.Generic.IEnumerable`1::GetEnumerator() IL_001e: stloc.s V_4 @@ -270,17 +270,17 @@ IL_0022: ldnull IL_0023: stloc.0 - IL_0024: newobj instance void DelegateConstruction/InstanceTests/'<>c__DisplayClass28'::.ctor() + IL_0024: newobj instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass28'::.ctor() IL_0029: stloc.1 IL_002a: ldloc.1 IL_002b: ldloc.2 - IL_002c: stfld class DelegateConstruction/InstanceTests/'<>c__DisplayClass25' DelegateConstruction/InstanceTests/'<>c__DisplayClass28'::'CS$<>8__locals26' + IL_002c: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass25' ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass28'::'CS$<>8__locals26' IL_0031: ldloc.1 IL_0032: ldloc.s V_4 IL_0034: callvirt instance !0 class [mscorlib]System.Collections.Generic.IEnumerator`1::get_Current() - IL_0039: stfld int32 DelegateConstruction/InstanceTests/'<>c__DisplayClass28'::item + IL_0039: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass28'::item IL_003e: ldloc.1 - IL_003f: ldfld int32 DelegateConstruction/InstanceTests/'<>c__DisplayClass28'::item + IL_003f: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass28'::item IL_0044: ldc.i4.0 IL_0045: ble.s IL_005b @@ -288,7 +288,7 @@ IL_0048: brtrue.s IL_0057 IL_004a: ldloc.1 - IL_004b: ldftn instance void DelegateConstruction/InstanceTests/'<>c__DisplayClass28'::'b__24'() + IL_004b: ldftn instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass28'::'b__24'() IL_0051: newobj instance void [mscorlib]System.Action::.ctor(object, native int) IL_0056: stloc.0 @@ -325,19 +325,19 @@ // Code size 145 (0x91) .maxstack 2 .locals init (class [mscorlib]System.Action V_0, - class DelegateConstruction/InstanceTests/'<>c__DisplayClass30' V_1, - class DelegateConstruction/InstanceTests/'<>c__DisplayClass2d' V_2, - class DelegateConstruction/InstanceTests/'<>c__DisplayClass2b' V_3, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass30' V_1, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass2d' V_2, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass2b' V_3, class [mscorlib]System.Action V_4, class [mscorlib]System.Collections.Generic.IEnumerator`1 V_5) - IL_0000: newobj instance void DelegateConstruction/InstanceTests/'<>c__DisplayClass2b'::.ctor() + IL_0000: newobj instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass2b'::.ctor() IL_0005: stloc.3 IL_0006: ldloc.3 IL_0007: ldarg.1 - IL_0008: stfld int32 DelegateConstruction/InstanceTests/'<>c__DisplayClass2b'::a + IL_0008: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass2b'::a IL_000d: ldloc.3 IL_000e: ldarg.0 - IL_000f: stfld class DelegateConstruction/InstanceTests DelegateConstruction/InstanceTests/'<>c__DisplayClass2b'::'<>4__this' + IL_000f: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass2b'::'<>4__this' IL_0014: call class [mscorlib]System.Collections.Generic.IEnumerable`1 [System.Core]System.Linq.Enumerable::Empty() IL_0019: callvirt instance class [mscorlib]System.Collections.Generic.IEnumerator`1 class [mscorlib]System.Collections.Generic.IEnumerable`1::GetEnumerator() IL_001e: stloc.s V_5 @@ -345,28 +345,28 @@ { IL_0020: br.s IL_0075 - IL_0022: newobj instance void DelegateConstruction/InstanceTests/'<>c__DisplayClass2d'::.ctor() + IL_0022: newobj instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass2d'::.ctor() IL_0027: stloc.2 IL_0028: ldloc.2 IL_0029: ldloc.s V_5 IL_002b: callvirt instance !0 class [mscorlib]System.Collections.Generic.IEnumerator`1::get_Current() - IL_0030: stfld int32 DelegateConstruction/InstanceTests/'<>c__DisplayClass2d'::item + IL_0030: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass2d'::item IL_0035: ldnull IL_0036: stloc.0 - IL_0037: newobj instance void DelegateConstruction/InstanceTests/'<>c__DisplayClass30'::.ctor() + IL_0037: newobj instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass30'::.ctor() IL_003c: stloc.1 IL_003d: ldloc.1 IL_003e: ldloc.2 - IL_003f: stfld class DelegateConstruction/InstanceTests/'<>c__DisplayClass2d' DelegateConstruction/InstanceTests/'<>c__DisplayClass30'::'CS$<>8__locals2e' + IL_003f: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass2d' ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass30'::'CS$<>8__locals2e' IL_0044: ldloc.1 IL_0045: ldloc.3 - IL_0046: stfld class DelegateConstruction/InstanceTests/'<>c__DisplayClass2b' DelegateConstruction/InstanceTests/'<>c__DisplayClass30'::'CS$<>8__locals2c' + IL_0046: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass2b' ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass30'::'CS$<>8__locals2c' IL_004b: ldloc.1 IL_004c: ldloc.2 - IL_004d: ldfld int32 DelegateConstruction/InstanceTests/'<>c__DisplayClass2d'::item - IL_0052: stfld int32 DelegateConstruction/InstanceTests/'<>c__DisplayClass30'::copyOfItem + IL_004d: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass2d'::item + IL_0052: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass30'::copyOfItem IL_0057: ldloc.2 - IL_0058: ldfld int32 DelegateConstruction/InstanceTests/'<>c__DisplayClass2d'::item + IL_0058: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass2d'::item IL_005d: ldc.i4.0 IL_005e: ble.s IL_0075 @@ -374,7 +374,7 @@ IL_0061: brtrue.s IL_0070 IL_0063: ldloc.1 - IL_0064: ldftn instance void DelegateConstruction/InstanceTests/'<>c__DisplayClass30'::'b__2a'() + IL_0064: ldftn instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass30'::'b__2a'() IL_006a: newobj instance void [mscorlib]System.Action::.ctor(object, native int) IL_006f: stloc.0 @@ -423,12 +423,12 @@ IL_0008: brtrue.s IL_0017 IL_000a: ldarg.0 - IL_000b: ldftn instance int32 DelegateConstruction/InstanceTests::'b__32'() + IL_000b: ldftn instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests::'b__32'() IL_0011: newobj instance void class [mscorlib]System.Func`1::.ctor(object, native int) IL_0016: stloc.1 IL_0017: ldloc.1 - IL_0018: call instance void DelegateConstruction/InstanceTests::Bar(class [mscorlib]System.Func`1) + IL_0018: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests::Bar(class [mscorlib]System.Func`1) IL_001d: ldloc.0 IL_001e: ldc.i4.1 IL_001f: add @@ -474,7 +474,7 @@ // Code size 8 (0x8) .maxstack 8 IL_0000: ldarg.0 - IL_0001: call instance class [mscorlib]System.Action DelegateConstruction/InstanceTests::CaptureOfThis() + IL_0001: call instance class [mscorlib]System.Action ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests::CaptureOfThis() IL_0006: pop IL_0007: ret } // end of method InstanceTests::'b__20' @@ -486,7 +486,7 @@ // Code size 7 (0x7) .maxstack 8 IL_0000: ldarg.0 - IL_0001: call instance int32 DelegateConstruction/InstanceTests::Foo() + IL_0001: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests::Foo() IL_0006: ret } // end of method InstanceTests::'b__32' @@ -514,7 +514,7 @@ .maxstack 8 IL_0000: ldarg.0 IL_0001: ldarg.1 - IL_0002: stfld int32 DelegateConstruction/'<>c__DisplayClass1'::counter + IL_0002: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass1'::counter IL_0007: ret } // end of method '<>c__DisplayClass1'::'b__0' @@ -542,7 +542,7 @@ .maxstack 8 IL_0000: ldarg.0 IL_0001: ldarg.1 - IL_0002: stfld int32 DelegateConstruction/'<>c__DisplayClass5'::counter + IL_0002: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass5'::counter IL_0007: ret } // end of method '<>c__DisplayClass5'::'b__3' @@ -580,7 +580,7 @@ IL_000c: stloc.0 IL_000d: ldloc.0 IL_000e: ldarg.0 - IL_000f: ldfld int32 DelegateConstruction/'<>c__DisplayClassb'::i + IL_000f: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClassb'::i IL_0014: blt.s IL_0004 IL_0016: ret @@ -595,7 +595,7 @@ .class auto ansi sealed nested private beforefieldinit '<>c__DisplayClass15' extends [mscorlib]System.Object { - .field public class DelegateConstruction/'<>c__DisplayClass13' 'CS$<>8__locals14' + .field public class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass13' 'CS$<>8__locals14' .field public int32 b .method public hidebysig specialname rtspecialname instance void .ctor() cil managed @@ -613,10 +613,10 @@ // Code size 21 (0x15) .maxstack 8 IL_0000: ldarg.0 - IL_0001: ldfld class DelegateConstruction/'<>c__DisplayClass13' DelegateConstruction/'<>c__DisplayClass13'/'<>c__DisplayClass15'::'CS$<>8__locals14' - IL_0006: ldfld int32 DelegateConstruction/'<>c__DisplayClass13'::a + IL_0001: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass13' ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass13'/'<>c__DisplayClass15'::'CS$<>8__locals14' + IL_0006: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass13'::a IL_000b: ldarg.0 - IL_000c: ldfld int32 DelegateConstruction/'<>c__DisplayClass13'/'<>c__DisplayClass15'::b + IL_000c: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass13'/'<>c__DisplayClass15'::b IL_0011: add IL_0012: ldarg.1 IL_0013: add @@ -641,17 +641,17 @@ { // Code size 33 (0x21) .maxstack 2 - .locals init (class DelegateConstruction/'<>c__DisplayClass13'/'<>c__DisplayClass15' V_0) - IL_0000: newobj instance void DelegateConstruction/'<>c__DisplayClass13'/'<>c__DisplayClass15'::.ctor() + .locals init (class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass13'/'<>c__DisplayClass15' V_0) + IL_0000: newobj instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass13'/'<>c__DisplayClass15'::.ctor() IL_0005: stloc.0 IL_0006: ldloc.0 IL_0007: ldarg.0 - IL_0008: stfld class DelegateConstruction/'<>c__DisplayClass13' DelegateConstruction/'<>c__DisplayClass13'/'<>c__DisplayClass15'::'CS$<>8__locals14' + IL_0008: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass13' ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass13'/'<>c__DisplayClass15'::'CS$<>8__locals14' IL_000d: ldloc.0 IL_000e: ldarg.1 - IL_000f: stfld int32 DelegateConstruction/'<>c__DisplayClass13'/'<>c__DisplayClass15'::b + IL_000f: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass13'/'<>c__DisplayClass15'::b IL_0014: ldloc.0 - IL_0015: ldftn instance int32 DelegateConstruction/'<>c__DisplayClass13'/'<>c__DisplayClass15'::'b__12'(int32) + IL_0015: ldftn instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass13'/'<>c__DisplayClass15'::'b__12'(int32) IL_001b: newobj instance void class [mscorlib]System.Func`2::.ctor(object, native int) IL_0020: ret @@ -669,8 +669,8 @@ .class auto ansi sealed nested private beforefieldinit '<>c__DisplayClass1e' extends [mscorlib]System.Object { - .field public class DelegateConstruction/'<>c__DisplayClass1a'/'<>c__DisplayClass1c' 'CS$<>8__locals1d' - .field public class DelegateConstruction/'<>c__DisplayClass1a' 'CS$<>8__locals1b' + .field public class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass1a'/'<>c__DisplayClass1c' 'CS$<>8__locals1d' + .field public class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass1a' 'CS$<>8__locals1b' .field public int32 c .method public hidebysig specialname rtspecialname instance void .ctor() cil managed @@ -688,14 +688,14 @@ // Code size 33 (0x21) .maxstack 8 IL_0000: ldarg.0 - IL_0001: ldfld class DelegateConstruction/'<>c__DisplayClass1a' DelegateConstruction/'<>c__DisplayClass1a'/'<>c__DisplayClass1c'/'<>c__DisplayClass1e'::'CS$<>8__locals1b' - IL_0006: ldfld int32 DelegateConstruction/'<>c__DisplayClass1a'::a + IL_0001: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass1a' ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass1a'/'<>c__DisplayClass1c'/'<>c__DisplayClass1e'::'CS$<>8__locals1b' + IL_0006: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass1a'::a IL_000b: ldarg.0 - IL_000c: ldfld class DelegateConstruction/'<>c__DisplayClass1a'/'<>c__DisplayClass1c' DelegateConstruction/'<>c__DisplayClass1a'/'<>c__DisplayClass1c'/'<>c__DisplayClass1e'::'CS$<>8__locals1d' - IL_0011: ldfld int32 DelegateConstruction/'<>c__DisplayClass1a'/'<>c__DisplayClass1c'::b + IL_000c: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass1a'/'<>c__DisplayClass1c' ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass1a'/'<>c__DisplayClass1c'/'<>c__DisplayClass1e'::'CS$<>8__locals1d' + IL_0011: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass1a'/'<>c__DisplayClass1c'::b IL_0016: add IL_0017: ldarg.0 - IL_0018: ldfld int32 DelegateConstruction/'<>c__DisplayClass1a'/'<>c__DisplayClass1c'/'<>c__DisplayClass1e'::c + IL_0018: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass1a'/'<>c__DisplayClass1c'/'<>c__DisplayClass1e'::c IL_001d: add IL_001e: ldarg.1 IL_001f: add @@ -704,7 +704,7 @@ } // end of class '<>c__DisplayClass1e' - .field public class DelegateConstruction/'<>c__DisplayClass1a' 'CS$<>8__locals1b' + .field public class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass1a' 'CS$<>8__locals1b' .field public int32 b .method public hidebysig specialname rtspecialname instance void .ctor() cil managed @@ -721,21 +721,21 @@ { // Code size 45 (0x2d) .maxstack 2 - .locals init (class DelegateConstruction/'<>c__DisplayClass1a'/'<>c__DisplayClass1c'/'<>c__DisplayClass1e' V_0) - IL_0000: newobj instance void DelegateConstruction/'<>c__DisplayClass1a'/'<>c__DisplayClass1c'/'<>c__DisplayClass1e'::.ctor() + .locals init (class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass1a'/'<>c__DisplayClass1c'/'<>c__DisplayClass1e' V_0) + IL_0000: newobj instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass1a'/'<>c__DisplayClass1c'/'<>c__DisplayClass1e'::.ctor() IL_0005: stloc.0 IL_0006: ldloc.0 IL_0007: ldarg.0 - IL_0008: stfld class DelegateConstruction/'<>c__DisplayClass1a'/'<>c__DisplayClass1c' DelegateConstruction/'<>c__DisplayClass1a'/'<>c__DisplayClass1c'/'<>c__DisplayClass1e'::'CS$<>8__locals1d' + IL_0008: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass1a'/'<>c__DisplayClass1c' ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass1a'/'<>c__DisplayClass1c'/'<>c__DisplayClass1e'::'CS$<>8__locals1d' IL_000d: ldloc.0 IL_000e: ldarg.0 - IL_000f: ldfld class DelegateConstruction/'<>c__DisplayClass1a' DelegateConstruction/'<>c__DisplayClass1a'/'<>c__DisplayClass1c'::'CS$<>8__locals1b' - IL_0014: stfld class DelegateConstruction/'<>c__DisplayClass1a' DelegateConstruction/'<>c__DisplayClass1a'/'<>c__DisplayClass1c'/'<>c__DisplayClass1e'::'CS$<>8__locals1b' + IL_000f: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass1a' ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass1a'/'<>c__DisplayClass1c'::'CS$<>8__locals1b' + IL_0014: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass1a' ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass1a'/'<>c__DisplayClass1c'/'<>c__DisplayClass1e'::'CS$<>8__locals1b' IL_0019: ldloc.0 IL_001a: ldarg.1 - IL_001b: stfld int32 DelegateConstruction/'<>c__DisplayClass1a'/'<>c__DisplayClass1c'/'<>c__DisplayClass1e'::c + IL_001b: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass1a'/'<>c__DisplayClass1c'/'<>c__DisplayClass1e'::c IL_0020: ldloc.0 - IL_0021: ldftn instance int32 DelegateConstruction/'<>c__DisplayClass1a'/'<>c__DisplayClass1c'/'<>c__DisplayClass1e'::'b__19'(int32) + IL_0021: ldftn instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass1a'/'<>c__DisplayClass1c'/'<>c__DisplayClass1e'::'b__19'(int32) IL_0027: newobj instance void class [mscorlib]System.Func`2::.ctor(object, native int) IL_002c: ret @@ -759,17 +759,17 @@ { // Code size 33 (0x21) .maxstack 2 - .locals init (class DelegateConstruction/'<>c__DisplayClass1a'/'<>c__DisplayClass1c' V_0) - IL_0000: newobj instance void DelegateConstruction/'<>c__DisplayClass1a'/'<>c__DisplayClass1c'::.ctor() + .locals init (class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass1a'/'<>c__DisplayClass1c' V_0) + IL_0000: newobj instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass1a'/'<>c__DisplayClass1c'::.ctor() IL_0005: stloc.0 IL_0006: ldloc.0 IL_0007: ldarg.0 - IL_0008: stfld class DelegateConstruction/'<>c__DisplayClass1a' DelegateConstruction/'<>c__DisplayClass1a'/'<>c__DisplayClass1c'::'CS$<>8__locals1b' + IL_0008: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass1a' ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass1a'/'<>c__DisplayClass1c'::'CS$<>8__locals1b' IL_000d: ldloc.0 IL_000e: ldarg.1 - IL_000f: stfld int32 DelegateConstruction/'<>c__DisplayClass1a'/'<>c__DisplayClass1c'::b + IL_000f: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass1a'/'<>c__DisplayClass1c'::b IL_0014: ldloc.0 - IL_0015: ldftn instance class [mscorlib]System.Func`2 DelegateConstruction/'<>c__DisplayClass1a'/'<>c__DisplayClass1c'::'b__18'(int32) + IL_0015: ldftn instance class [mscorlib]System.Func`2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass1a'/'<>c__DisplayClass1c'::'b__18'(int32) IL_001b: newobj instance void class [mscorlib]System.Func`2>::.ctor(object, native int) IL_0020: ret @@ -797,7 +797,7 @@ // Code size 13 (0xd) .maxstack 8 IL_0000: ldnull - IL_0001: ldftn void DelegateConstruction::Test(string) + IL_0001: ldftn void ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction::Test(string) IL_0007: newobj instance void class [mscorlib]System.Action`1::.ctor(object, native int) IL_000c: ret @@ -809,7 +809,7 @@ // Code size 17 (0x11) .maxstack 8 IL_0000: ldstr "abc" - IL_0005: ldftn void DelegateConstruction::Test(string) + IL_0005: ldftn void ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction::Test(string) IL_000b: newobj instance void [mscorlib]System.Action::.ctor(object, native int) IL_0010: ret @@ -821,7 +821,7 @@ // Code size 13 (0xd) .maxstack 8 IL_0000: ldnull - IL_0001: ldftn void DelegateConstruction::Test(string) + IL_0001: ldftn void ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction::Test(string) IL_0007: newobj instance void [mscorlib]System.Action::.ctor(object, native int) IL_000c: ret @@ -833,7 +833,7 @@ // Code size 13 (0xd) .maxstack 8 IL_0000: ldnull - IL_0001: ldftn class [mscorlib]System.Action DelegateConstruction::ExtensionMethodBound() + IL_0001: ldftn class [mscorlib]System.Action ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction::ExtensionMethodBound() IL_0007: newobj instance void class [mscorlib]System.Func`1::.ctor(object, native int) IL_000c: ret @@ -870,18 +870,18 @@ .maxstack 3 .locals init (class [mscorlib]System.Collections.Generic.List`1> V_0, int32 V_1, - class DelegateConstruction/'<>c__DisplayClass1' V_2) + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass1' V_2) IL_0000: newobj instance void class [mscorlib]System.Collections.Generic.List`1>::.ctor() IL_0005: stloc.0 IL_0006: ldc.i4.0 IL_0007: stloc.1 IL_0008: br.s IL_0026 - IL_000a: newobj instance void DelegateConstruction/'<>c__DisplayClass1'::.ctor() + IL_000a: newobj instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass1'::.ctor() IL_000f: stloc.2 IL_0010: ldloc.0 IL_0011: ldloc.2 - IL_0012: ldftn instance void DelegateConstruction/'<>c__DisplayClass1'::'b__0'(int32) + IL_0012: ldftn instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass1'::'b__0'(int32) IL_0018: newobj instance void class [mscorlib]System.Action`1::.ctor(object, native int) IL_001d: callvirt instance void class [mscorlib]System.Collections.Generic.List`1>::Add(!0) @@ -905,10 +905,10 @@ .locals init (class [mscorlib]System.Collections.Generic.List`1> V_0, int32 V_1, class [mscorlib]System.Action`1 V_2, - class DelegateConstruction/'<>c__DisplayClass5' V_3) + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass5' V_3) IL_0000: ldnull IL_0001: stloc.2 - IL_0002: newobj instance void DelegateConstruction/'<>c__DisplayClass5'::.ctor() + IL_0002: newobj instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass5'::.ctor() IL_0007: stloc.3 IL_0008: newobj instance void class [mscorlib]System.Collections.Generic.List`1>::.ctor() IL_000d: stloc.0 @@ -921,7 +921,7 @@ IL_0014: brtrue.s IL_0023 IL_0016: ldloc.3 - IL_0017: ldftn instance void DelegateConstruction/'<>c__DisplayClass5'::'b__3'(int32) + IL_0017: ldftn instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass5'::'b__3'(int32) IL_001d: newobj instance void class [mscorlib]System.Action`1::.ctor(object, native int) IL_0022: stloc.2 @@ -944,15 +944,15 @@ { // Code size 30 (0x1e) .maxstack 8 - IL_0000: ldsfld class [mscorlib]System.Action DelegateConstruction::'CS$<>9__CachedAnonymousMethodDelegate8' + IL_0000: ldsfld class [mscorlib]System.Action ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction::'CS$<>9__CachedAnonymousMethodDelegate8' IL_0005: brtrue.s IL_0018 IL_0007: ldnull - IL_0008: ldftn void DelegateConstruction::'b__7'() + IL_0008: ldftn void ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction::'b__7'() IL_000e: newobj instance void [mscorlib]System.Action::.ctor(object, native int) - IL_0013: stsfld class [mscorlib]System.Action DelegateConstruction::'CS$<>9__CachedAnonymousMethodDelegate8' - IL_0018: ldsfld class [mscorlib]System.Action DelegateConstruction::'CS$<>9__CachedAnonymousMethodDelegate8' + IL_0013: stsfld class [mscorlib]System.Action ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction::'CS$<>9__CachedAnonymousMethodDelegate8' + IL_0018: ldsfld class [mscorlib]System.Action ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction::'CS$<>9__CachedAnonymousMethodDelegate8' IL_001d: ret } // end of method DelegateConstruction::StaticAnonymousMethodNoClosure @@ -963,7 +963,7 @@ .locals init (class [mscorlib]System.Collections.Generic.List`1> V_0, int32 V_1, class [mscorlib]System.Action`1 V_2, - class DelegateConstruction/'<>c__DisplayClassb' V_3) + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClassb' V_3) IL_0000: newobj instance void class [mscorlib]System.Collections.Generic.List`1>::.ctor() IL_0005: stloc.0 IL_0006: ldc.i4.0 @@ -972,11 +972,11 @@ IL_000a: ldnull IL_000b: stloc.2 - IL_000c: newobj instance void DelegateConstruction/'<>c__DisplayClassb'::.ctor() + IL_000c: newobj instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClassb'::.ctor() IL_0011: stloc.3 IL_0012: ldloc.3 IL_0013: ldc.i4.0 - IL_0014: stfld int32 DelegateConstruction/'<>c__DisplayClassb'::i + IL_0014: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClassb'::i IL_0019: br.s IL_0040 IL_001b: ldloc.0 @@ -984,7 +984,7 @@ IL_001d: brtrue.s IL_002c IL_001f: ldloc.3 - IL_0020: ldftn instance void DelegateConstruction/'<>c__DisplayClassb'::'b__9'(int32) + IL_0020: ldftn instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClassb'::'b__9'(int32) IL_0026: newobj instance void class [mscorlib]System.Action`1::.ctor(object, native int) IL_002b: stloc.2 @@ -992,12 +992,12 @@ IL_002d: callvirt instance void class [mscorlib]System.Collections.Generic.List`1>::Add(!0) IL_0032: ldloc.3 IL_0033: dup - IL_0034: ldfld int32 DelegateConstruction/'<>c__DisplayClassb'::i + IL_0034: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClassb'::i IL_0039: ldc.i4.1 IL_003a: add - IL_003b: stfld int32 DelegateConstruction/'<>c__DisplayClassb'::i + IL_003b: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClassb'::i IL_0040: ldloc.3 - IL_0041: ldfld int32 DelegateConstruction/'<>c__DisplayClassb'::i + IL_0041: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClassb'::i IL_0046: ldc.i4.s 10 IL_0048: blt.s IL_001b @@ -1025,15 +1025,15 @@ IL_0008: br.s IL_0031 IL_000a: ldloc.0 - IL_000b: ldsfld class [mscorlib]System.Action`1 DelegateConstruction::'CS$<>9__CachedAnonymousMethodDelegatee' + IL_000b: ldsfld class [mscorlib]System.Action`1 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction::'CS$<>9__CachedAnonymousMethodDelegatee' IL_0010: brtrue.s IL_0023 IL_0012: ldnull - IL_0013: ldftn void DelegateConstruction::'b__d'(int32) + IL_0013: ldftn void ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction::'b__d'(int32) IL_0019: newobj instance void class [mscorlib]System.Action`1::.ctor(object, native int) - IL_001e: stsfld class [mscorlib]System.Action`1 DelegateConstruction::'CS$<>9__CachedAnonymousMethodDelegatee' - IL_0023: ldsfld class [mscorlib]System.Action`1 DelegateConstruction::'CS$<>9__CachedAnonymousMethodDelegatee' + IL_001e: stsfld class [mscorlib]System.Action`1 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction::'CS$<>9__CachedAnonymousMethodDelegatee' + IL_0023: ldsfld class [mscorlib]System.Action`1 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction::'CS$<>9__CachedAnonymousMethodDelegatee' IL_0028: callvirt instance void class [mscorlib]System.Collections.Generic.List`1>::Add(!0) IL_002d: ldloc.1 IL_002e: ldc.i4.1 @@ -1051,15 +1051,15 @@ { // Code size 30 (0x1e) .maxstack 8 - IL_0000: ldsfld class [mscorlib]System.Action`1 DelegateConstruction::'CS$<>9__CachedAnonymousMethodDelegate10' + IL_0000: ldsfld class [mscorlib]System.Action`1 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction::'CS$<>9__CachedAnonymousMethodDelegate10' IL_0005: brtrue.s IL_0018 IL_0007: ldnull - IL_0008: ldftn void DelegateConstruction::'b__f'(int32) + IL_0008: ldftn void ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction::'b__f'(int32) IL_000e: newobj instance void class [mscorlib]System.Action`1::.ctor(object, native int) - IL_0013: stsfld class [mscorlib]System.Action`1 DelegateConstruction::'CS$<>9__CachedAnonymousMethodDelegate10' - IL_0018: ldsfld class [mscorlib]System.Action`1 DelegateConstruction::'CS$<>9__CachedAnonymousMethodDelegate10' + IL_0013: stsfld class [mscorlib]System.Action`1 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction::'CS$<>9__CachedAnonymousMethodDelegate10' + IL_0018: ldsfld class [mscorlib]System.Action`1 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction::'CS$<>9__CachedAnonymousMethodDelegate10' IL_001d: ret } // end of method DelegateConstruction::NameConflict3 @@ -1068,14 +1068,14 @@ { // Code size 26 (0x1a) .maxstack 2 - .locals init (class DelegateConstruction/'<>c__DisplayClass13' V_0) - IL_0000: newobj instance void DelegateConstruction/'<>c__DisplayClass13'::.ctor() + .locals init (class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass13' V_0) + IL_0000: newobj instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass13'::.ctor() IL_0005: stloc.0 IL_0006: ldloc.0 IL_0007: ldarg.0 - IL_0008: stfld int32 DelegateConstruction/'<>c__DisplayClass13'::a + IL_0008: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass13'::a IL_000d: ldloc.0 - IL_000e: ldftn instance class [mscorlib]System.Func`2 DelegateConstruction/'<>c__DisplayClass13'::'b__11'(int32) + IL_000e: ldftn instance class [mscorlib]System.Func`2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass13'::'b__11'(int32) IL_0014: newobj instance void class [mscorlib]System.Func`2>::.ctor(object, native int) IL_0019: ret @@ -1086,14 +1086,14 @@ { // Code size 26 (0x1a) .maxstack 2 - .locals init (class DelegateConstruction/'<>c__DisplayClass1a' V_0) - IL_0000: newobj instance void DelegateConstruction/'<>c__DisplayClass1a'::.ctor() + .locals init (class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass1a' V_0) + IL_0000: newobj instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass1a'::.ctor() IL_0005: stloc.0 IL_0006: ldloc.0 IL_0007: ldarg.0 - IL_0008: stfld int32 DelegateConstruction/'<>c__DisplayClass1a'::a + IL_0008: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass1a'::a IL_000d: ldloc.0 - IL_000e: ldftn instance class [mscorlib]System.Func`2> DelegateConstruction/'<>c__DisplayClass1a'::'b__17'(int32) + IL_000e: ldftn instance class [mscorlib]System.Func`2> ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass1a'::'b__17'(int32) IL_0014: newobj instance void class [mscorlib]System.Func`2>>::.ctor(object, native int) IL_0019: ret @@ -1141,7 +1141,7 @@ IL_0012: ret } // end of method DelegateConstruction::'b__f' -} // end of class DelegateConstruction +} // end of class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction // ============================================================= diff --git a/ICSharpCode.Decompiler.Tests/TestCases/Pretty/DelegateConstruction.opt.roslyn.il b/ICSharpCode.Decompiler.Tests/TestCases/Pretty/DelegateConstruction.opt.roslyn.il index afa8fe5da..e4f4a6bff 100644 --- a/ICSharpCode.Decompiler.Tests/TestCases/Pretty/DelegateConstruction.opt.roslyn.il +++ b/ICSharpCode.Decompiler.Tests/TestCases/Pretty/DelegateConstruction.opt.roslyn.il @@ -1,5 +1,5 @@ -// Microsoft (R) .NET Framework IL Disassembler. Version 4.0.30319.17929 +// Microsoft (R) .NET Framework IL Disassembler. Version 4.6.1055.0 // Copyright (c) Microsoft Corporation. All rights reserved. @@ -31,19 +31,19 @@ .ver 0:0:0:0 } .module DelegateConstruction.dll -// MVID: {D01DFE9F-2A31-46AA-8CBD-03D412485F40} +// MVID: {534F3E90-3206-4E6A-821F-26BFD75A6959} .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: 0x009F0000 +// Image base: 0x01460000 // =============== CLASS MEMBERS DECLARATION =================== -.class public abstract auto ansi sealed beforefieldinit DelegateConstruction +.class public abstract auto ansi sealed beforefieldinit ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction extends [mscorlib]System.Object { .custom instance void [mscorlib]System.Runtime.CompilerServices.ExtensionAttribute::.ctor() = ( 01 00 00 00 ) @@ -55,7 +55,7 @@ { .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) .field public int32 a - .field public class DelegateConstruction/InstanceTests '<>4__this' + .field public class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests '<>4__this' .method public hidebysig specialname rtspecialname instance void .ctor() cil managed { @@ -72,10 +72,10 @@ // Code size 19 (0x13) .maxstack 8 IL_0000: ldarg.0 - IL_0001: ldfld class DelegateConstruction/InstanceTests DelegateConstruction/InstanceTests/'<>c__DisplayClass1_0'::'<>4__this' + IL_0001: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass1_0'::'<>4__this' IL_0006: ldarg.0 - IL_0007: ldfld int32 DelegateConstruction/InstanceTests/'<>c__DisplayClass1_0'::a - IL_000c: call instance class [mscorlib]System.Action DelegateConstruction/InstanceTests::CaptureOfThisAndParameter(int32) + IL_0007: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass1_0'::a + IL_000c: call instance class [mscorlib]System.Action ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests::CaptureOfThisAndParameter(int32) IL_0011: pop IL_0012: ret } // end of method '<>c__DisplayClass1_0'::'b__0' @@ -87,7 +87,7 @@ { .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) .field public int32 item - .field public class DelegateConstruction/InstanceTests/'<>c__DisplayClass2_1' 'CS$<>8__locals1' + .field public class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass2_1' 'CS$<>8__locals1' .method public hidebysig specialname rtspecialname instance void .ctor() cil managed { @@ -104,15 +104,15 @@ // Code size 36 (0x24) .maxstack 8 IL_0000: ldarg.0 - IL_0001: ldfld class DelegateConstruction/InstanceTests/'<>c__DisplayClass2_1' DelegateConstruction/InstanceTests/'<>c__DisplayClass2_0'::'CS$<>8__locals1' - IL_0006: ldfld class DelegateConstruction/InstanceTests DelegateConstruction/InstanceTests/'<>c__DisplayClass2_1'::'<>4__this' + IL_0001: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass2_1' ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass2_0'::'CS$<>8__locals1' + IL_0006: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass2_1'::'<>4__this' IL_000b: ldarg.0 - IL_000c: ldfld int32 DelegateConstruction/InstanceTests/'<>c__DisplayClass2_0'::item + IL_000c: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass2_0'::item IL_0011: ldarg.0 - IL_0012: ldfld class DelegateConstruction/InstanceTests/'<>c__DisplayClass2_1' DelegateConstruction/InstanceTests/'<>c__DisplayClass2_0'::'CS$<>8__locals1' - IL_0017: ldfld int32 DelegateConstruction/InstanceTests/'<>c__DisplayClass2_1'::a + IL_0012: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass2_1' ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass2_0'::'CS$<>8__locals1' + IL_0017: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass2_1'::a IL_001c: add - IL_001d: call instance class [mscorlib]System.Action DelegateConstruction/InstanceTests::CaptureOfThisAndParameter(int32) + IL_001d: call instance class [mscorlib]System.Action ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests::CaptureOfThisAndParameter(int32) IL_0022: pop IL_0023: ret } // end of method '<>c__DisplayClass2_0'::'b__0' @@ -124,7 +124,7 @@ { .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) .field public int32 a - .field public class DelegateConstruction/InstanceTests '<>4__this' + .field public class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests '<>4__this' .method public hidebysig specialname rtspecialname instance void .ctor() cil managed { @@ -142,7 +142,7 @@ { .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) .field public int32 item - .field public class DelegateConstruction/InstanceTests/'<>c__DisplayClass3_1' 'CS$<>8__locals1' + .field public class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass3_1' 'CS$<>8__locals1' .method public hidebysig specialname rtspecialname instance void .ctor() cil managed { @@ -160,7 +160,7 @@ { .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) .field public int32 a - .field public class DelegateConstruction/InstanceTests '<>4__this' + .field public class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests '<>4__this' .method public hidebysig specialname rtspecialname instance void .ctor() cil managed { @@ -178,7 +178,7 @@ { .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) .field public int32 copyOfItem - .field public class DelegateConstruction/InstanceTests/'<>c__DisplayClass3_0' 'CS$<>8__locals2' + .field public class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass3_0' 'CS$<>8__locals2' .method public hidebysig specialname rtspecialname instance void .ctor() cil managed { @@ -195,21 +195,21 @@ // Code size 58 (0x3a) .maxstack 8 IL_0000: ldarg.0 - IL_0001: ldfld class DelegateConstruction/InstanceTests/'<>c__DisplayClass3_0' DelegateConstruction/InstanceTests/'<>c__DisplayClass3_2'::'CS$<>8__locals2' - IL_0006: ldfld class DelegateConstruction/InstanceTests/'<>c__DisplayClass3_1' DelegateConstruction/InstanceTests/'<>c__DisplayClass3_0'::'CS$<>8__locals1' - IL_000b: ldfld class DelegateConstruction/InstanceTests DelegateConstruction/InstanceTests/'<>c__DisplayClass3_1'::'<>4__this' + IL_0001: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass3_0' ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass3_2'::'CS$<>8__locals2' + IL_0006: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass3_1' ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass3_0'::'CS$<>8__locals1' + IL_000b: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass3_1'::'<>4__this' IL_0010: ldarg.0 - IL_0011: ldfld class DelegateConstruction/InstanceTests/'<>c__DisplayClass3_0' DelegateConstruction/InstanceTests/'<>c__DisplayClass3_2'::'CS$<>8__locals2' - IL_0016: ldfld int32 DelegateConstruction/InstanceTests/'<>c__DisplayClass3_0'::item + IL_0011: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass3_0' ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass3_2'::'CS$<>8__locals2' + IL_0016: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass3_0'::item IL_001b: ldarg.0 - IL_001c: ldfld class DelegateConstruction/InstanceTests/'<>c__DisplayClass3_0' DelegateConstruction/InstanceTests/'<>c__DisplayClass3_2'::'CS$<>8__locals2' - IL_0021: ldfld class DelegateConstruction/InstanceTests/'<>c__DisplayClass3_1' DelegateConstruction/InstanceTests/'<>c__DisplayClass3_0'::'CS$<>8__locals1' - IL_0026: ldfld int32 DelegateConstruction/InstanceTests/'<>c__DisplayClass3_1'::a + IL_001c: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass3_0' ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass3_2'::'CS$<>8__locals2' + IL_0021: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass3_1' ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass3_0'::'CS$<>8__locals1' + IL_0026: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass3_1'::a IL_002b: add IL_002c: ldarg.0 - IL_002d: ldfld int32 DelegateConstruction/InstanceTests/'<>c__DisplayClass3_2'::copyOfItem + IL_002d: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass3_2'::copyOfItem IL_0032: add - IL_0033: call instance class [mscorlib]System.Action DelegateConstruction/InstanceTests::CaptureOfThisAndParameter(int32) + IL_0033: call instance class [mscorlib]System.Action ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests::CaptureOfThisAndParameter(int32) IL_0038: pop IL_0039: ret } // end of method '<>c__DisplayClass3_2'::'b__0' @@ -222,7 +222,7 @@ // Code size 13 (0xd) .maxstack 8 IL_0000: ldarg.0 - IL_0001: ldftn instance void DelegateConstruction/InstanceTests::'b__0_0'() + IL_0001: ldftn instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests::'b__0_0'() IL_0007: newobj instance void [mscorlib]System.Action::.ctor(object, native int) IL_000c: ret @@ -233,14 +233,14 @@ { // Code size 31 (0x1f) .maxstack 8 - IL_0000: newobj instance void DelegateConstruction/InstanceTests/'<>c__DisplayClass1_0'::.ctor() + IL_0000: newobj instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass1_0'::.ctor() IL_0005: dup IL_0006: ldarg.0 - IL_0007: stfld class DelegateConstruction/InstanceTests DelegateConstruction/InstanceTests/'<>c__DisplayClass1_0'::'<>4__this' + IL_0007: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass1_0'::'<>4__this' IL_000c: dup IL_000d: ldarg.1 - IL_000e: stfld int32 DelegateConstruction/InstanceTests/'<>c__DisplayClass1_0'::a - IL_0013: ldftn instance void DelegateConstruction/InstanceTests/'<>c__DisplayClass1_0'::'b__0'() + IL_000e: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass1_0'::a + IL_0013: ldftn instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass1_0'::'b__0'() IL_0019: newobj instance void [mscorlib]System.Action::.ctor(object, native int) IL_001e: ret @@ -251,18 +251,18 @@ { // Code size 106 (0x6a) .maxstack 2 - .locals init (class DelegateConstruction/InstanceTests/'<>c__DisplayClass2_1' V_0, + .locals init (class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass2_1' V_0, class [mscorlib]System.Collections.Generic.IEnumerator`1 V_1, - class DelegateConstruction/InstanceTests/'<>c__DisplayClass2_0' V_2, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass2_0' V_2, class [mscorlib]System.Action V_3) - IL_0000: newobj instance void DelegateConstruction/InstanceTests/'<>c__DisplayClass2_1'::.ctor() + IL_0000: newobj instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass2_1'::.ctor() IL_0005: stloc.0 IL_0006: ldloc.0 IL_0007: ldarg.0 - IL_0008: stfld class DelegateConstruction/InstanceTests DelegateConstruction/InstanceTests/'<>c__DisplayClass2_1'::'<>4__this' + IL_0008: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass2_1'::'<>4__this' IL_000d: ldloc.0 IL_000e: ldarg.1 - IL_000f: stfld int32 DelegateConstruction/InstanceTests/'<>c__DisplayClass2_1'::a + IL_000f: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass2_1'::a IL_0014: call class [mscorlib]System.Collections.Generic.IEnumerable`1 [System.Core]System.Linq.Enumerable::Empty() IL_0019: callvirt instance class [mscorlib]System.Collections.Generic.IEnumerator`1 class [mscorlib]System.Collections.Generic.IEnumerable`1::GetEnumerator() IL_001e: stloc.1 @@ -270,22 +270,22 @@ { IL_001f: br.s IL_0052 - IL_0021: newobj instance void DelegateConstruction/InstanceTests/'<>c__DisplayClass2_0'::.ctor() + IL_0021: newobj instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass2_0'::.ctor() IL_0026: stloc.2 IL_0027: ldloc.2 IL_0028: ldloc.0 - IL_0029: stfld class DelegateConstruction/InstanceTests/'<>c__DisplayClass2_1' DelegateConstruction/InstanceTests/'<>c__DisplayClass2_0'::'CS$<>8__locals1' + IL_0029: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass2_1' ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass2_0'::'CS$<>8__locals1' IL_002e: ldloc.2 IL_002f: ldloc.1 IL_0030: callvirt instance !0 class [mscorlib]System.Collections.Generic.IEnumerator`1::get_Current() - IL_0035: stfld int32 DelegateConstruction/InstanceTests/'<>c__DisplayClass2_0'::item + IL_0035: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass2_0'::item IL_003a: ldloc.2 - IL_003b: ldfld int32 DelegateConstruction/InstanceTests/'<>c__DisplayClass2_0'::item + IL_003b: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass2_0'::item IL_0040: ldc.i4.0 IL_0041: ble.s IL_0052 IL_0043: ldloc.2 - IL_0044: ldftn instance void DelegateConstruction/InstanceTests/'<>c__DisplayClass2_0'::'b__0'() + IL_0044: ldftn instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass2_0'::'b__0'() IL_004a: newobj instance void [mscorlib]System.Action::.ctor(object, native int) IL_004f: stloc.3 @@ -319,19 +319,19 @@ { // Code size 143 (0x8f) .maxstack 2 - .locals init (class DelegateConstruction/InstanceTests/'<>c__DisplayClass3_1' V_0, + .locals init (class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass3_1' V_0, class [mscorlib]System.Collections.Generic.IEnumerator`1 V_1, - class DelegateConstruction/InstanceTests/'<>c__DisplayClass3_0' V_2, - class DelegateConstruction/InstanceTests/'<>c__DisplayClass3_2' V_3, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass3_0' V_2, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass3_2' V_3, class [mscorlib]System.Action V_4) - IL_0000: newobj instance void DelegateConstruction/InstanceTests/'<>c__DisplayClass3_1'::.ctor() + IL_0000: newobj instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass3_1'::.ctor() IL_0005: stloc.0 IL_0006: ldloc.0 IL_0007: ldarg.0 - IL_0008: stfld class DelegateConstruction/InstanceTests DelegateConstruction/InstanceTests/'<>c__DisplayClass3_1'::'<>4__this' + IL_0008: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass3_1'::'<>4__this' IL_000d: ldloc.0 IL_000e: ldarg.1 - IL_000f: stfld int32 DelegateConstruction/InstanceTests/'<>c__DisplayClass3_1'::a + IL_000f: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass3_1'::a IL_0014: call class [mscorlib]System.Collections.Generic.IEnumerable`1 [System.Core]System.Linq.Enumerable::Empty() IL_0019: callvirt instance class [mscorlib]System.Collections.Generic.IEnumerator`1 class [mscorlib]System.Collections.Generic.IEnumerable`1::GetEnumerator() IL_001e: stloc.1 @@ -339,33 +339,33 @@ { IL_001f: br.s IL_0076 - IL_0021: newobj instance void DelegateConstruction/InstanceTests/'<>c__DisplayClass3_0'::.ctor() + IL_0021: newobj instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass3_0'::.ctor() IL_0026: stloc.2 IL_0027: ldloc.2 IL_0028: ldloc.0 - IL_0029: stfld class DelegateConstruction/InstanceTests/'<>c__DisplayClass3_1' DelegateConstruction/InstanceTests/'<>c__DisplayClass3_0'::'CS$<>8__locals1' + IL_0029: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass3_1' ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass3_0'::'CS$<>8__locals1' IL_002e: ldloc.2 IL_002f: ldloc.1 IL_0030: callvirt instance !0 class [mscorlib]System.Collections.Generic.IEnumerator`1::get_Current() - IL_0035: stfld int32 DelegateConstruction/InstanceTests/'<>c__DisplayClass3_0'::item - IL_003a: newobj instance void DelegateConstruction/InstanceTests/'<>c__DisplayClass3_2'::.ctor() + IL_0035: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass3_0'::item + IL_003a: newobj instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass3_2'::.ctor() IL_003f: stloc.3 IL_0040: ldloc.3 IL_0041: ldloc.2 - IL_0042: stfld class DelegateConstruction/InstanceTests/'<>c__DisplayClass3_0' DelegateConstruction/InstanceTests/'<>c__DisplayClass3_2'::'CS$<>8__locals2' + IL_0042: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass3_0' ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass3_2'::'CS$<>8__locals2' IL_0047: ldloc.3 IL_0048: ldloc.3 - IL_0049: ldfld class DelegateConstruction/InstanceTests/'<>c__DisplayClass3_0' DelegateConstruction/InstanceTests/'<>c__DisplayClass3_2'::'CS$<>8__locals2' - IL_004e: ldfld int32 DelegateConstruction/InstanceTests/'<>c__DisplayClass3_0'::item - IL_0053: stfld int32 DelegateConstruction/InstanceTests/'<>c__DisplayClass3_2'::copyOfItem + IL_0049: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass3_0' ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass3_2'::'CS$<>8__locals2' + IL_004e: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass3_0'::item + IL_0053: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass3_2'::copyOfItem IL_0058: ldloc.3 - IL_0059: ldfld class DelegateConstruction/InstanceTests/'<>c__DisplayClass3_0' DelegateConstruction/InstanceTests/'<>c__DisplayClass3_2'::'CS$<>8__locals2' - IL_005e: ldfld int32 DelegateConstruction/InstanceTests/'<>c__DisplayClass3_0'::item + IL_0059: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass3_0' ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass3_2'::'CS$<>8__locals2' + IL_005e: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass3_0'::item IL_0063: ldc.i4.0 IL_0064: ble.s IL_0076 IL_0066: ldloc.3 - IL_0067: ldftn instance void DelegateConstruction/InstanceTests/'<>c__DisplayClass3_2'::'b__0'() + IL_0067: ldftn instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass3_2'::'b__0'() IL_006d: newobj instance void [mscorlib]System.Action::.ctor(object, native int) IL_0072: stloc.s V_4 @@ -406,10 +406,10 @@ IL_0004: ldarg.0 IL_0005: ldarg.0 - IL_0006: ldftn instance int32 DelegateConstruction/InstanceTests::'b__4_0'() + IL_0006: ldftn instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests::'b__4_0'() IL_000c: newobj instance void class [mscorlib]System.Func`1::.ctor(object, native int) - IL_0011: call instance void DelegateConstruction/InstanceTests::Bar(class [mscorlib]System.Func`1) + IL_0011: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests::Bar(class [mscorlib]System.Func`1) IL_0016: ldloc.0 IL_0017: ldc.i4.1 IL_0018: add @@ -455,7 +455,7 @@ // Code size 8 (0x8) .maxstack 8 IL_0000: ldarg.0 - IL_0001: call instance class [mscorlib]System.Action DelegateConstruction/InstanceTests::CaptureOfThis() + IL_0001: call instance class [mscorlib]System.Action ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests::CaptureOfThis() IL_0006: pop IL_0007: ret } // end of method InstanceTests::'b__0_0' @@ -467,7 +467,7 @@ // Code size 7 (0x7) .maxstack 8 IL_0000: ldarg.0 - IL_0001: call instance int32 DelegateConstruction/InstanceTests::Foo() + IL_0001: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests::Foo() IL_0006: ret } // end of method InstanceTests::'b__4_0' @@ -495,7 +495,7 @@ .maxstack 8 IL_0000: ldarg.0 IL_0001: ldarg.1 - IL_0002: stfld int32 DelegateConstruction/'<>c__DisplayClass8_0'::counter + IL_0002: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass8_0'::counter IL_0007: ret } // end of method '<>c__DisplayClass8_0'::'b__0' @@ -524,7 +524,7 @@ .maxstack 8 IL_0000: ldarg.0 IL_0001: ldarg.1 - IL_0002: stfld int32 DelegateConstruction/'<>c__DisplayClass9_0'::counter + IL_0002: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass9_0'::counter IL_0007: ret } // end of method '<>c__DisplayClass9_0'::'b__0' @@ -534,7 +534,7 @@ extends [mscorlib]System.Object { .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) - .field public static initonly class DelegateConstruction/'<>c' '<>9' + .field public static initonly class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c' '<>9' .field public static class [mscorlib]System.Action '<>9__10_0' .field public static class [mscorlib]System.Action`1 '<>9__12_0' .field public static class [mscorlib]System.Action`1 '<>9__13_0' @@ -543,8 +543,8 @@ { // Code size 11 (0xb) .maxstack 8 - IL_0000: newobj instance void DelegateConstruction/'<>c'::.ctor() - IL_0005: stsfld class DelegateConstruction/'<>c' DelegateConstruction/'<>c'::'<>9' + IL_0000: newobj instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c'::.ctor() + IL_0005: stsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c' ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c'::'<>9' IL_000a: ret } // end of method '<>c'::.cctor @@ -634,7 +634,7 @@ IL_000c: stloc.0 IL_000d: ldloc.0 IL_000e: ldarg.0 - IL_000f: ldfld int32 DelegateConstruction/'<>c__DisplayClass11_0'::i + IL_000f: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass11_0'::i IL_0014: blt.s IL_0004 IL_0016: ret @@ -662,14 +662,14 @@ { // Code size 31 (0x1f) .maxstack 8 - IL_0000: newobj instance void DelegateConstruction/'<>c__DisplayClass14_1'::.ctor() + IL_0000: newobj instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass14_1'::.ctor() IL_0005: dup IL_0006: ldarg.0 - IL_0007: stfld class DelegateConstruction/'<>c__DisplayClass14_0' DelegateConstruction/'<>c__DisplayClass14_1'::'CS$<>8__locals1' + IL_0007: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass14_0' ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass14_1'::'CS$<>8__locals1' IL_000c: dup IL_000d: ldarg.1 - IL_000e: stfld int32 DelegateConstruction/'<>c__DisplayClass14_1'::b - IL_0013: ldftn instance int32 DelegateConstruction/'<>c__DisplayClass14_1'::'b__1'(int32) + IL_000e: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass14_1'::b + IL_0013: ldftn instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass14_1'::'b__1'(int32) IL_0019: newobj instance void class [mscorlib]System.Func`2::.ctor(object, native int) IL_001e: ret @@ -682,7 +682,7 @@ { .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) .field public int32 b - .field public class DelegateConstruction/'<>c__DisplayClass14_0' 'CS$<>8__locals1' + .field public class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass14_0' 'CS$<>8__locals1' .method public hidebysig specialname rtspecialname instance void .ctor() cil managed { @@ -699,10 +699,10 @@ // Code size 21 (0x15) .maxstack 8 IL_0000: ldarg.0 - IL_0001: ldfld class DelegateConstruction/'<>c__DisplayClass14_0' DelegateConstruction/'<>c__DisplayClass14_1'::'CS$<>8__locals1' - IL_0006: ldfld int32 DelegateConstruction/'<>c__DisplayClass14_0'::a + IL_0001: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass14_0' ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass14_1'::'CS$<>8__locals1' + IL_0006: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass14_0'::a IL_000b: ldarg.0 - IL_000c: ldfld int32 DelegateConstruction/'<>c__DisplayClass14_1'::b + IL_000c: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass14_1'::b IL_0011: add IL_0012: ldarg.1 IL_0013: add @@ -731,14 +731,14 @@ { // Code size 31 (0x1f) .maxstack 8 - IL_0000: newobj instance void DelegateConstruction/'<>c__DisplayClass15_1'::.ctor() + IL_0000: newobj instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass15_1'::.ctor() IL_0005: dup IL_0006: ldarg.0 - IL_0007: stfld class DelegateConstruction/'<>c__DisplayClass15_0' DelegateConstruction/'<>c__DisplayClass15_1'::'CS$<>8__locals1' + IL_0007: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass15_0' ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass15_1'::'CS$<>8__locals1' IL_000c: dup IL_000d: ldarg.1 - IL_000e: stfld int32 DelegateConstruction/'<>c__DisplayClass15_1'::b - IL_0013: ldftn instance class [mscorlib]System.Func`2 DelegateConstruction/'<>c__DisplayClass15_1'::'b__1'(int32) + IL_000e: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass15_1'::b + IL_0013: ldftn instance class [mscorlib]System.Func`2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass15_1'::'b__1'(int32) IL_0019: newobj instance void class [mscorlib]System.Func`2>::.ctor(object, native int) IL_001e: ret @@ -751,7 +751,7 @@ { .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) .field public int32 b - .field public class DelegateConstruction/'<>c__DisplayClass15_0' 'CS$<>8__locals1' + .field public class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass15_0' 'CS$<>8__locals1' .method public hidebysig specialname rtspecialname instance void .ctor() cil managed { @@ -767,14 +767,14 @@ { // Code size 31 (0x1f) .maxstack 8 - IL_0000: newobj instance void DelegateConstruction/'<>c__DisplayClass15_2'::.ctor() + IL_0000: newobj instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass15_2'::.ctor() IL_0005: dup IL_0006: ldarg.0 - IL_0007: stfld class DelegateConstruction/'<>c__DisplayClass15_1' DelegateConstruction/'<>c__DisplayClass15_2'::'CS$<>8__locals2' + IL_0007: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass15_1' ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass15_2'::'CS$<>8__locals2' IL_000c: dup IL_000d: ldarg.1 - IL_000e: stfld int32 DelegateConstruction/'<>c__DisplayClass15_2'::c - IL_0013: ldftn instance int32 DelegateConstruction/'<>c__DisplayClass15_2'::'b__2'(int32) + IL_000e: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass15_2'::c + IL_0013: ldftn instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass15_2'::'b__2'(int32) IL_0019: newobj instance void class [mscorlib]System.Func`2::.ctor(object, native int) IL_001e: ret @@ -787,7 +787,7 @@ { .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) .field public int32 c - .field public class DelegateConstruction/'<>c__DisplayClass15_1' 'CS$<>8__locals2' + .field public class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass15_1' 'CS$<>8__locals2' .method public hidebysig specialname rtspecialname instance void .ctor() cil managed { @@ -804,15 +804,15 @@ // Code size 38 (0x26) .maxstack 8 IL_0000: ldarg.0 - IL_0001: ldfld class DelegateConstruction/'<>c__DisplayClass15_1' DelegateConstruction/'<>c__DisplayClass15_2'::'CS$<>8__locals2' - IL_0006: ldfld class DelegateConstruction/'<>c__DisplayClass15_0' DelegateConstruction/'<>c__DisplayClass15_1'::'CS$<>8__locals1' - IL_000b: ldfld int32 DelegateConstruction/'<>c__DisplayClass15_0'::a + IL_0001: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass15_1' ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass15_2'::'CS$<>8__locals2' + IL_0006: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass15_0' ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass15_1'::'CS$<>8__locals1' + IL_000b: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass15_0'::a IL_0010: ldarg.0 - IL_0011: ldfld class DelegateConstruction/'<>c__DisplayClass15_1' DelegateConstruction/'<>c__DisplayClass15_2'::'CS$<>8__locals2' - IL_0016: ldfld int32 DelegateConstruction/'<>c__DisplayClass15_1'::b + IL_0011: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass15_1' ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass15_2'::'CS$<>8__locals2' + IL_0016: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass15_1'::b IL_001b: add IL_001c: ldarg.0 - IL_001d: ldfld int32 DelegateConstruction/'<>c__DisplayClass15_2'::c + IL_001d: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass15_2'::c IL_0022: add IL_0023: ldarg.1 IL_0024: add @@ -835,7 +835,7 @@ // Code size 13 (0xd) .maxstack 8 IL_0000: ldnull - IL_0001: ldftn void DelegateConstruction::Test(string) + IL_0001: ldftn void ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction::Test(string) IL_0007: newobj instance void class [mscorlib]System.Action`1::.ctor(object, native int) IL_000c: ret @@ -847,7 +847,7 @@ // Code size 17 (0x11) .maxstack 8 IL_0000: ldstr "abc" - IL_0005: ldftn void DelegateConstruction::Test(string) + IL_0005: ldftn void ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction::Test(string) IL_000b: newobj instance void [mscorlib]System.Action::.ctor(object, native int) IL_0010: ret @@ -859,7 +859,7 @@ // Code size 13 (0xd) .maxstack 8 IL_0000: ldnull - IL_0001: ldftn void DelegateConstruction::Test(string) + IL_0001: ldftn void ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction::Test(string) IL_0007: newobj instance void [mscorlib]System.Action::.ctor(object, native int) IL_000c: ret @@ -871,7 +871,7 @@ // Code size 13 (0xd) .maxstack 8 IL_0000: ldnull - IL_0001: ldftn class [mscorlib]System.Action DelegateConstruction::ExtensionMethodBound() + IL_0001: ldftn class [mscorlib]System.Action ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction::ExtensionMethodBound() IL_0007: newobj instance void class [mscorlib]System.Func`1::.ctor(object, native int) IL_000c: ret @@ -908,18 +908,18 @@ .maxstack 3 .locals init (class [mscorlib]System.Collections.Generic.List`1> V_0, int32 V_1, - class DelegateConstruction/'<>c__DisplayClass8_0' V_2) + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass8_0' V_2) IL_0000: newobj instance void class [mscorlib]System.Collections.Generic.List`1>::.ctor() IL_0005: stloc.0 IL_0006: ldc.i4.0 IL_0007: stloc.1 IL_0008: br.s IL_0026 - IL_000a: newobj instance void DelegateConstruction/'<>c__DisplayClass8_0'::.ctor() + IL_000a: newobj instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass8_0'::.ctor() IL_000f: stloc.2 IL_0010: ldloc.0 IL_0011: ldloc.2 - IL_0012: ldftn instance void DelegateConstruction/'<>c__DisplayClass8_0'::'b__0'(int32) + IL_0012: ldftn instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass8_0'::'b__0'(int32) IL_0018: newobj instance void class [mscorlib]System.Action`1::.ctor(object, native int) IL_001d: callvirt instance void class [mscorlib]System.Collections.Generic.List`1>::Add(!0) @@ -940,11 +940,11 @@ { // Code size 64 (0x40) .maxstack 4 - .locals init (class DelegateConstruction/'<>c__DisplayClass9_0' V_0, + .locals init (class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass9_0' V_0, class [mscorlib]System.Collections.Generic.List`1> V_1, int32 V_2, class [mscorlib]System.Action`1 V_3) - IL_0000: newobj instance void DelegateConstruction/'<>c__DisplayClass9_0'::.ctor() + IL_0000: newobj instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass9_0'::.ctor() IL_0005: stloc.0 IL_0006: newobj instance void class [mscorlib]System.Collections.Generic.List`1>::.ctor() IL_000b: stloc.1 @@ -954,19 +954,19 @@ IL_0010: ldloc.1 IL_0011: ldloc.0 - IL_0012: ldfld class [mscorlib]System.Action`1 DelegateConstruction/'<>c__DisplayClass9_0'::'<>9__0' + IL_0012: ldfld class [mscorlib]System.Action`1 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass9_0'::'<>9__0' IL_0017: dup IL_0018: brtrue.s IL_0030 IL_001a: pop IL_001b: ldloc.0 IL_001c: ldloc.0 - IL_001d: ldftn instance void DelegateConstruction/'<>c__DisplayClass9_0'::'b__0'(int32) + IL_001d: ldftn instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass9_0'::'b__0'(int32) IL_0023: newobj instance void class [mscorlib]System.Action`1::.ctor(object, native int) IL_0028: dup IL_0029: stloc.3 - IL_002a: stfld class [mscorlib]System.Action`1 DelegateConstruction/'<>c__DisplayClass9_0'::'<>9__0' + IL_002a: stfld class [mscorlib]System.Action`1 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass9_0'::'<>9__0' IL_002f: ldloc.3 IL_0030: callvirt instance void class [mscorlib]System.Collections.Generic.List`1>::Add(!0) IL_0035: ldloc.2 @@ -986,17 +986,17 @@ { // Code size 32 (0x20) .maxstack 8 - IL_0000: ldsfld class [mscorlib]System.Action DelegateConstruction/'<>c'::'<>9__10_0' + IL_0000: ldsfld class [mscorlib]System.Action ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c'::'<>9__10_0' IL_0005: dup IL_0006: brtrue.s IL_001f IL_0008: pop - IL_0009: ldsfld class DelegateConstruction/'<>c' DelegateConstruction/'<>c'::'<>9' - IL_000e: ldftn instance void DelegateConstruction/'<>c'::'b__10_0'() + IL_0009: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c' ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c'::'<>9' + IL_000e: ldftn instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c'::'b__10_0'() IL_0014: newobj instance void [mscorlib]System.Action::.ctor(object, native int) IL_0019: dup - IL_001a: stsfld class [mscorlib]System.Action DelegateConstruction/'<>c'::'<>9__10_0' + IL_001a: stsfld class [mscorlib]System.Action ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c'::'<>9__10_0' IL_001f: ret } // end of method DelegateConstruction::StaticAnonymousMethodNoClosure @@ -1006,7 +1006,7 @@ .maxstack 3 .locals init (class [mscorlib]System.Collections.Generic.List`1> V_0, int32 V_1, - class DelegateConstruction/'<>c__DisplayClass11_0' V_2, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass11_0' V_2, int32 V_3) IL_0000: newobj instance void class [mscorlib]System.Collections.Generic.List`1>::.ctor() IL_0005: stloc.0 @@ -1014,29 +1014,29 @@ IL_0007: stloc.1 IL_0008: br.s IL_0049 - IL_000a: newobj instance void DelegateConstruction/'<>c__DisplayClass11_0'::.ctor() + IL_000a: newobj instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass11_0'::.ctor() IL_000f: stloc.2 IL_0010: ldloc.2 IL_0011: ldc.i4.0 - IL_0012: stfld int32 DelegateConstruction/'<>c__DisplayClass11_0'::i + IL_0012: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass11_0'::i IL_0017: br.s IL_003b IL_0019: ldloc.0 IL_001a: ldloc.2 - IL_001b: ldftn instance void DelegateConstruction/'<>c__DisplayClass11_0'::'b__0'(int32) + IL_001b: ldftn instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass11_0'::'b__0'(int32) IL_0021: newobj instance void class [mscorlib]System.Action`1::.ctor(object, native int) IL_0026: callvirt instance void class [mscorlib]System.Collections.Generic.List`1>::Add(!0) IL_002b: ldloc.2 - IL_002c: ldfld int32 DelegateConstruction/'<>c__DisplayClass11_0'::i + IL_002c: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass11_0'::i IL_0031: stloc.3 IL_0032: ldloc.2 IL_0033: ldloc.3 IL_0034: ldc.i4.1 IL_0035: add - IL_0036: stfld int32 DelegateConstruction/'<>c__DisplayClass11_0'::i + IL_0036: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass11_0'::i IL_003b: ldloc.2 - IL_003c: ldfld int32 DelegateConstruction/'<>c__DisplayClass11_0'::i + IL_003c: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass11_0'::i IL_0041: ldc.i4.s 10 IL_0043: blt.s IL_0019 @@ -1064,17 +1064,17 @@ IL_0008: br.s IL_0033 IL_000a: ldloc.0 - IL_000b: ldsfld class [mscorlib]System.Action`1 DelegateConstruction/'<>c'::'<>9__12_0' + IL_000b: ldsfld class [mscorlib]System.Action`1 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c'::'<>9__12_0' IL_0010: dup IL_0011: brtrue.s IL_002a IL_0013: pop - IL_0014: ldsfld class DelegateConstruction/'<>c' DelegateConstruction/'<>c'::'<>9' - IL_0019: ldftn instance void DelegateConstruction/'<>c'::'b__12_0'(int32) + IL_0014: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c' ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c'::'<>9' + IL_0019: ldftn instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c'::'b__12_0'(int32) IL_001f: newobj instance void class [mscorlib]System.Action`1::.ctor(object, native int) IL_0024: dup - IL_0025: stsfld class [mscorlib]System.Action`1 DelegateConstruction/'<>c'::'<>9__12_0' + IL_0025: stsfld class [mscorlib]System.Action`1 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c'::'<>9__12_0' IL_002a: callvirt instance void class [mscorlib]System.Collections.Generic.List`1>::Add(!0) IL_002f: ldloc.1 IL_0030: ldc.i4.1 @@ -1092,17 +1092,17 @@ { // Code size 32 (0x20) .maxstack 8 - IL_0000: ldsfld class [mscorlib]System.Action`1 DelegateConstruction/'<>c'::'<>9__13_0' + IL_0000: ldsfld class [mscorlib]System.Action`1 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c'::'<>9__13_0' IL_0005: dup IL_0006: brtrue.s IL_001f IL_0008: pop - IL_0009: ldsfld class DelegateConstruction/'<>c' DelegateConstruction/'<>c'::'<>9' - IL_000e: ldftn instance void DelegateConstruction/'<>c'::'b__13_0'(int32) + IL_0009: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c' ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c'::'<>9' + IL_000e: ldftn instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c'::'b__13_0'(int32) IL_0014: newobj instance void class [mscorlib]System.Action`1::.ctor(object, native int) IL_0019: dup - IL_001a: stsfld class [mscorlib]System.Action`1 DelegateConstruction/'<>c'::'<>9__13_0' + IL_001a: stsfld class [mscorlib]System.Action`1 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c'::'<>9__13_0' IL_001f: ret } // end of method DelegateConstruction::NameConflict3 @@ -1111,11 +1111,11 @@ { // Code size 24 (0x18) .maxstack 8 - IL_0000: newobj instance void DelegateConstruction/'<>c__DisplayClass14_0'::.ctor() + IL_0000: newobj instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass14_0'::.ctor() IL_0005: dup IL_0006: ldarg.0 - IL_0007: stfld int32 DelegateConstruction/'<>c__DisplayClass14_0'::a - IL_000c: ldftn instance class [mscorlib]System.Func`2 DelegateConstruction/'<>c__DisplayClass14_0'::'b__0'(int32) + IL_0007: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass14_0'::a + IL_000c: ldftn instance class [mscorlib]System.Func`2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass14_0'::'b__0'(int32) IL_0012: newobj instance void class [mscorlib]System.Func`2>::.ctor(object, native int) IL_0017: ret @@ -1126,17 +1126,17 @@ { // Code size 24 (0x18) .maxstack 8 - IL_0000: newobj instance void DelegateConstruction/'<>c__DisplayClass15_0'::.ctor() + IL_0000: newobj instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass15_0'::.ctor() IL_0005: dup IL_0006: ldarg.0 - IL_0007: stfld int32 DelegateConstruction/'<>c__DisplayClass15_0'::a - IL_000c: ldftn instance class [mscorlib]System.Func`2> DelegateConstruction/'<>c__DisplayClass15_0'::'b__0'(int32) + IL_0007: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass15_0'::a + IL_000c: ldftn instance class [mscorlib]System.Func`2> ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass15_0'::'b__0'(int32) IL_0012: newobj instance void class [mscorlib]System.Func`2>>::.ctor(object, native int) IL_0017: ret } // end of method DelegateConstruction::CurriedAddition2 -} // end of class DelegateConstruction +} // end of class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction // ============================================================= diff --git a/ICSharpCode.Decompiler.Tests/TestCases/Pretty/DelegateConstruction.roslyn.il b/ICSharpCode.Decompiler.Tests/TestCases/Pretty/DelegateConstruction.roslyn.il index e793c66c1..f5ea3ce98 100644 --- a/ICSharpCode.Decompiler.Tests/TestCases/Pretty/DelegateConstruction.roslyn.il +++ b/ICSharpCode.Decompiler.Tests/TestCases/Pretty/DelegateConstruction.roslyn.il @@ -1,5 +1,5 @@ -// Microsoft (R) .NET Framework IL Disassembler. Version 4.0.30319.17929 +// Microsoft (R) .NET Framework IL Disassembler. Version 4.6.1055.0 // Copyright (c) Microsoft Corporation. All rights reserved. @@ -31,19 +31,19 @@ .ver 0:0:0:0 } .module DelegateConstruction.dll -// MVID: {518B81C1-649D-4492-9DBC-30B3EB1721A3} +// MVID: {8AC9B4E6-77A7-45DC-BBF4-76DB9EA29AFF} .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: 0x01670000 +// Image base: 0x01820000 // =============== CLASS MEMBERS DECLARATION =================== -.class public abstract auto ansi sealed beforefieldinit DelegateConstruction +.class public abstract auto ansi sealed beforefieldinit ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction extends [mscorlib]System.Object { .custom instance void [mscorlib]System.Runtime.CompilerServices.ExtensionAttribute::.ctor() = ( 01 00 00 00 ) @@ -55,7 +55,7 @@ { .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) .field public int32 a - .field public class DelegateConstruction/InstanceTests '<>4__this' + .field public class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests '<>4__this' .method public hidebysig specialname rtspecialname instance void .ctor() cil managed { @@ -74,10 +74,10 @@ .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class DelegateConstruction/InstanceTests DelegateConstruction/InstanceTests/'<>c__DisplayClass1_0'::'<>4__this' + IL_0002: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass1_0'::'<>4__this' IL_0007: ldarg.0 - IL_0008: ldfld int32 DelegateConstruction/InstanceTests/'<>c__DisplayClass1_0'::a - IL_000d: call instance class [mscorlib]System.Action DelegateConstruction/InstanceTests::CaptureOfThisAndParameter(int32) + IL_0008: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass1_0'::a + IL_000d: call instance class [mscorlib]System.Action ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests::CaptureOfThisAndParameter(int32) IL_0012: pop IL_0013: ret } // end of method '<>c__DisplayClass1_0'::'b__0' @@ -89,7 +89,7 @@ { .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) .field public int32 item - .field public class DelegateConstruction/InstanceTests/'<>c__DisplayClass2_1' 'CS$<>8__locals1' + .field public class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass2_1' 'CS$<>8__locals1' .method public hidebysig specialname rtspecialname instance void .ctor() cil managed { @@ -108,15 +108,15 @@ .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class DelegateConstruction/InstanceTests/'<>c__DisplayClass2_1' DelegateConstruction/InstanceTests/'<>c__DisplayClass2_0'::'CS$<>8__locals1' - IL_0007: ldfld class DelegateConstruction/InstanceTests DelegateConstruction/InstanceTests/'<>c__DisplayClass2_1'::'<>4__this' + IL_0002: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass2_1' ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass2_0'::'CS$<>8__locals1' + IL_0007: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass2_1'::'<>4__this' IL_000c: ldarg.0 - IL_000d: ldfld int32 DelegateConstruction/InstanceTests/'<>c__DisplayClass2_0'::item + IL_000d: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass2_0'::item IL_0012: ldarg.0 - IL_0013: ldfld class DelegateConstruction/InstanceTests/'<>c__DisplayClass2_1' DelegateConstruction/InstanceTests/'<>c__DisplayClass2_0'::'CS$<>8__locals1' - IL_0018: ldfld int32 DelegateConstruction/InstanceTests/'<>c__DisplayClass2_1'::a + IL_0013: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass2_1' ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass2_0'::'CS$<>8__locals1' + IL_0018: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass2_1'::a IL_001d: add - IL_001e: call instance class [mscorlib]System.Action DelegateConstruction/InstanceTests::CaptureOfThisAndParameter(int32) + IL_001e: call instance class [mscorlib]System.Action ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests::CaptureOfThisAndParameter(int32) IL_0023: pop IL_0024: ret } // end of method '<>c__DisplayClass2_0'::'b__0' @@ -128,7 +128,7 @@ { .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) .field public int32 a - .field public class DelegateConstruction/InstanceTests '<>4__this' + .field public class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests '<>4__this' .method public hidebysig specialname rtspecialname instance void .ctor() cil managed { @@ -147,7 +147,7 @@ { .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) .field public int32 item - .field public class DelegateConstruction/InstanceTests/'<>c__DisplayClass3_1' 'CS$<>8__locals1' + .field public class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass3_1' 'CS$<>8__locals1' .method public hidebysig specialname rtspecialname instance void .ctor() cil managed { @@ -166,7 +166,7 @@ { .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) .field public int32 a - .field public class DelegateConstruction/InstanceTests '<>4__this' + .field public class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests '<>4__this' .method public hidebysig specialname rtspecialname instance void .ctor() cil managed { @@ -185,7 +185,7 @@ { .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) .field public int32 copyOfItem - .field public class DelegateConstruction/InstanceTests/'<>c__DisplayClass3_0' 'CS$<>8__locals2' + .field public class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass3_0' 'CS$<>8__locals2' .method public hidebysig specialname rtspecialname instance void .ctor() cil managed { @@ -204,21 +204,21 @@ .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class DelegateConstruction/InstanceTests/'<>c__DisplayClass3_0' DelegateConstruction/InstanceTests/'<>c__DisplayClass3_2'::'CS$<>8__locals2' - IL_0007: ldfld class DelegateConstruction/InstanceTests/'<>c__DisplayClass3_1' DelegateConstruction/InstanceTests/'<>c__DisplayClass3_0'::'CS$<>8__locals1' - IL_000c: ldfld class DelegateConstruction/InstanceTests DelegateConstruction/InstanceTests/'<>c__DisplayClass3_1'::'<>4__this' + IL_0002: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass3_0' ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass3_2'::'CS$<>8__locals2' + IL_0007: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass3_1' ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass3_0'::'CS$<>8__locals1' + IL_000c: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass3_1'::'<>4__this' IL_0011: ldarg.0 - IL_0012: ldfld class DelegateConstruction/InstanceTests/'<>c__DisplayClass3_0' DelegateConstruction/InstanceTests/'<>c__DisplayClass3_2'::'CS$<>8__locals2' - IL_0017: ldfld int32 DelegateConstruction/InstanceTests/'<>c__DisplayClass3_0'::item + IL_0012: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass3_0' ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass3_2'::'CS$<>8__locals2' + IL_0017: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass3_0'::item IL_001c: ldarg.0 - IL_001d: ldfld class DelegateConstruction/InstanceTests/'<>c__DisplayClass3_0' DelegateConstruction/InstanceTests/'<>c__DisplayClass3_2'::'CS$<>8__locals2' - IL_0022: ldfld class DelegateConstruction/InstanceTests/'<>c__DisplayClass3_1' DelegateConstruction/InstanceTests/'<>c__DisplayClass3_0'::'CS$<>8__locals1' - IL_0027: ldfld int32 DelegateConstruction/InstanceTests/'<>c__DisplayClass3_1'::a + IL_001d: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass3_0' ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass3_2'::'CS$<>8__locals2' + IL_0022: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass3_1' ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass3_0'::'CS$<>8__locals1' + IL_0027: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass3_1'::a IL_002c: add IL_002d: ldarg.0 - IL_002e: ldfld int32 DelegateConstruction/InstanceTests/'<>c__DisplayClass3_2'::copyOfItem + IL_002e: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass3_2'::copyOfItem IL_0033: add - IL_0034: call instance class [mscorlib]System.Action DelegateConstruction/InstanceTests::CaptureOfThisAndParameter(int32) + IL_0034: call instance class [mscorlib]System.Action ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests::CaptureOfThisAndParameter(int32) IL_0039: pop IL_003a: ret } // end of method '<>c__DisplayClass3_2'::'b__0' @@ -233,7 +233,7 @@ .locals init (class [mscorlib]System.Action V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldftn instance void DelegateConstruction/InstanceTests::'b__0_0'() + IL_0002: ldftn instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests::'b__0_0'() IL_0008: newobj instance void [mscorlib]System.Action::.ctor(object, native int) IL_000d: stloc.0 @@ -248,19 +248,19 @@ { // Code size 38 (0x26) .maxstack 2 - .locals init (class DelegateConstruction/InstanceTests/'<>c__DisplayClass1_0' V_0, + .locals init (class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass1_0' V_0, class [mscorlib]System.Action V_1) - IL_0000: newobj instance void DelegateConstruction/InstanceTests/'<>c__DisplayClass1_0'::.ctor() + IL_0000: newobj instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass1_0'::.ctor() IL_0005: stloc.0 IL_0006: ldloc.0 IL_0007: ldarg.0 - IL_0008: stfld class DelegateConstruction/InstanceTests DelegateConstruction/InstanceTests/'<>c__DisplayClass1_0'::'<>4__this' + IL_0008: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass1_0'::'<>4__this' IL_000d: ldloc.0 IL_000e: ldarg.1 - IL_000f: stfld int32 DelegateConstruction/InstanceTests/'<>c__DisplayClass1_0'::a + IL_000f: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass1_0'::a IL_0014: nop IL_0015: ldloc.0 - IL_0016: ldftn instance void DelegateConstruction/InstanceTests/'<>c__DisplayClass1_0'::'b__0'() + IL_0016: ldftn instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass1_0'::'b__0'() IL_001c: newobj instance void [mscorlib]System.Action::.ctor(object, native int) IL_0021: stloc.1 @@ -275,19 +275,19 @@ { // Code size 121 (0x79) .maxstack 2 - .locals init (class DelegateConstruction/InstanceTests/'<>c__DisplayClass2_1' V_0, + .locals init (class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass2_1' V_0, class [mscorlib]System.Collections.Generic.IEnumerator`1 V_1, - class DelegateConstruction/InstanceTests/'<>c__DisplayClass2_0' V_2, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass2_0' V_2, bool V_3, class [mscorlib]System.Action V_4) - IL_0000: newobj instance void DelegateConstruction/InstanceTests/'<>c__DisplayClass2_1'::.ctor() + IL_0000: newobj instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass2_1'::.ctor() IL_0005: stloc.0 IL_0006: ldloc.0 IL_0007: ldarg.0 - IL_0008: stfld class DelegateConstruction/InstanceTests DelegateConstruction/InstanceTests/'<>c__DisplayClass2_1'::'<>4__this' + IL_0008: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass2_1'::'<>4__this' IL_000d: ldloc.0 IL_000e: ldarg.1 - IL_000f: stfld int32 DelegateConstruction/InstanceTests/'<>c__DisplayClass2_1'::a + IL_000f: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass2_1'::a IL_0014: nop IL_0015: nop IL_0016: call class [mscorlib]System.Collections.Generic.IEnumerable`1 [System.Core]System.Linq.Enumerable::Empty() @@ -297,18 +297,18 @@ { IL_0021: br.s IL_005c - IL_0023: newobj instance void DelegateConstruction/InstanceTests/'<>c__DisplayClass2_0'::.ctor() + IL_0023: newobj instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass2_0'::.ctor() IL_0028: stloc.2 IL_0029: ldloc.2 IL_002a: ldloc.0 - IL_002b: stfld class DelegateConstruction/InstanceTests/'<>c__DisplayClass2_1' DelegateConstruction/InstanceTests/'<>c__DisplayClass2_0'::'CS$<>8__locals1' + IL_002b: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass2_1' ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass2_0'::'CS$<>8__locals1' IL_0030: ldloc.2 IL_0031: ldloc.1 IL_0032: callvirt instance !0 class [mscorlib]System.Collections.Generic.IEnumerator`1::get_Current() - IL_0037: stfld int32 DelegateConstruction/InstanceTests/'<>c__DisplayClass2_0'::item + IL_0037: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass2_0'::item IL_003c: nop IL_003d: ldloc.2 - IL_003e: ldfld int32 DelegateConstruction/InstanceTests/'<>c__DisplayClass2_0'::item + IL_003e: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass2_0'::item IL_0043: ldc.i4.0 IL_0044: cgt IL_0046: stloc.3 @@ -317,7 +317,7 @@ IL_004a: nop IL_004b: ldloc.2 - IL_004c: ldftn instance void DelegateConstruction/InstanceTests/'<>c__DisplayClass2_0'::'b__0'() + IL_004c: ldftn instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass2_0'::'b__0'() IL_0052: newobj instance void [mscorlib]System.Action::.ctor(object, native int) IL_0057: stloc.s V_4 @@ -354,20 +354,20 @@ { // Code size 158 (0x9e) .maxstack 2 - .locals init (class DelegateConstruction/InstanceTests/'<>c__DisplayClass3_1' V_0, + .locals init (class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass3_1' V_0, class [mscorlib]System.Collections.Generic.IEnumerator`1 V_1, - class DelegateConstruction/InstanceTests/'<>c__DisplayClass3_0' V_2, - class DelegateConstruction/InstanceTests/'<>c__DisplayClass3_2' V_3, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass3_0' V_2, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass3_2' V_3, bool V_4, class [mscorlib]System.Action V_5) - IL_0000: newobj instance void DelegateConstruction/InstanceTests/'<>c__DisplayClass3_1'::.ctor() + IL_0000: newobj instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass3_1'::.ctor() IL_0005: stloc.0 IL_0006: ldloc.0 IL_0007: ldarg.0 - IL_0008: stfld class DelegateConstruction/InstanceTests DelegateConstruction/InstanceTests/'<>c__DisplayClass3_1'::'<>4__this' + IL_0008: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass3_1'::'<>4__this' IL_000d: ldloc.0 IL_000e: ldarg.1 - IL_000f: stfld int32 DelegateConstruction/InstanceTests/'<>c__DisplayClass3_1'::a + IL_000f: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass3_1'::a IL_0014: nop IL_0015: nop IL_0016: call class [mscorlib]System.Collections.Generic.IEnumerable`1 [System.Core]System.Linq.Enumerable::Empty() @@ -377,29 +377,29 @@ { IL_0021: br.s IL_0081 - IL_0023: newobj instance void DelegateConstruction/InstanceTests/'<>c__DisplayClass3_0'::.ctor() + IL_0023: newobj instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass3_0'::.ctor() IL_0028: stloc.2 IL_0029: ldloc.2 IL_002a: ldloc.0 - IL_002b: stfld class DelegateConstruction/InstanceTests/'<>c__DisplayClass3_1' DelegateConstruction/InstanceTests/'<>c__DisplayClass3_0'::'CS$<>8__locals1' + IL_002b: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass3_1' ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass3_0'::'CS$<>8__locals1' IL_0030: ldloc.2 IL_0031: ldloc.1 IL_0032: callvirt instance !0 class [mscorlib]System.Collections.Generic.IEnumerator`1::get_Current() - IL_0037: stfld int32 DelegateConstruction/InstanceTests/'<>c__DisplayClass3_0'::item - IL_003c: newobj instance void DelegateConstruction/InstanceTests/'<>c__DisplayClass3_2'::.ctor() + IL_0037: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass3_0'::item + IL_003c: newobj instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass3_2'::.ctor() IL_0041: stloc.3 IL_0042: ldloc.3 IL_0043: ldloc.2 - IL_0044: stfld class DelegateConstruction/InstanceTests/'<>c__DisplayClass3_0' DelegateConstruction/InstanceTests/'<>c__DisplayClass3_2'::'CS$<>8__locals2' + IL_0044: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass3_0' ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass3_2'::'CS$<>8__locals2' IL_0049: nop IL_004a: ldloc.3 IL_004b: ldloc.3 - IL_004c: ldfld class DelegateConstruction/InstanceTests/'<>c__DisplayClass3_0' DelegateConstruction/InstanceTests/'<>c__DisplayClass3_2'::'CS$<>8__locals2' - IL_0051: ldfld int32 DelegateConstruction/InstanceTests/'<>c__DisplayClass3_0'::item - IL_0056: stfld int32 DelegateConstruction/InstanceTests/'<>c__DisplayClass3_2'::copyOfItem + IL_004c: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass3_0' ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass3_2'::'CS$<>8__locals2' + IL_0051: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass3_0'::item + IL_0056: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass3_2'::copyOfItem IL_005b: ldloc.3 - IL_005c: ldfld class DelegateConstruction/InstanceTests/'<>c__DisplayClass3_0' DelegateConstruction/InstanceTests/'<>c__DisplayClass3_2'::'CS$<>8__locals2' - IL_0061: ldfld int32 DelegateConstruction/InstanceTests/'<>c__DisplayClass3_0'::item + IL_005c: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass3_0' ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass3_2'::'CS$<>8__locals2' + IL_0061: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass3_0'::item IL_0066: ldc.i4.0 IL_0067: cgt IL_0069: stloc.s V_4 @@ -408,7 +408,7 @@ IL_006f: nop IL_0070: ldloc.3 - IL_0071: ldftn instance void DelegateConstruction/InstanceTests/'<>c__DisplayClass3_2'::'b__0'() + IL_0071: ldftn instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests/'<>c__DisplayClass3_2'::'b__0'() IL_0077: newobj instance void [mscorlib]System.Action::.ctor(object, native int) IL_007c: stloc.s V_5 @@ -455,10 +455,10 @@ IL_0005: nop IL_0006: ldarg.0 IL_0007: ldarg.0 - IL_0008: ldftn instance int32 DelegateConstruction/InstanceTests::'b__4_0'() + IL_0008: ldftn instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests::'b__4_0'() IL_000e: newobj instance void class [mscorlib]System.Func`1::.ctor(object, native int) - IL_0013: call instance void DelegateConstruction/InstanceTests::Bar(class [mscorlib]System.Func`1) + IL_0013: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests::Bar(class [mscorlib]System.Func`1) IL_0018: nop IL_0019: nop IL_001a: ldloc.0 @@ -518,7 +518,7 @@ .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Action DelegateConstruction/InstanceTests::CaptureOfThis() + IL_0002: call instance class [mscorlib]System.Action ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests::CaptureOfThis() IL_0007: pop IL_0008: ret } // end of method InstanceTests::'b__0_0' @@ -530,7 +530,7 @@ // Code size 7 (0x7) .maxstack 8 IL_0000: ldarg.0 - IL_0001: call instance int32 DelegateConstruction/InstanceTests::Foo() + IL_0001: call instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/InstanceTests::Foo() IL_0006: ret } // end of method InstanceTests::'b__4_0' @@ -560,7 +560,7 @@ IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld int32 DelegateConstruction/'<>c__DisplayClass8_0'::counter + IL_0003: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass8_0'::counter IL_0008: ret } // end of method '<>c__DisplayClass8_0'::'b__0' @@ -591,7 +591,7 @@ IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld int32 DelegateConstruction/'<>c__DisplayClass9_0'::counter + IL_0003: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass9_0'::counter IL_0008: ret } // end of method '<>c__DisplayClass9_0'::'b__0' @@ -601,7 +601,7 @@ extends [mscorlib]System.Object { .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) - .field public static initonly class DelegateConstruction/'<>c' '<>9' + .field public static initonly class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c' '<>9' .field public static class [mscorlib]System.Action '<>9__10_0' .field public static class [mscorlib]System.Action`1 '<>9__12_0' .field public static class [mscorlib]System.Action`1 '<>9__13_0' @@ -610,8 +610,8 @@ { // Code size 11 (0xb) .maxstack 8 - IL_0000: newobj instance void DelegateConstruction/'<>c'::.ctor() - IL_0005: stsfld class DelegateConstruction/'<>c' DelegateConstruction/'<>c'::'<>9' + IL_0000: newobj instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c'::.ctor() + IL_0005: stsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c' ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c'::'<>9' IL_000a: ret } // end of method '<>c'::.cctor @@ -720,7 +720,7 @@ IL_0010: stloc.0 IL_0011: ldloc.0 IL_0012: ldarg.0 - IL_0013: ldfld int32 DelegateConstruction/'<>c__DisplayClass11_0'::i + IL_0013: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass11_0'::i IL_0018: clt IL_001a: stloc.1 IL_001b: ldloc.1 @@ -752,17 +752,17 @@ { // Code size 33 (0x21) .maxstack 2 - .locals init (class DelegateConstruction/'<>c__DisplayClass14_1' V_0) - IL_0000: newobj instance void DelegateConstruction/'<>c__DisplayClass14_1'::.ctor() + .locals init (class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass14_1' V_0) + IL_0000: newobj instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass14_1'::.ctor() IL_0005: stloc.0 IL_0006: ldloc.0 IL_0007: ldarg.0 - IL_0008: stfld class DelegateConstruction/'<>c__DisplayClass14_0' DelegateConstruction/'<>c__DisplayClass14_1'::'CS$<>8__locals1' + IL_0008: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass14_0' ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass14_1'::'CS$<>8__locals1' IL_000d: ldloc.0 IL_000e: ldarg.1 - IL_000f: stfld int32 DelegateConstruction/'<>c__DisplayClass14_1'::b + IL_000f: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass14_1'::b IL_0014: ldloc.0 - IL_0015: ldftn instance int32 DelegateConstruction/'<>c__DisplayClass14_1'::'b__1'(int32) + IL_0015: ldftn instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass14_1'::'b__1'(int32) IL_001b: newobj instance void class [mscorlib]System.Func`2::.ctor(object, native int) IL_0020: ret @@ -775,7 +775,7 @@ { .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) .field public int32 b - .field public class DelegateConstruction/'<>c__DisplayClass14_0' 'CS$<>8__locals1' + .field public class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass14_0' 'CS$<>8__locals1' .method public hidebysig specialname rtspecialname instance void .ctor() cil managed { @@ -793,10 +793,10 @@ // Code size 21 (0x15) .maxstack 8 IL_0000: ldarg.0 - IL_0001: ldfld class DelegateConstruction/'<>c__DisplayClass14_0' DelegateConstruction/'<>c__DisplayClass14_1'::'CS$<>8__locals1' - IL_0006: ldfld int32 DelegateConstruction/'<>c__DisplayClass14_0'::a + IL_0001: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass14_0' ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass14_1'::'CS$<>8__locals1' + IL_0006: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass14_0'::a IL_000b: ldarg.0 - IL_000c: ldfld int32 DelegateConstruction/'<>c__DisplayClass14_1'::b + IL_000c: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass14_1'::b IL_0011: add IL_0012: ldarg.1 IL_0013: add @@ -826,17 +826,17 @@ { // Code size 33 (0x21) .maxstack 2 - .locals init (class DelegateConstruction/'<>c__DisplayClass15_1' V_0) - IL_0000: newobj instance void DelegateConstruction/'<>c__DisplayClass15_1'::.ctor() + .locals init (class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass15_1' V_0) + IL_0000: newobj instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass15_1'::.ctor() IL_0005: stloc.0 IL_0006: ldloc.0 IL_0007: ldarg.0 - IL_0008: stfld class DelegateConstruction/'<>c__DisplayClass15_0' DelegateConstruction/'<>c__DisplayClass15_1'::'CS$<>8__locals1' + IL_0008: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass15_0' ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass15_1'::'CS$<>8__locals1' IL_000d: ldloc.0 IL_000e: ldarg.1 - IL_000f: stfld int32 DelegateConstruction/'<>c__DisplayClass15_1'::b + IL_000f: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass15_1'::b IL_0014: ldloc.0 - IL_0015: ldftn instance class [mscorlib]System.Func`2 DelegateConstruction/'<>c__DisplayClass15_1'::'b__1'(int32) + IL_0015: ldftn instance class [mscorlib]System.Func`2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass15_1'::'b__1'(int32) IL_001b: newobj instance void class [mscorlib]System.Func`2>::.ctor(object, native int) IL_0020: ret @@ -849,7 +849,7 @@ { .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) .field public int32 b - .field public class DelegateConstruction/'<>c__DisplayClass15_0' 'CS$<>8__locals1' + .field public class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass15_0' 'CS$<>8__locals1' .method public hidebysig specialname rtspecialname instance void .ctor() cil managed { @@ -866,17 +866,17 @@ { // Code size 33 (0x21) .maxstack 2 - .locals init (class DelegateConstruction/'<>c__DisplayClass15_2' V_0) - IL_0000: newobj instance void DelegateConstruction/'<>c__DisplayClass15_2'::.ctor() + .locals init (class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass15_2' V_0) + IL_0000: newobj instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass15_2'::.ctor() IL_0005: stloc.0 IL_0006: ldloc.0 IL_0007: ldarg.0 - IL_0008: stfld class DelegateConstruction/'<>c__DisplayClass15_1' DelegateConstruction/'<>c__DisplayClass15_2'::'CS$<>8__locals2' + IL_0008: stfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass15_1' ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass15_2'::'CS$<>8__locals2' IL_000d: ldloc.0 IL_000e: ldarg.1 - IL_000f: stfld int32 DelegateConstruction/'<>c__DisplayClass15_2'::c + IL_000f: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass15_2'::c IL_0014: ldloc.0 - IL_0015: ldftn instance int32 DelegateConstruction/'<>c__DisplayClass15_2'::'b__2'(int32) + IL_0015: ldftn instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass15_2'::'b__2'(int32) IL_001b: newobj instance void class [mscorlib]System.Func`2::.ctor(object, native int) IL_0020: ret @@ -889,7 +889,7 @@ { .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) .field public int32 c - .field public class DelegateConstruction/'<>c__DisplayClass15_1' 'CS$<>8__locals2' + .field public class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass15_1' 'CS$<>8__locals2' .method public hidebysig specialname rtspecialname instance void .ctor() cil managed { @@ -907,15 +907,15 @@ // Code size 38 (0x26) .maxstack 8 IL_0000: ldarg.0 - IL_0001: ldfld class DelegateConstruction/'<>c__DisplayClass15_1' DelegateConstruction/'<>c__DisplayClass15_2'::'CS$<>8__locals2' - IL_0006: ldfld class DelegateConstruction/'<>c__DisplayClass15_0' DelegateConstruction/'<>c__DisplayClass15_1'::'CS$<>8__locals1' - IL_000b: ldfld int32 DelegateConstruction/'<>c__DisplayClass15_0'::a + IL_0001: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass15_1' ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass15_2'::'CS$<>8__locals2' + IL_0006: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass15_0' ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass15_1'::'CS$<>8__locals1' + IL_000b: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass15_0'::a IL_0010: ldarg.0 - IL_0011: ldfld class DelegateConstruction/'<>c__DisplayClass15_1' DelegateConstruction/'<>c__DisplayClass15_2'::'CS$<>8__locals2' - IL_0016: ldfld int32 DelegateConstruction/'<>c__DisplayClass15_1'::b + IL_0011: ldfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass15_1' ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass15_2'::'CS$<>8__locals2' + IL_0016: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass15_1'::b IL_001b: add IL_001c: ldarg.0 - IL_001d: ldfld int32 DelegateConstruction/'<>c__DisplayClass15_2'::c + IL_001d: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass15_2'::c IL_0022: add IL_0023: ldarg.1 IL_0024: add @@ -941,7 +941,7 @@ .locals init (class [mscorlib]System.Action`1 V_0) IL_0000: nop IL_0001: ldnull - IL_0002: ldftn void DelegateConstruction::Test(string) + IL_0002: ldftn void ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction::Test(string) IL_0008: newobj instance void class [mscorlib]System.Action`1::.ctor(object, native int) IL_000d: stloc.0 @@ -959,7 +959,7 @@ .locals init (class [mscorlib]System.Action V_0) IL_0000: nop IL_0001: ldstr "abc" - IL_0006: ldftn void DelegateConstruction::Test(string) + IL_0006: ldftn void ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction::Test(string) IL_000c: newobj instance void [mscorlib]System.Action::.ctor(object, native int) IL_0011: stloc.0 @@ -977,7 +977,7 @@ .locals init (class [mscorlib]System.Action V_0) IL_0000: nop IL_0001: ldnull - IL_0002: ldftn void DelegateConstruction::Test(string) + IL_0002: ldftn void ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction::Test(string) IL_0008: newobj instance void [mscorlib]System.Action::.ctor(object, native int) IL_000d: stloc.0 @@ -995,7 +995,7 @@ .locals init (object V_0) IL_0000: nop IL_0001: ldnull - IL_0002: ldftn class [mscorlib]System.Action DelegateConstruction::ExtensionMethodBound() + IL_0002: ldftn class [mscorlib]System.Action ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction::ExtensionMethodBound() IL_0008: newobj instance void class [mscorlib]System.Func`1::.ctor(object, native int) IL_000d: stloc.0 @@ -1048,7 +1048,7 @@ .maxstack 3 .locals init (class [mscorlib]System.Collections.Generic.List`1> V_0, int32 V_1, - class DelegateConstruction/'<>c__DisplayClass8_0' V_2, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass8_0' V_2, bool V_3, class [mscorlib]System.Collections.Generic.List`1> V_4) IL_0000: nop @@ -1058,12 +1058,12 @@ IL_0008: stloc.1 IL_0009: br.s IL_002a - IL_000b: newobj instance void DelegateConstruction/'<>c__DisplayClass8_0'::.ctor() + IL_000b: newobj instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass8_0'::.ctor() IL_0010: stloc.2 IL_0011: nop IL_0012: ldloc.0 IL_0013: ldloc.2 - IL_0014: ldftn instance void DelegateConstruction/'<>c__DisplayClass8_0'::'b__0'(int32) + IL_0014: ldftn instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass8_0'::'b__0'(int32) IL_001a: newobj instance void class [mscorlib]System.Action`1::.ctor(object, native int) IL_001f: callvirt instance void class [mscorlib]System.Collections.Generic.List`1>::Add(!0) @@ -1093,13 +1093,13 @@ { // Code size 80 (0x50) .maxstack 4 - .locals init (class DelegateConstruction/'<>c__DisplayClass9_0' V_0, + .locals init (class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass9_0' V_0, class [mscorlib]System.Collections.Generic.List`1> V_1, int32 V_2, class [mscorlib]System.Action`1 V_3, bool V_4, class [mscorlib]System.Collections.Generic.List`1> V_5) - IL_0000: newobj instance void DelegateConstruction/'<>c__DisplayClass9_0'::.ctor() + IL_0000: newobj instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass9_0'::.ctor() IL_0005: stloc.0 IL_0006: nop IL_0007: newobj instance void class [mscorlib]System.Collections.Generic.List`1>::.ctor() @@ -1111,19 +1111,19 @@ IL_0011: nop IL_0012: ldloc.1 IL_0013: ldloc.0 - IL_0014: ldfld class [mscorlib]System.Action`1 DelegateConstruction/'<>c__DisplayClass9_0'::'<>9__0' + IL_0014: ldfld class [mscorlib]System.Action`1 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass9_0'::'<>9__0' IL_0019: dup IL_001a: brtrue.s IL_0032 IL_001c: pop IL_001d: ldloc.0 IL_001e: ldloc.0 - IL_001f: ldftn instance void DelegateConstruction/'<>c__DisplayClass9_0'::'b__0'(int32) + IL_001f: ldftn instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass9_0'::'b__0'(int32) IL_0025: newobj instance void class [mscorlib]System.Action`1::.ctor(object, native int) IL_002a: dup IL_002b: stloc.3 - IL_002c: stfld class [mscorlib]System.Action`1 DelegateConstruction/'<>c__DisplayClass9_0'::'<>9__0' + IL_002c: stfld class [mscorlib]System.Action`1 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass9_0'::'<>9__0' IL_0031: ldloc.3 IL_0032: callvirt instance void class [mscorlib]System.Collections.Generic.List`1>::Add(!0) IL_0037: nop @@ -1154,17 +1154,17 @@ .maxstack 2 .locals init (class [mscorlib]System.Action V_0) IL_0000: nop - IL_0001: ldsfld class [mscorlib]System.Action DelegateConstruction/'<>c'::'<>9__10_0' + IL_0001: ldsfld class [mscorlib]System.Action ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c'::'<>9__10_0' IL_0006: dup IL_0007: brtrue.s IL_0020 IL_0009: pop - IL_000a: ldsfld class DelegateConstruction/'<>c' DelegateConstruction/'<>c'::'<>9' - IL_000f: ldftn instance void DelegateConstruction/'<>c'::'b__10_0'() + IL_000a: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c' ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c'::'<>9' + IL_000f: ldftn instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c'::'b__10_0'() IL_0015: newobj instance void [mscorlib]System.Action::.ctor(object, native int) IL_001a: dup - IL_001b: stsfld class [mscorlib]System.Action DelegateConstruction/'<>c'::'<>9__10_0' + IL_001b: stsfld class [mscorlib]System.Action ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c'::'<>9__10_0' IL_0020: stloc.0 IL_0021: br.s IL_0023 @@ -1178,7 +1178,7 @@ .maxstack 3 .locals init (class [mscorlib]System.Collections.Generic.List`1> V_0, int32 V_1, - class DelegateConstruction/'<>c__DisplayClass11_0' V_2, + class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass11_0' V_2, int32 V_3, bool V_4, bool V_5) @@ -1189,33 +1189,33 @@ IL_0008: stloc.1 IL_0009: br.s IL_0055 - IL_000b: newobj instance void DelegateConstruction/'<>c__DisplayClass11_0'::.ctor() + IL_000b: newobj instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass11_0'::.ctor() IL_0010: stloc.2 IL_0011: nop IL_0012: ldloc.2 IL_0013: ldc.i4.0 - IL_0014: stfld int32 DelegateConstruction/'<>c__DisplayClass11_0'::i + IL_0014: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass11_0'::i IL_0019: br.s IL_0040 IL_001b: nop IL_001c: ldloc.0 IL_001d: ldloc.2 - IL_001e: ldftn instance void DelegateConstruction/'<>c__DisplayClass11_0'::'b__0'(int32) + IL_001e: ldftn instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass11_0'::'b__0'(int32) IL_0024: newobj instance void class [mscorlib]System.Action`1::.ctor(object, native int) IL_0029: callvirt instance void class [mscorlib]System.Collections.Generic.List`1>::Add(!0) IL_002e: nop IL_002f: nop IL_0030: ldloc.2 - IL_0031: ldfld int32 DelegateConstruction/'<>c__DisplayClass11_0'::i + IL_0031: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass11_0'::i IL_0036: stloc.3 IL_0037: ldloc.2 IL_0038: ldloc.3 IL_0039: ldc.i4.1 IL_003a: add - IL_003b: stfld int32 DelegateConstruction/'<>c__DisplayClass11_0'::i + IL_003b: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass11_0'::i IL_0040: ldloc.2 - IL_0041: ldfld int32 DelegateConstruction/'<>c__DisplayClass11_0'::i + IL_0041: ldfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass11_0'::i IL_0046: ldc.i4.s 10 IL_0048: clt IL_004a: stloc.s V_4 @@ -1253,17 +1253,17 @@ IL_000b: nop IL_000c: ldloc.0 - IL_000d: ldsfld class [mscorlib]System.Action`1 DelegateConstruction/'<>c'::'<>9__12_0' + IL_000d: ldsfld class [mscorlib]System.Action`1 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c'::'<>9__12_0' IL_0012: dup IL_0013: brtrue.s IL_002c IL_0015: pop - IL_0016: ldsfld class DelegateConstruction/'<>c' DelegateConstruction/'<>c'::'<>9' - IL_001b: ldftn instance void DelegateConstruction/'<>c'::'b__12_0'(int32) + IL_0016: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c' ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c'::'<>9' + IL_001b: ldftn instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c'::'b__12_0'(int32) IL_0021: newobj instance void class [mscorlib]System.Action`1::.ctor(object, native int) IL_0026: dup - IL_0027: stsfld class [mscorlib]System.Action`1 DelegateConstruction/'<>c'::'<>9__12_0' + IL_0027: stsfld class [mscorlib]System.Action`1 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c'::'<>9__12_0' IL_002c: callvirt instance void class [mscorlib]System.Collections.Generic.List`1>::Add(!0) IL_0031: nop IL_0032: nop @@ -1288,17 +1288,17 @@ .maxstack 2 .locals init (class [mscorlib]System.Action`1 V_0) IL_0000: nop - IL_0001: ldsfld class [mscorlib]System.Action`1 DelegateConstruction/'<>c'::'<>9__13_0' + IL_0001: ldsfld class [mscorlib]System.Action`1 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c'::'<>9__13_0' IL_0006: dup IL_0007: brtrue.s IL_0020 IL_0009: pop - IL_000a: ldsfld class DelegateConstruction/'<>c' DelegateConstruction/'<>c'::'<>9' - IL_000f: ldftn instance void DelegateConstruction/'<>c'::'b__13_0'(int32) + IL_000a: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c' ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c'::'<>9' + IL_000f: ldftn instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c'::'b__13_0'(int32) IL_0015: newobj instance void class [mscorlib]System.Action`1::.ctor(object, native int) IL_001a: dup - IL_001b: stsfld class [mscorlib]System.Action`1 DelegateConstruction/'<>c'::'<>9__13_0' + IL_001b: stsfld class [mscorlib]System.Action`1 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c'::'<>9__13_0' IL_0020: stloc.0 IL_0021: br.s IL_0023 @@ -1311,16 +1311,16 @@ { // Code size 31 (0x1f) .maxstack 2 - .locals init (class DelegateConstruction/'<>c__DisplayClass14_0' V_0, + .locals init (class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass14_0' V_0, class [mscorlib]System.Func`2> V_1) - IL_0000: newobj instance void DelegateConstruction/'<>c__DisplayClass14_0'::.ctor() + IL_0000: newobj instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass14_0'::.ctor() IL_0005: stloc.0 IL_0006: ldloc.0 IL_0007: ldarg.0 - IL_0008: stfld int32 DelegateConstruction/'<>c__DisplayClass14_0'::a + IL_0008: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass14_0'::a IL_000d: nop IL_000e: ldloc.0 - IL_000f: ldftn instance class [mscorlib]System.Func`2 DelegateConstruction/'<>c__DisplayClass14_0'::'b__0'(int32) + IL_000f: ldftn instance class [mscorlib]System.Func`2 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass14_0'::'b__0'(int32) IL_0015: newobj instance void class [mscorlib]System.Func`2>::.ctor(object, native int) IL_001a: stloc.1 @@ -1335,16 +1335,16 @@ { // Code size 31 (0x1f) .maxstack 2 - .locals init (class DelegateConstruction/'<>c__DisplayClass15_0' V_0, + .locals init (class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass15_0' V_0, class [mscorlib]System.Func`2>> V_1) - IL_0000: newobj instance void DelegateConstruction/'<>c__DisplayClass15_0'::.ctor() + IL_0000: newobj instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass15_0'::.ctor() IL_0005: stloc.0 IL_0006: ldloc.0 IL_0007: ldarg.0 - IL_0008: stfld int32 DelegateConstruction/'<>c__DisplayClass15_0'::a + IL_0008: stfld int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass15_0'::a IL_000d: nop IL_000e: ldloc.0 - IL_000f: ldftn instance class [mscorlib]System.Func`2> DelegateConstruction/'<>c__DisplayClass15_0'::'b__0'(int32) + IL_000f: ldftn instance class [mscorlib]System.Func`2> ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction/'<>c__DisplayClass15_0'::'b__0'(int32) IL_0015: newobj instance void class [mscorlib]System.Func`2>>::.ctor(object, native int) IL_001a: stloc.1 @@ -1354,7 +1354,7 @@ IL_001e: ret } // end of method DelegateConstruction::CurriedAddition2 -} // end of class DelegateConstruction +} // end of class ICSharpCode.Decompiler.Tests.TestCases.Pretty.DelegateConstruction // =============================================================