@ -8,6 +8,11 @@
@@ -8,6 +8,11 @@
.publickeytoken = (B7 7A 5C 56 19 34 E0 89 ) // .z\V.4..
.ver 4:0:0:0
}
.assembly extern System.ValueTuple
{
.publickeytoken = (CC 7B 13 FF CD 2D DD 51 ) // .{...-.Q
.ver 4:0:2:0
}
.assembly extern System.Core
{
.publickeytoken = (B7 7A 5C 56 19 34 E0 89 ) // .z\V.4..
@ -45,7 +50,7 @@
@@ -45,7 +50,7 @@
extends [mscorlib]System.Object
{
.method public hidebysig newslot abstract virtual
instance void M1(valuetype [mscorlib ]System.ValueTuple`2<int64,int64> a) cil managed
instance void M1(valuetype [System.ValueTuple ]System.ValueTuple`2<int64,int64> a) cil managed
{
} // end of method OverloadResolution::M1
@ -55,14 +60,14 @@
@@ -55,14 +60,14 @@
} // end of method OverloadResolution::M1
.method public hidebysig instance void
UseM1(valuetype [mscorlib ]System.ValueTuple`2<int32,int32> a) cil managed
UseM1(valuetype [System.ValueTuple ]System.ValueTuple`2<int32,int32> a) cil managed
{
// Code size 15 (0xf)
.maxstack 8
IL_0000: nop
IL_0001: ldarg.0
IL_0002: ldarg.1
IL_0003: box valuetype [mscorlib ]System.ValueTuple`2<int32,int32>
IL_0003: box valuetype [System.ValueTuple ]System.ValueTuple`2<int32,int32>
IL_0008: callvirt instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.TupleTests/OverloadResolution::M1(object)
IL_000d: nop
IL_000e: ret
@ -86,7 +91,7 @@
@@ -86,7 +91,7 @@
{
.custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 )
.field public static initonly class ICSharpCode.Decompiler.Tests.TestCases.Pretty.TupleTests/'<>c' '<>9'
.field public static class [mscorlib]System.Func`2<valuetype [mscorlib ]System.ValueTuple`2<int32,string>,bool> '<>9__22_0'
.field public static class [mscorlib]System.Func`2<valuetype [System.ValueTuple ]System.ValueTuple`2<int32,string>,bool> '<>9__22_0'
.field public static class [mscorlib]System.Action '<>9__48_0'
.field public static class [mscorlib]System.Action '<>9__50_0'
.method private hidebysig specialname rtspecialname static
@ -111,12 +116,12 @@
@@ -111,12 +116,12 @@
} // end of method '<>c'::.ctor
.method assembly hidebysig instance bool
'<get_HasItems>b__22_0'(valuetype [mscorlib ]System.ValueTuple`2<int32,string> a) cil managed
'<get_HasItems>b__22_0'(valuetype [System.ValueTuple ]System.ValueTuple`2<int32,string> a) cil managed
{
// Code size 10 (0xa)
.maxstack 8
IL_0000: ldarg.1
IL_0001: ldfld !0 valuetype [mscorlib ]System.ValueTuple`2<int32,string>::Item1
IL_0001: ldfld !0 valuetype [System.ValueTuple ]System.ValueTuple`2<int32,string>::Item1
IL_0006: ldc.i4.0
IL_0007: cgt
IL_0009: ret
@ -142,61 +147,61 @@
@@ -142,61 +147,61 @@
} // end of class '<>c'
.field public valuetype [mscorlib ]System.ValueTuple VT0
.field public valuetype [mscorlib ]System.ValueTuple`1<int32> VT1
.field public valuetype [mscorlib]System.ValueTuple`8<int32,int32,int32,int32,int32,int32,int32,valuetype [mscorlib ]System.ValueTuple> VT7EmptyRest
.field public valuetype [mscorlib ]System.ValueTuple`2<int32,uint32> Unnamed2
.field public valuetype [mscorlib ]System.ValueTuple`3<int32,int32,int32> Unnamed3
.field public valuetype [mscorlib ]System.ValueTuple`4<int32,int32,int32,int32> Unnamed4
.field public valuetype [mscorlib ]System.ValueTuple`5<int32,int32,int32,int32,int32> Unnamed5
.field public valuetype [mscorlib ]System.ValueTuple`6<int32,int32,int32,int32,int32,int32> Unnamed6
.field public valuetype [mscorlib ]System.ValueTuple`7<int32,int32,int32,int32,int32,int32,int32> Unnamed7
.field public valuetype [mscorlib]System.ValueTuple`8<int32,int32,int32,int32,int32,int32,int32,valuetype [mscorlib ]System.ValueTuple`1<int32>> Unnamed8
.field public valuetype [mscorlib ]System.ValueTuple`2<int32,uint32> Named2
.custom instance void [mscorlib ]System.Runtime.CompilerServices.TupleElementNamesAttribute::.ctor(string[]) = ( 01 00 02 00 00 00 01 61 01 62 00 00 ) // .......a.b..
.field public valuetype [mscorlib ]System.ValueTuple`2<int32,uint32>[] Named2Array
.custom instance void [mscorlib ]System.Runtime.CompilerServices.TupleElementNamesAttribute::.ctor(string[]) = ( 01 00 02 00 00 00 01 61 01 62 00 00 ) // .......a.b..
.field public valuetype [mscorlib]System.ValueTuple`8<int32,int32,int32,int32,int32,int32,int32,valuetype [mscorlib ]System.ValueTuple`1<int32>> Named8
.custom instance void [mscorlib ]System.Runtime.CompilerServices.TupleElementNamesAttribute::.ctor(string[]) = ( 01 00 09 00 00 00 01 61 01 62 01 63 01 64 01 65 // .......a.b.c.d.e
01 66 01 67 01 68 FF 00 00 ) // .f.g.h...
.field public valuetype [mscorlib ]System.ValueTuple`5<int32,int32,int32,int32,int32> PartiallyNamed
.custom instance void [mscorlib ]System.Runtime.CompilerServices.TupleElementNamesAttribute::.ctor(string[]) = ( 01 00 05 00 00 00 FF 01 61 FF 01 62 FF 00 00 ) // ........a..b...
.field public valuetype [mscorlib]System.ValueTuple`3<valuetype [mscorlib]System.ValueTuple`2<int32,int32>,valuetype [mscorlib]System.ValueTuple`2<int32,int32>,valuetype [mscorlib ]System.ValueTuple`2<int32,int32>> Nested1
.custom instance void [mscorlib ]System.Runtime.CompilerServices.TupleElementNamesAttribute::.ctor(string[]) = ( 01 00 09 00 00 00 01 78 01 79 01 7A 01 61 01 62 // .......x.y.z.a.b
FF FF 01 63 01 64 00 00 ) // ...c.d..
.field public valuetype [mscorlib]System.ValueTuple`3<valuetype [mscorlib]System.ValueTuple`2<object,object>,object,valuetype [mscorlib ]System.ValueTuple`2<object,object>> Nested2
.field public valuetype [System.ValueTuple ]System.ValueTuple VT0
.field public valuetype [System.ValueTuple ]System.ValueTuple`1<int32> VT1
.field public valuetype [System.ValueTuple]System.ValueTuple`8<int32,int32,int32,int32,int32,int32,int32,valuetype [System.ValueTuple ]System.ValueTuple> VT7EmptyRest
.field public valuetype [System.ValueTuple ]System.ValueTuple`2<int32,uint32> Unnamed2
.field public valuetype [System.ValueTuple ]System.ValueTuple`3<int32,int32,int32> Unnamed3
.field public valuetype [System.ValueTuple ]System.ValueTuple`4<int32,int32,int32,int32> Unnamed4
.field public valuetype [System.ValueTuple ]System.ValueTuple`5<int32,int32,int32,int32,int32> Unnamed5
.field public valuetype [System.ValueTuple ]System.ValueTuple`6<int32,int32,int32,int32,int32,int32> Unnamed6
.field public valuetype [System.ValueTuple ]System.ValueTuple`7<int32,int32,int32,int32,int32,int32,int32> Unnamed7
.field public valuetype [System.ValueTuple]System.ValueTuple`8<int32,int32,int32,int32,int32,int32,int32,valuetype [System.ValueTuple ]System.ValueTuple`1<int32>> Unnamed8
.field public valuetype [System.ValueTuple ]System.ValueTuple`2<int32,uint32> Named2
.custom instance void [System.ValueTuple ]System.Runtime.CompilerServices.TupleElementNamesAttribute::.ctor(string[]) = ( 01 00 02 00 00 00 01 61 01 62 00 00 ) // .......a.b..
.field public valuetype [System.ValueTuple ]System.ValueTuple`2<int32,uint32>[] Named2Array
.custom instance void [System.ValueTuple ]System.Runtime.CompilerServices.TupleElementNamesAttribute::.ctor(string[]) = ( 01 00 02 00 00 00 01 61 01 62 00 00 ) // .......a.b..
.field public valuetype [System.ValueTuple]System.ValueTuple`8<int32,int32,int32,int32,int32,int32,int32,valuetype [System.ValueTuple ]System.ValueTuple`1<int32>> Named8
.custom instance void [System.ValueTuple ]System.Runtime.CompilerServices.TupleElementNamesAttribute::.ctor(string[]) = ( 01 00 09 00 00 00 01 61 01 62 01 63 01 64 01 65 // .......a.b.c.d.e
01 66 01 67 01 68 FF 00 00 ) // .f.g.h...
.field public valuetype [System.ValueTuple ]System.ValueTuple`5<int32,int32,int32,int32,int32> PartiallyNamed
.custom instance void [System.ValueTuple ]System.Runtime.CompilerServices.TupleElementNamesAttribute::.ctor(string[]) = ( 01 00 05 00 00 00 FF 01 61 FF 01 62 FF 00 00 ) // ........a..b...
.field public valuetype [System.ValueTuple]System.ValueTuple`3<valuetype [System.ValueTuple]System.ValueTuple`2<int32,int32>,valuetype [System.ValueTuple]System.ValueTuple`2<int32,int32>,valuetype [System.ValueTuple ]System.ValueTuple`2<int32,int32>> Nested1
.custom instance void [System.ValueTuple ]System.Runtime.CompilerServices.TupleElementNamesAttribute::.ctor(string[]) = ( 01 00 09 00 00 00 01 78 01 79 01 7A 01 61 01 62 // .......x.y.z.a.b
FF FF 01 63 01 64 00 00 ) // ...c.d..
.field public valuetype [System.ValueTuple]System.ValueTuple`3<valuetype [System.ValueTuple]System.ValueTuple`2<object,object>,object,valuetype [System.ValueTuple ]System.ValueTuple`2<object,object>> Nested2
.custom instance void [System.Core]System.Runtime.CompilerServices.DynamicAttribute::.ctor(bool[]) = ( 01 00 08 00 00 00 00 00 00 01 01 00 01 00 00 00 )
.custom instance void [mscorlib ]System.Runtime.CompilerServices.TupleElementNamesAttribute::.ctor(string[]) = ( 01 00 07 00 00 00 FF FF FF 01 61 01 62 01 63 01 // ..........a.b.c.
64 00 00 ) // d..
.field public valuetype [mscorlib]System.ValueTuple`5<valuetype [mscorlib]System.ValueTuple,valuetype [mscorlib]System.ValueTuple`2<int32,int32>,valuetype [mscorlib]System.ValueTuple`1<int32>,valuetype [mscorlib]System.ValueTuple`2<int32,int32>,valuetype [mscorlib ]System.ValueTuple`2<int32,int32>> Nested3
.custom instance void [mscorlib ]System.Runtime.CompilerServices.TupleElementNamesAttribute::.ctor(string[]) = ( 01 00 0C 00 00 00 01 61 FF 01 62 FF 01 63 02 78 // .......a..b..c.x
31 02 78 32 FF 02 79 31 02 79 32 FF FF 00 00 ) // 1.x2..y1.y2....
.field public valuetype [mscorlib]System.ValueTuple`8<int32,int32,int32,int32,int32,int32,int32,valuetype [mscorlib]System.ValueTuple`2<int32,valuetype [mscorlib ]System.ValueTuple`2<int32,int32>>> Nested4
.custom instance void [mscorlib ]System.Runtime.CompilerServices.TupleElementNamesAttribute::.ctor(string[]) = ( 01 00 0D 00 00 00 01 61 01 62 01 63 01 64 01 65 // .......a.b.c.d.e
01 66 01 67 01 68 FF FF FF 01 69 01 6A 00 00 ) // .f.g.h....i.j..
.field public class [mscorlib]System.Collections.Generic.Dictionary`2<valuetype [mscorlib]System.ValueTuple`2<int32,string>,valuetype [mscorlib ]System.ValueTuple`2<string,int32>> TupleDict
.custom instance void [mscorlib ]System.Runtime.CompilerServices.TupleElementNamesAttribute::.ctor(string[]) = ( 01 00 04 00 00 00 01 61 01 62 01 63 01 64 00 00 ) // .......a.b.c.d..
.field public class [mscorlib]System.Collections.Generic.List`1<valuetype [mscorlib ]System.ValueTuple`2<int32,string>> List
.custom instance void [System.ValueTuple ]System.Runtime.CompilerServices.TupleElementNamesAttribute::.ctor(string[]) = ( 01 00 07 00 00 00 FF FF FF 01 61 01 62 01 63 01 // ..........a.b.c.
64 00 00 ) // d..
.field public valuetype [System.ValueTuple]System.ValueTuple`5<valuetype [System.ValueTuple]System.ValueTuple,valuetype [System.ValueTuple]System.ValueTuple`2<int32,int32>,valuetype [System.ValueTuple]System.ValueTuple`1<int32>,valuetype [System.ValueTuple]System.ValueTuple`2<int32,int32>,valuetype [System.ValueTuple ]System.ValueTuple`2<int32,int32>> Nested3
.custom instance void [System.ValueTuple ]System.Runtime.CompilerServices.TupleElementNamesAttribute::.ctor(string[]) = ( 01 00 0C 00 00 00 01 61 FF 01 62 FF 01 63 02 78 // .......a..b..c.x
31 02 78 32 FF 02 79 31 02 79 32 FF FF 00 00 ) // 1.x2..y1.y2....
.field public valuetype [System.ValueTuple]System.ValueTuple`8<int32,int32,int32,int32,int32,int32,int32,valuetype [System.ValueTuple]System.ValueTuple`2<int32,valuetype [System.ValueTuple ]System.ValueTuple`2<int32,int32>>> Nested4
.custom instance void [System.ValueTuple ]System.Runtime.CompilerServices.TupleElementNamesAttribute::.ctor(string[]) = ( 01 00 0D 00 00 00 01 61 01 62 01 63 01 64 01 65 // .......a.b.c.d.e
01 66 01 67 01 68 FF FF FF 01 69 01 6A 00 00 ) // .f.g.h....i.j..
.field public class [mscorlib]System.Collections.Generic.Dictionary`2<valuetype [System.ValueTuple]System.ValueTuple`2<int32,string>,valuetype [System.ValueTuple ]System.ValueTuple`2<string,int32>> TupleDict
.custom instance void [System.ValueTuple ]System.Runtime.CompilerServices.TupleElementNamesAttribute::.ctor(string[]) = ( 01 00 04 00 00 00 01 61 01 62 01 63 01 64 00 00 ) // .......a.b.c.d..
.field public class [mscorlib]System.Collections.Generic.List`1<valuetype [System.ValueTuple ]System.ValueTuple`2<int32,string>> List
.method public hidebysig specialname instance bool
get_HasItems() cil managed
{
// Code size 43 (0x2b)
.maxstack 8
IL_0000: ldarg.0
IL_0001: ldfld class [mscorlib]System.Collections.Generic.List`1<valuetype [mscorlib ]System.ValueTuple`2<int32,string>> ICSharpCode.Decompiler.Tests.TestCases.Pretty.TupleTests::List
IL_0006: ldsfld class [mscorlib]System.Func`2<valuetype [mscorlib ]System.ValueTuple`2<int32,string>,bool> ICSharpCode.Decompiler.Tests.TestCases.Pretty.TupleTests/'<>c'::'<>9__22_0'
IL_0001: ldfld class [mscorlib]System.Collections.Generic.List`1<valuetype [System.ValueTuple ]System.ValueTuple`2<int32,string>> ICSharpCode.Decompiler.Tests.TestCases.Pretty.TupleTests::List
IL_0006: ldsfld class [mscorlib]System.Func`2<valuetype [System.ValueTuple ]System.ValueTuple`2<int32,string>,bool> ICSharpCode.Decompiler.Tests.TestCases.Pretty.TupleTests/'<>c'::'<>9__22_0'
IL_000b: dup
IL_000c: brtrue.s IL_0025
IL_000e: pop
IL_000f: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.TupleTests/'<>c' ICSharpCode.Decompiler.Tests.TestCases.Pretty.TupleTests/'<>c'::'<>9'
IL_0014: ldftn instance bool ICSharpCode.Decompiler.Tests.TestCases.Pretty.TupleTests/'<>c'::'<get_HasItems>b__22_0'(valuetype [mscorlib ]System.ValueTuple`2<int32,string>)
IL_001a: newobj instance void class [mscorlib]System.Func`2<valuetype [mscorlib ]System.ValueTuple`2<int32,string>,bool>::.ctor(object,
native int)
IL_0014: ldftn instance bool ICSharpCode.Decompiler.Tests.TestCases.Pretty.TupleTests/'<>c'::'<get_HasItems>b__22_0'(valuetype [System.ValueTuple ]System.ValueTuple`2<int32,string>)
IL_001a: newobj instance void class [mscorlib]System.Func`2<valuetype [System.ValueTuple ]System.ValueTuple`2<int32,string>,bool>::.ctor(object,
native int)
IL_001f: dup
IL_0020: stsfld class [mscorlib]System.Func`2<valuetype [mscorlib ]System.ValueTuple`2<int32,string>,bool> ICSharpCode.Decompiler.Tests.TestCases.Pretty.TupleTests/'<>c'::'<>9__22_0'
IL_0025: call bool [System.Core]System.Linq.Enumerable::Any<valuetype [mscorlib ]System.ValueTuple`2<int32,string>>(class [mscorlib]System.Collections.Generic.IEnumerable`1<!!0>,
class [mscorlib]System.Func`2<!!0,bool>)
IL_0020: stsfld class [mscorlib]System.Func`2<valuetype [System.ValueTuple ]System.ValueTuple`2<int32,string>,bool> ICSharpCode.Decompiler.Tests.TestCases.Pretty.TupleTests/'<>c'::'<>9__22_0'
IL_0025: call bool [System.Core]System.Linq.Enumerable::Any<valuetype [System.ValueTuple ]System.ValueTuple`2<int32,string>>(class [mscorlib]System.Collections.Generic.IEnumerable`1<!!0>,
class [mscorlib]System.Func`2<!!0,bool>)
IL_002a: ret
} // end of method TupleTests::get_HasItems
@ -206,8 +211,8 @@
@@ -206,8 +211,8 @@
// Code size 12 (0xc)
.maxstack 8
IL_0000: ldarg.0
IL_0001: ldflda valuetype [mscorlib ]System.ValueTuple`1<int32> ICSharpCode.Decompiler.Tests.TestCases.Pretty.TupleTests::VT1
IL_0006: ldfld !0 valuetype [mscorlib ]System.ValueTuple`1<int32>::Item1
IL_0001: ldflda valuetype [System.ValueTuple ]System.ValueTuple`1<int32> ICSharpCode.Decompiler.Tests.TestCases.Pretty.TupleTests::VT1
IL_0006: ldfld !0 valuetype [System.ValueTuple ]System.ValueTuple`1<int32>::Item1
IL_000b: ret
} // end of method TupleTests::get_VT1Member
@ -217,9 +222,9 @@
@@ -217,9 +222,9 @@
// Code size 17 (0x11)
.maxstack 8
IL_0000: ldarg.0
IL_0001: ldflda valuetype [mscorlib]System.ValueTuple`8<int32,int32,int32,int32,int32,int32,int32,valuetype [mscorlib ]System.ValueTuple`1<int32>> ICSharpCode.Decompiler.Tests.TestCases.Pretty.TupleTests::Unnamed8
IL_0006: ldflda !7 valuetype [mscorlib]System.ValueTuple`8<int32,int32,int32,int32,int32,int32,int32,valuetype [mscorlib ]System.ValueTuple`1<int32>>::Rest
IL_000b: ldfld !0 valuetype [mscorlib ]System.ValueTuple`1<int32>::Item1
IL_0001: ldflda valuetype [System.ValueTuple]System.ValueTuple`8<int32,int32,int32,int32,int32,int32,int32,valuetype [System.ValueTuple ]System.ValueTuple`1<int32>> ICSharpCode.Decompiler.Tests.TestCases.Pretty.TupleTests::Unnamed8
IL_0006: ldflda !7 valuetype [System.ValueTuple]System.ValueTuple`8<int32,int32,int32,int32,int32,int32,int32,valuetype [System.ValueTuple ]System.ValueTuple`1<int32>>::Rest
IL_000b: ldfld !0 valuetype [System.ValueTuple ]System.ValueTuple`1<int32>::Item1
IL_0010: ret
} // end of method TupleTests::get_AccessUnnamed8
@ -229,9 +234,9 @@
@@ -229,9 +234,9 @@
// Code size 17 (0x11)
.maxstack 8
IL_0000: ldarg.0
IL_0001: ldflda valuetype [mscorlib]System.ValueTuple`8<int32,int32,int32,int32,int32,int32,int32,valuetype [mscorlib ]System.ValueTuple`1<int32>> ICSharpCode.Decompiler.Tests.TestCases.Pretty.TupleTests::Named8
IL_0006: ldflda !7 valuetype [mscorlib]System.ValueTuple`8<int32,int32,int32,int32,int32,int32,int32,valuetype [mscorlib ]System.ValueTuple`1<int32>>::Rest
IL_000b: ldfld !0 valuetype [mscorlib ]System.ValueTuple`1<int32>::Item1
IL_0001: ldflda valuetype [System.ValueTuple]System.ValueTuple`8<int32,int32,int32,int32,int32,int32,int32,valuetype [System.ValueTuple ]System.ValueTuple`1<int32>> ICSharpCode.Decompiler.Tests.TestCases.Pretty.TupleTests::Named8
IL_0006: ldflda !7 valuetype [System.ValueTuple]System.ValueTuple`8<int32,int32,int32,int32,int32,int32,int32,valuetype [System.ValueTuple ]System.ValueTuple`1<int32>>::Rest
IL_000b: ldfld !0 valuetype [System.ValueTuple ]System.ValueTuple`1<int32>::Item1
IL_0010: ret
} // end of method TupleTests::get_AccessNamed8
@ -241,36 +246,36 @@
@@ -241,36 +246,36 @@
// Code size 24 (0x18)
.maxstack 8
IL_0000: ldarg.0
IL_0001: ldflda valuetype [mscorlib ]System.ValueTuple`5<int32,int32,int32,int32,int32> ICSharpCode.Decompiler.Tests.TestCases.Pretty.TupleTests::PartiallyNamed
IL_0006: ldfld !1 valuetype [mscorlib ]System.ValueTuple`5<int32,int32,int32,int32,int32>::Item2
IL_0001: ldflda valuetype [System.ValueTuple ]System.ValueTuple`5<int32,int32,int32,int32,int32> ICSharpCode.Decompiler.Tests.TestCases.Pretty.TupleTests::PartiallyNamed
IL_0006: ldfld !1 valuetype [System.ValueTuple ]System.ValueTuple`5<int32,int32,int32,int32,int32>::Item2
IL_000b: ldarg.0
IL_000c: ldflda valuetype [mscorlib ]System.ValueTuple`5<int32,int32,int32,int32,int32> ICSharpCode.Decompiler.Tests.TestCases.Pretty.TupleTests::PartiallyNamed
IL_0011: ldfld !2 valuetype [mscorlib ]System.ValueTuple`5<int32,int32,int32,int32,int32>::Item3
IL_000c: ldflda valuetype [System.ValueTuple ]System.ValueTuple`5<int32,int32,int32,int32,int32> ICSharpCode.Decompiler.Tests.TestCases.Pretty.TupleTests::PartiallyNamed
IL_0011: ldfld !2 valuetype [System.ValueTuple ]System.ValueTuple`5<int32,int32,int32,int32,int32>::Item3
IL_0016: add
IL_0017: ret
} // end of method TupleTests::get_AccessPartiallyNamed
.method public hidebysig specialname instance valuetype [mscorlib ]System.ValueTuple`1<int32>
.method public hidebysig specialname instance valuetype [System.ValueTuple ]System.ValueTuple`1<int32>
get_NewTuple1() cil managed
{
// Code size 7 (0x7)
.maxstack 8
IL_0000: ldc.i4.1
IL_0001: newobj instance void valuetype [mscorlib ]System.ValueTuple`1<int32>::.ctor(!0)
IL_0001: newobj instance void valuetype [System.ValueTuple ]System.ValueTuple`1<int32>::.ctor(!0)
IL_0006: ret
} // end of method TupleTests::get_NewTuple1
.method public hidebysig specialname instance valuetype [mscorlib ]System.ValueTuple`2<int32,int32>
.method public hidebysig specialname instance valuetype [System.ValueTuple ]System.ValueTuple`2<int32,int32>
get_NewTuple2() cil managed
{
.param [0]
.custom instance void [mscorlib ]System.Runtime.CompilerServices.TupleElementNamesAttribute::.ctor(string[]) = ( 01 00 02 00 00 00 01 61 01 62 00 00 ) // .......a.b..
.custom instance void [System.ValueTuple ]System.Runtime.CompilerServices.TupleElementNamesAttribute::.ctor(string[]) = ( 01 00 02 00 00 00 01 61 01 62 00 00 ) // .......a.b..
// Code size 8 (0x8)
.maxstack 8
IL_0000: ldc.i4.1
IL_0001: ldc.i4.2
IL_0002: newobj instance void valuetype [mscorlib ]System.ValueTuple`2<int32,int32>::.ctor(!0,
!1)
IL_0002: newobj instance void valuetype [System.ValueTuple ]System.ValueTuple`2<int32,int32>::.ctor(!0,
!1)
IL_0007: ret
} // end of method TupleTests::get_NewTuple2
@ -289,50 +294,50 @@
@@ -289,50 +294,50 @@
IL_0007: ldc.i4.8
IL_0008: ldc.i4.s 9
IL_000a: ldc.i4.s 10
IL_000c: newobj instance void valuetype [mscorlib ]System.ValueTuple`3<int32,int32,int32>::.ctor(!0,
!1,
!2)
IL_0011: newobj instance void valuetype [mscorlib]System.ValueTuple`8<int32,int32,int32,int32,int32,int32,int32,valuetype [mscorlib ]System.ValueTuple`3<int32,int32,int32>>::.ctor(!0,
!1,
!2,
!3,
!4,
!5,
!6,
!7)
IL_0016: box valuetype [mscorlib]System.ValueTuple`8<int32,int32,int32,int32,int32,int32,int32,valuetype [mscorlib ]System.ValueTuple`3<int32,int32,int32>>
IL_000c: newobj instance void valuetype [System.ValueTuple ]System.ValueTuple`3<int32,int32,int32>::.ctor(!0,
!1,
!2)
IL_0011: newobj instance void valuetype [System.ValueTuple]System.ValueTuple`8<int32,int32,int32,int32,int32,int32,int32,valuetype [System.ValueTuple ]System.ValueTuple`3<int32,int32,int32>>::.ctor(!0,
!1,
!2,
!3,
!4,
!5,
!6,
!7)
IL_0016: box valuetype [System.ValueTuple]System.ValueTuple`8<int32,int32,int32,int32,int32,int32,int32,valuetype [System.ValueTuple ]System.ValueTuple`3<int32,int32,int32>>
IL_001b: ret
} // end of method TupleTests::get_BoxedTuple10
.method public hidebysig specialname instance valuetype [mscorlib ]System.ValueTuple`2<uint32,int32>
.method public hidebysig specialname instance valuetype [System.ValueTuple ]System.ValueTuple`2<uint32,int32>
get_SwapUnnamed() cil managed
{
// Code size 28 (0x1c)
.maxstack 8
IL_0000: ldarg.0
IL_0001: ldflda valuetype [mscorlib ]System.ValueTuple`2<int32,uint32> ICSharpCode.Decompiler.Tests.TestCases.Pretty.TupleTests::Unnamed2
IL_0006: ldfld !1 valuetype [mscorlib ]System.ValueTuple`2<int32,uint32>::Item2
IL_0001: ldflda valuetype [System.ValueTuple ]System.ValueTuple`2<int32,uint32> ICSharpCode.Decompiler.Tests.TestCases.Pretty.TupleTests::Unnamed2
IL_0006: ldfld !1 valuetype [System.ValueTuple ]System.ValueTuple`2<int32,uint32>::Item2
IL_000b: ldarg.0
IL_000c: ldflda valuetype [mscorlib ]System.ValueTuple`2<int32,uint32> ICSharpCode.Decompiler.Tests.TestCases.Pretty.TupleTests::Unnamed2
IL_0011: ldfld !0 valuetype [mscorlib ]System.ValueTuple`2<int32,uint32>::Item1
IL_0016: newobj instance void valuetype [mscorlib ]System.ValueTuple`2<uint32,int32>::.ctor(!0,
!1)
IL_000c: ldflda valuetype [System.ValueTuple ]System.ValueTuple`2<int32,uint32> ICSharpCode.Decompiler.Tests.TestCases.Pretty.TupleTests::Unnamed2
IL_0011: ldfld !0 valuetype [System.ValueTuple ]System.ValueTuple`2<int32,uint32>::Item1
IL_0016: newobj instance void valuetype [System.ValueTuple ]System.ValueTuple`2<uint32,int32>::.ctor(!0,
!1)
IL_001b: ret
} // end of method TupleTests::get_SwapUnnamed
.method public hidebysig specialname instance valuetype [mscorlib ]System.ValueTuple`2<uint32,int32>
.method public hidebysig specialname instance valuetype [System.ValueTuple ]System.ValueTuple`2<uint32,int32>
get_SwapNamed2() cil managed
{
// Code size 28 (0x1c)
.maxstack 8
IL_0000: ldarg.0
IL_0001: ldflda valuetype [mscorlib ]System.ValueTuple`2<int32,uint32> ICSharpCode.Decompiler.Tests.TestCases.Pretty.TupleTests::Named2
IL_0006: ldfld !1 valuetype [mscorlib ]System.ValueTuple`2<int32,uint32>::Item2
IL_0001: ldflda valuetype [System.ValueTuple ]System.ValueTuple`2<int32,uint32> ICSharpCode.Decompiler.Tests.TestCases.Pretty.TupleTests::Named2
IL_0006: ldfld !1 valuetype [System.ValueTuple ]System.ValueTuple`2<int32,uint32>::Item2
IL_000b: ldarg.0
IL_000c: ldflda valuetype [mscorlib ]System.ValueTuple`2<int32,uint32> ICSharpCode.Decompiler.Tests.TestCases.Pretty.TupleTests::Named2
IL_0011: ldfld !0 valuetype [mscorlib ]System.ValueTuple`2<int32,uint32>::Item1
IL_0016: newobj instance void valuetype [mscorlib ]System.ValueTuple`2<uint32,int32>::.ctor(!0,
!1)
IL_000c: ldflda valuetype [System.ValueTuple ]System.ValueTuple`2<int32,uint32> ICSharpCode.Decompiler.Tests.TestCases.Pretty.TupleTests::Named2
IL_0011: ldfld !0 valuetype [System.ValueTuple ]System.ValueTuple`2<int32,uint32>::Item1
IL_0016: newobj instance void valuetype [System.ValueTuple ]System.ValueTuple`2<uint32,int32>::.ctor(!0,
!1)
IL_001b: ret
} // end of method TupleTests::get_SwapNamed2
@ -341,16 +346,16 @@
@@ -341,16 +346,16 @@
{
// Code size 23 (0x17)
.maxstack 3
.locals init (valuetype [mscorlib ]System.ValueTuple`3<int32,int32,int32> V_0)
.locals init (valuetype [System.ValueTuple ]System.ValueTuple`3<int32,int32,int32> V_0)
IL_0000: ldc.i4.1
IL_0001: ldc.i4.2
IL_0002: ldc.i4.3
IL_0003: newobj instance void valuetype [mscorlib ]System.ValueTuple`3<int32,int32,int32>::.ctor(!0,
!1,
!2)
IL_0003: newobj instance void valuetype [System.ValueTuple ]System.ValueTuple`3<int32,int32,int32>::.ctor(!0,
!1,
!2)
IL_0008: stloc.0
IL_0009: ldloca.s V_0
IL_000b: constrained. valuetype [mscorlib ]System.ValueTuple`3<int32,int32,int32>
IL_000b: constrained. valuetype [System.ValueTuple ]System.ValueTuple`3<int32,int32,int32>
IL_0011: callvirt instance int32 [mscorlib]System.Object::GetHashCode()
IL_0016: ret
} // end of method TupleTests::get_TupleHash
@ -361,13 +366,13 @@
@@ -361,13 +366,13 @@
// Code size 18 (0x12)
.maxstack 8
IL_0000: ldarg.0
IL_0001: ldflda valuetype [mscorlib ]System.ValueTuple`2<int32,uint32> ICSharpCode.Decompiler.Tests.TestCases.Pretty.TupleTests::Named2
IL_0006: constrained. valuetype [mscorlib ]System.ValueTuple`2<int32,uint32>
IL_0001: ldflda valuetype [System.ValueTuple ]System.ValueTuple`2<int32,uint32> ICSharpCode.Decompiler.Tests.TestCases.Pretty.TupleTests::Named2
IL_0006: constrained. valuetype [System.ValueTuple ]System.ValueTuple`2<int32,uint32>
IL_000c: callvirt instance int32 [mscorlib]System.Object::GetHashCode()
IL_0011: ret
} // end of method TupleTests::get_TupleHash2
.method public hidebysig specialname instance valuetype [mscorlib ]System.ValueTuple`2<int32,int32>
.method public hidebysig specialname instance valuetype [System.ValueTuple ]System.ValueTuple`2<int32,int32>
get_AccessRest() cil managed
{
// Code size 26 (0x1a)
@ -381,21 +386,21 @@
@@ -381,21 +386,21 @@
IL_0006: ldc.i4.7
IL_0007: ldc.i4.8
IL_0008: ldc.i4.s 9
IL_000a: newobj instance void valuetype [mscorlib ]System.ValueTuple`2<int32,int32>::.ctor(!0,
!1)
IL_000f: newobj instance void valuetype [mscorlib]System.ValueTuple`8<int32,int32,int32,int32,int32,int32,int32,valuetype [mscorlib ]System.ValueTuple`2<int32,int32>>::.ctor(!0,
!1,
!2,
!3,
!4,
!5,
!6,
!7)
IL_0014: ldfld !7 valuetype [mscorlib]System.ValueTuple`8<int32,int32,int32,int32,int32,int32,int32,valuetype [mscorlib ]System.ValueTuple`2<int32,int32>>::Rest
IL_000a: newobj instance void valuetype [System.ValueTuple ]System.ValueTuple`2<int32,int32>::.ctor(!0,
!1)
IL_000f: newobj instance void valuetype [System.ValueTuple]System.ValueTuple`8<int32,int32,int32,int32,int32,int32,int32,valuetype [System.ValueTuple ]System.ValueTuple`2<int32,int32>>::.ctor(!0,
!1,
!2,
!3,
!4,
!5,
!6,
!7)
IL_0014: ldfld !7 valuetype [System.ValueTuple]System.ValueTuple`8<int32,int32,int32,int32,int32,int32,int32,valuetype [System.ValueTuple ]System.ValueTuple`2<int32,int32>>::Rest
IL_0019: ret
} // end of method TupleTests::get_AccessRest
.method public hidebysig specialname instance valuetype [mscorlib ]System.ValueTuple`3<string,object,class [mscorlib]System.Action>
.method public hidebysig specialname instance valuetype [System.ValueTuple ]System.ValueTuple`3<string,object,class [mscorlib]System.Action>
get_TargetTyping() cil managed
{
// Code size 44 (0x2c)
@ -414,9 +419,9 @@
@@ -414,9 +419,9 @@
native int)
IL_0020: dup
IL_0021: stsfld class [mscorlib]System.Action ICSharpCode.Decompiler.Tests.TestCases.Pretty.TupleTests/'<>c'::'<>9__48_0'
IL_0026: newobj instance void valuetype [mscorlib ]System.ValueTuple`3<string,object,class [mscorlib]System.Action>::.ctor(!0,
!1,
!2)
IL_0026: newobj instance void valuetype [System.ValueTuple ]System.ValueTuple`3<string,object,class [mscorlib]System.Action>::.ctor(!0,
!1,
!2)
IL_002b: ret
} // end of method TupleTests::get_TargetTyping
@ -439,10 +444,10 @@
@@ -439,10 +444,10 @@
native int)
IL_0020: dup
IL_0021: stsfld class [mscorlib]System.Action ICSharpCode.Decompiler.Tests.TestCases.Pretty.TupleTests/'<>c'::'<>9__50_0'
IL_0026: newobj instance void valuetype [mscorlib ]System.ValueTuple`3<string,object,class [mscorlib]System.Action>::.ctor(!0,
!1,
!2)
IL_002b: box valuetype [mscorlib ]System.ValueTuple`3<string,object,class [mscorlib]System.Action>
IL_0026: newobj instance void valuetype [System.ValueTuple ]System.ValueTuple`3<string,object,class [mscorlib]System.Action>::.ctor(!0,
!1,
!2)
IL_002b: box valuetype [System.ValueTuple ]System.ValueTuple`3<string,object,class [mscorlib]System.Action>
IL_0030: ret
} // end of method TupleTests::get_NotTargetTyping
@ -455,8 +460,8 @@
@@ -455,8 +460,8 @@
bool V_1)
IL_0000: nop
IL_0001: ldarg.0
IL_0002: ldfld class [mscorlib]System.Collections.Generic.Dictionary`2<valuetype [mscorlib]System.ValueTuple`2<int32,string>,valuetype [mscorlib ]System.ValueTuple`2<string,int32>> ICSharpCode.Decompiler.Tests.TestCases.Pretty.TupleTests::TupleDict
IL_0007: callvirt instance int32 class [mscorlib]System.Collections.Generic.Dictionary`2<valuetype [mscorlib]System.ValueTuple`2<int32,string>,valuetype [mscorlib ]System.ValueTuple`2<string,int32>>::get_Count()
IL_0002: ldfld class [mscorlib]System.Collections.Generic.Dictionary`2<valuetype [System.ValueTuple]System.ValueTuple`2<int32,string>,valuetype [System.ValueTuple ]System.ValueTuple`2<string,int32>> ICSharpCode.Decompiler.Tests.TestCases.Pretty.TupleTests::TupleDict
IL_0007: callvirt instance int32 class [mscorlib]System.Collections.Generic.Dictionary`2<valuetype [System.ValueTuple]System.ValueTuple`2<int32,string>,valuetype [System.ValueTuple ]System.ValueTuple`2<string,int32>>::get_Count()
IL_000c: ldc.i4.s 10
IL_000e: cgt
IL_0010: stloc.1
@ -465,18 +470,18 @@
@@ -465,18 +470,18 @@
IL_0014: nop
IL_0015: ldarg.0
IL_0016: ldfld class [mscorlib]System.Collections.Generic.Dictionary`2<valuetype [mscorlib]System.ValueTuple`2<int32,string>,valuetype [mscorlib ]System.ValueTuple`2<string,int32>> ICSharpCode.Decompiler.Tests.TestCases.Pretty.TupleTests::TupleDict
IL_001b: callvirt instance void class [mscorlib]System.Collections.Generic.Dictionary`2<valuetype [mscorlib]System.ValueTuple`2<int32,string>,valuetype [mscorlib ]System.ValueTuple`2<string,int32>>::Clear()
IL_0016: ldfld class [mscorlib]System.Collections.Generic.Dictionary`2<valuetype [System.ValueTuple]System.ValueTuple`2<int32,string>,valuetype [System.ValueTuple ]System.ValueTuple`2<string,int32>> ICSharpCode.Decompiler.Tests.TestCases.Pretty.TupleTests::TupleDict
IL_001b: callvirt instance void class [mscorlib]System.Collections.Generic.Dictionary`2<valuetype [System.ValueTuple]System.ValueTuple`2<int32,string>,valuetype [System.ValueTuple ]System.ValueTuple`2<string,int32>>::Clear()
IL_0020: nop
IL_0021: nop
IL_0022: ldarg.0
IL_0023: ldfld class [mscorlib]System.Collections.Generic.Dictionary`2<valuetype [mscorlib]System.ValueTuple`2<int32,string>,valuetype [mscorlib ]System.ValueTuple`2<string,int32>> ICSharpCode.Decompiler.Tests.TestCases.Pretty.TupleTests::TupleDict
IL_0023: ldfld class [mscorlib]System.Collections.Generic.Dictionary`2<valuetype [System.ValueTuple]System.ValueTuple`2<int32,string>,valuetype [System.ValueTuple ]System.ValueTuple`2<string,int32>> ICSharpCode.Decompiler.Tests.TestCases.Pretty.TupleTests::TupleDict
IL_0028: ldc.i4.1
IL_0029: ldstr "abc"
IL_002e: newobj instance void valuetype [mscorlib ]System.ValueTuple`2<int32,string>::.ctor(!0,
!1)
IL_0033: callvirt instance !1 class [mscorlib]System.Collections.Generic.Dictionary`2<valuetype [mscorlib]System.ValueTuple`2<int32,string>,valuetype [mscorlib ]System.ValueTuple`2<string,int32>>::get_Item(!0)
IL_0038: ldfld !0 valuetype [mscorlib ]System.ValueTuple`2<string,int32>::Item1
IL_002e: newobj instance void valuetype [System.ValueTuple ]System.ValueTuple`2<int32,string>::.ctor(!0,
!1)
IL_0033: callvirt instance !1 class [mscorlib]System.Collections.Generic.Dictionary`2<valuetype [System.ValueTuple]System.ValueTuple`2<int32,string>,valuetype [System.ValueTuple ]System.ValueTuple`2<string,int32>>::get_Item(!0)
IL_0038: ldfld !0 valuetype [System.ValueTuple ]System.ValueTuple`2<string,int32>::Item1
IL_003d: stloc.0
IL_003e: ldloc.0
IL_003f: call void [mscorlib]System.Console::WriteLine(string)
@ -485,11 +490,11 @@
@@ -485,11 +490,11 @@
IL_0046: call void [mscorlib]System.Console::WriteLine(string)
IL_004b: nop
IL_004c: ldarg.0
IL_004d: ldfld class [mscorlib]System.Collections.Generic.Dictionary`2<valuetype [mscorlib]System.ValueTuple`2<int32,string>,valuetype [mscorlib ]System.ValueTuple`2<string,int32>> ICSharpCode.Decompiler.Tests.TestCases.Pretty.TupleTests::TupleDict
IL_0052: callvirt instance class [mscorlib]System.Collections.Generic.Dictionary`2/ValueCollection<!0,!1> class [mscorlib]System.Collections.Generic.Dictionary`2<valuetype [mscorlib]System.ValueTuple`2<int32,string>,valuetype [mscorlib ]System.ValueTuple`2<string,int32>>::get_Values()
IL_0057: call class [mscorlib]System.Collections.Generic.List`1<!!0> [System.Core]System.Linq.Enumerable::ToList<valuetype [mscorlib ]System.ValueTuple`2<string,int32>>(class [mscorlib]System.Collections.Generic.IEnumerable`1<!!0>)
IL_005c: call !!0 [System.Core]System.Linq.Enumerable::First<valuetype [mscorlib ]System.ValueTuple`2<string,int32>>(class [mscorlib]System.Collections.Generic.IEnumerable`1<!!0>)
IL_0061: ldfld !1 valuetype [mscorlib ]System.ValueTuple`2<string,int32>::Item2
IL_004d: ldfld class [mscorlib]System.Collections.Generic.Dictionary`2<valuetype [System.ValueTuple]System.ValueTuple`2<int32,string>,valuetype [System.ValueTuple ]System.ValueTuple`2<string,int32>> ICSharpCode.Decompiler.Tests.TestCases.Pretty.TupleTests::TupleDict
IL_0052: callvirt instance class [mscorlib]System.Collections.Generic.Dictionary`2/ValueCollection<!0,!1> class [mscorlib]System.Collections.Generic.Dictionary`2<valuetype [System.ValueTuple]System.ValueTuple`2<int32,string>,valuetype [System.ValueTuple ]System.ValueTuple`2<string,int32>>::get_Values()
IL_0057: call class [mscorlib]System.Collections.Generic.List`1<!!0> [System.Core]System.Linq.Enumerable::ToList<valuetype [System.ValueTuple ]System.ValueTuple`2<string,int32>>(class [mscorlib]System.Collections.Generic.IEnumerable`1<!!0>)
IL_005c: call !!0 [System.Core]System.Linq.Enumerable::First<valuetype [System.ValueTuple ]System.ValueTuple`2<string,int32>>(class [mscorlib]System.Collections.Generic.IEnumerable`1<!!0>)
IL_0061: ldfld !1 valuetype [System.ValueTuple ]System.ValueTuple`2<string,int32>::Item2
IL_0066: call void [mscorlib]System.Console::WriteLine(int32)
IL_006b: nop
IL_006c: ret
@ -500,17 +505,17 @@
@@ -500,17 +505,17 @@
{
// Code size 30 (0x1e)
.maxstack 3
.locals init (valuetype [mscorlib ]System.ValueTuple`3<int32,int32,int32> V_0)
.locals init (valuetype [System.ValueTuple ]System.ValueTuple`3<int32,int32,int32> V_0)
IL_0000: nop
IL_0001: ldc.i4.1
IL_0002: ldc.i4.2
IL_0003: ldc.i4.3
IL_0004: newobj instance void valuetype [mscorlib ]System.ValueTuple`3<int32,int32,int32>::.ctor(!0,
!1,
!2)
IL_0004: newobj instance void valuetype [System.ValueTuple ]System.ValueTuple`3<int32,int32,int32>::.ctor(!0,
!1,
!2)
IL_0009: stloc.0
IL_000a: ldloca.s V_0
IL_000c: constrained. valuetype [mscorlib ]System.ValueTuple`3<int32,int32,int32>
IL_000c: constrained. valuetype [System.ValueTuple ]System.ValueTuple`3<int32,int32,int32>
IL_0012: callvirt instance int32 [mscorlib]System.Object::GetHashCode()
IL_0017: call void [mscorlib]System.Console::WriteLine(int32)
IL_001c: nop
@ -518,32 +523,32 @@
@@ -518,32 +523,32 @@
} // end of method TupleTests::Issue1174
.method public hidebysig instance void
LocalVariables(valuetype [mscorlib ]System.ValueTuple`2<int32,int32> a) cil managed
LocalVariables(valuetype [System.ValueTuple ]System.ValueTuple`2<int32,int32> a) cil managed
{
// Code size 76 (0x4c)
.maxstack 4
.locals init (valuetype [mscorlib ]System.ValueTuple`2<int32,int32> V_0)
.locals init (valuetype [System.ValueTuple ]System.ValueTuple`2<int32,int32> V_0)
IL_0000: nop
IL_0001: ldloca.s V_0
IL_0003: ldarg.1
IL_0004: ldfld !0 valuetype [mscorlib ]System.ValueTuple`2<int32,int32>::Item1
IL_0004: ldfld !0 valuetype [System.ValueTuple ]System.ValueTuple`2<int32,int32>::Item1
IL_0009: ldarg.1
IL_000a: ldfld !1 valuetype [mscorlib ]System.ValueTuple`2<int32,int32>::Item2
IL_000a: ldfld !1 valuetype [System.ValueTuple ]System.ValueTuple`2<int32,int32>::Item2
IL_000f: add
IL_0010: ldarg.1
IL_0011: ldfld !0 valuetype [mscorlib ]System.ValueTuple`2<int32,int32>::Item1
IL_0011: ldfld !0 valuetype [System.ValueTuple ]System.ValueTuple`2<int32,int32>::Item1
IL_0016: ldarg.1
IL_0017: ldfld !1 valuetype [mscorlib ]System.ValueTuple`2<int32,int32>::Item2
IL_0017: ldfld !1 valuetype [System.ValueTuple ]System.ValueTuple`2<int32,int32>::Item2
IL_001c: mul
IL_001d: call instance void valuetype [mscorlib ]System.ValueTuple`2<int32,int32>::.ctor(!0,
!1)
IL_001d: call instance void valuetype [System.ValueTuple ]System.ValueTuple`2<int32,int32>::.ctor(!0,
!1)
IL_0022: ldloca.s V_0
IL_0024: constrained. valuetype [mscorlib ]System.ValueTuple`2<int32,int32>
IL_0024: constrained. valuetype [System.ValueTuple ]System.ValueTuple`2<int32,int32>
IL_002a: callvirt instance string [mscorlib]System.Object::ToString()
IL_002f: call void [mscorlib]System.Console::WriteLine(string)
IL_0034: nop
IL_0035: ldloc.0
IL_0036: box valuetype [mscorlib ]System.ValueTuple`2<int32,int32>
IL_0036: box valuetype [System.ValueTuple ]System.ValueTuple`2<int32,int32>
IL_003b: call instance class [mscorlib]System.Type [mscorlib]System.Object::GetType()
IL_0040: callvirt instance string [mscorlib]System.Type::get_FullName()
IL_0045: call void [mscorlib]System.Console::WriteLine(string)
@ -552,31 +557,31 @@
@@ -552,31 +557,31 @@
} // end of method TupleTests::LocalVariables
.method public hidebysig instance void
Foreach(class [mscorlib]System.Collections.Generic.IEnumerable`1<valuetype [mscorlib ]System.ValueTuple`2<int32,string>> input) cil managed
Foreach(class [mscorlib]System.Collections.Generic.IEnumerable`1<valuetype [System.ValueTuple ]System.ValueTuple`2<int32,string>> input) cil managed
{
// Code size 75 (0x4b)
.maxstack 3
.locals init (class [mscorlib]System.Collections.Generic.IEnumerator`1<valuetype [mscorlib ]System.ValueTuple`2<int32,string>> V_0,
valuetype [mscorlib ]System.ValueTuple`2<int32,string> V_1)
.locals init (class [mscorlib]System.Collections.Generic.IEnumerator`1<valuetype [System.ValueTuple ]System.ValueTuple`2<int32,string>> V_0,
valuetype [System.ValueTuple ]System.ValueTuple`2<int32,string> V_1)
IL_0000: nop
IL_0001: nop
IL_0002: ldarg.1
IL_0003: callvirt instance class [mscorlib]System.Collections.Generic.IEnumerator`1<!0> class [mscorlib]System.Collections.Generic.IEnumerable`1<valuetype [mscorlib ]System.ValueTuple`2<int32,string>>::GetEnumerator()
IL_0003: callvirt instance class [mscorlib]System.Collections.Generic.IEnumerator`1<!0> class [mscorlib]System.Collections.Generic.IEnumerable`1<valuetype [System.ValueTuple ]System.ValueTuple`2<int32,string>>::GetEnumerator()
IL_0008: stloc.0
.try
{
IL_0009: br.s IL_0035
IL_000b: ldloc.0
IL_000c: callvirt instance !0 class [mscorlib]System.Collections.Generic.IEnumerator`1<valuetype [mscorlib ]System.ValueTuple`2<int32,string>>::get_Current()
IL_000c: callvirt instance !0 class [mscorlib]System.Collections.Generic.IEnumerator`1<valuetype [System.ValueTuple ]System.ValueTuple`2<int32,string>>::get_Current()
IL_0011: stloc.1
IL_0012: nop
IL_0013: ldstr "{0}: {1}"
IL_0018: ldloc.1
IL_0019: ldfld !0 valuetype [mscorlib ]System.ValueTuple`2<int32,string>::Item1
IL_0019: ldfld !0 valuetype [System.ValueTuple ]System.ValueTuple`2<int32,string>::Item1
IL_001e: box [mscorlib]System.Int32
IL_0023: ldloc.1
IL_0024: ldfld !1 valuetype [mscorlib ]System.ValueTuple`2<int32,string>::Item2
IL_0024: ldfld !1 valuetype [System.ValueTuple ]System.ValueTuple`2<int32,string>::Item2
IL_0029: call string [mscorlib]System.String::Format(string,
object,
object)
@ -604,34 +609,34 @@
@@ -604,34 +609,34 @@
} // end of method TupleTests::Foreach
.method public hidebysig instance void
ForeachNamedElements(class [mscorlib]System.Collections.Generic.IEnumerable`1<valuetype [mscorlib ]System.ValueTuple`2<int32,string>> input) cil managed
ForeachNamedElements(class [mscorlib]System.Collections.Generic.IEnumerable`1<valuetype [System.ValueTuple ]System.ValueTuple`2<int32,string>> input) cil managed
{
.param [1]
.custom instance void [mscorlib ]System.Runtime.CompilerServices.TupleElementNamesAttribute::.ctor(string[]) = ( 01 00 02 00 00 00 05 49 6E 64 65 78 04 44 61 74 // .......Index.Dat
61 00 00 ) // a..
.custom instance void [System.ValueTuple ]System.Runtime.CompilerServices.TupleElementNamesAttribute::.ctor(string[]) = ( 01 00 02 00 00 00 05 49 6E 64 65 78 04 44 61 74 // .......Index.Dat
61 00 00 ) // a..
// Code size 75 (0x4b)
.maxstack 3
.locals init (class [mscorlib]System.Collections.Generic.IEnumerator`1<valuetype [mscorlib ]System.ValueTuple`2<int32,string>> V_0,
valuetype [mscorlib ]System.ValueTuple`2<int32,string> V_1)
.locals init (class [mscorlib]System.Collections.Generic.IEnumerator`1<valuetype [System.ValueTuple ]System.ValueTuple`2<int32,string>> V_0,
valuetype [System.ValueTuple ]System.ValueTuple`2<int32,string> V_1)
IL_0000: nop
IL_0001: nop
IL_0002: ldarg.1
IL_0003: callvirt instance class [mscorlib]System.Collections.Generic.IEnumerator`1<!0> class [mscorlib]System.Collections.Generic.IEnumerable`1<valuetype [mscorlib ]System.ValueTuple`2<int32,string>>::GetEnumerator()
IL_0003: callvirt instance class [mscorlib]System.Collections.Generic.IEnumerator`1<!0> class [mscorlib]System.Collections.Generic.IEnumerable`1<valuetype [System.ValueTuple ]System.ValueTuple`2<int32,string>>::GetEnumerator()
IL_0008: stloc.0
.try
{
IL_0009: br.s IL_0035
IL_000b: ldloc.0
IL_000c: callvirt instance !0 class [mscorlib]System.Collections.Generic.IEnumerator`1<valuetype [mscorlib ]System.ValueTuple`2<int32,string>>::get_Current()
IL_000c: callvirt instance !0 class [mscorlib]System.Collections.Generic.IEnumerator`1<valuetype [System.ValueTuple ]System.ValueTuple`2<int32,string>>::get_Current()
IL_0011: stloc.1
IL_0012: nop
IL_0013: ldstr "{0}: {1}"
IL_0018: ldloc.1
IL_0019: ldfld !0 valuetype [mscorlib ]System.ValueTuple`2<int32,string>::Item1
IL_0019: ldfld !0 valuetype [System.ValueTuple ]System.ValueTuple`2<int32,string>::Item1
IL_001e: box [mscorlib]System.Int32
IL_0023: ldloc.1
IL_0024: ldfld !1 valuetype [mscorlib ]System.ValueTuple`2<int32,string>::Item2
IL_0024: ldfld !1 valuetype [System.ValueTuple ]System.ValueTuple`2<int32,string>::Item2
IL_0029: call string [mscorlib]System.String::Format(string,
object,
object)
@ -664,7 +669,7 @@
@@ -664,7 +669,7 @@
// Code size 87 (0x57)
.maxstack 3
.locals init (class [mscorlib]System.Collections.IEnumerator V_0,
valuetype [mscorlib ]System.ValueTuple`2<string,int32> V_1,
valuetype [System.ValueTuple ]System.ValueTuple`2<string,int32> V_1,
class [mscorlib]System.IDisposable V_2)
IL_0000: nop
IL_0001: nop
@ -677,14 +682,14 @@
@@ -677,14 +682,14 @@
IL_000b: ldloc.0
IL_000c: callvirt instance object [mscorlib]System.Collections.IEnumerator::get_Current()
IL_0011: unbox.any valuetype [mscorlib ]System.ValueTuple`2<string,int32>
IL_0011: unbox.any valuetype [System.ValueTuple ]System.ValueTuple`2<string,int32>
IL_0016: stloc.1
IL_0017: nop
IL_0018: ldstr "{0}: {1}"
IL_001d: ldloc.1
IL_001e: ldfld !0 valuetype [mscorlib ]System.ValueTuple`2<string,int32>::Item1
IL_001e: ldfld !0 valuetype [System.ValueTuple ]System.ValueTuple`2<string,int32>::Item1
IL_0023: ldloc.1
IL_0024: ldfld !1 valuetype [mscorlib ]System.ValueTuple`2<string,int32>::Item2
IL_0024: ldfld !1 valuetype [System.ValueTuple ]System.ValueTuple`2<string,int32>::Item2
IL_0029: box [mscorlib]System.Int32
IL_002e: call string [mscorlib]System.String::Format(string,
object,
@ -722,22 +727,22 @@
@@ -722,22 +727,22 @@
.maxstack 8
IL_0000: nop
IL_0001: ldarg.0
IL_0002: newobj instance void class [mscorlib]System.Collections.Generic.List`1<valuetype [mscorlib ]System.ValueTuple`2<int32,string>>::.ctor()
IL_0002: newobj instance void class [mscorlib]System.Collections.Generic.List`1<valuetype [System.ValueTuple ]System.ValueTuple`2<int32,string>>::.ctor()
IL_0007: dup
IL_0008: ldc.i4.1
IL_0009: ldstr "a"
IL_000e: newobj instance void valuetype [mscorlib ]System.ValueTuple`2<int32,string>::.ctor(!0,
!1)
IL_0013: callvirt instance void class [mscorlib]System.Collections.Generic.List`1<valuetype [mscorlib ]System.ValueTuple`2<int32,string>>::Add(!0)
IL_000e: newobj instance void valuetype [System.ValueTuple ]System.ValueTuple`2<int32,string>::.ctor(!0,
!1)
IL_0013: callvirt instance void class [mscorlib]System.Collections.Generic.List`1<valuetype [System.ValueTuple ]System.ValueTuple`2<int32,string>>::Add(!0)
IL_0018: nop
IL_0019: dup
IL_001a: ldc.i4.2
IL_001b: ldstr "b"
IL_0020: newobj instance void valuetype [mscorlib ]System.ValueTuple`2<int32,string>::.ctor(!0,
!1)
IL_0025: callvirt instance void class [mscorlib]System.Collections.Generic.List`1<valuetype [mscorlib ]System.ValueTuple`2<int32,string>>::Add(!0)
IL_0020: newobj instance void valuetype [System.ValueTuple ]System.ValueTuple`2<int32,string>::.ctor(!0,
!1)
IL_0025: callvirt instance void class [mscorlib]System.Collections.Generic.List`1<valuetype [System.ValueTuple ]System.ValueTuple`2<int32,string>>::Add(!0)
IL_002a: nop
IL_002b: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.TupleTests::Foreach(class [mscorlib]System.Collections.Generic.IEnumerable`1<valuetype [mscorlib ]System.ValueTuple`2<int32,string>>)
IL_002b: call instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.TupleTests::Foreach(class [mscorlib]System.Collections.Generic.IEnumerable`1<valuetype [System.ValueTuple ]System.ValueTuple`2<int32,string>>)
IL_0030: nop
IL_0031: ret
} // end of method TupleTests::CallForeach
@ -773,30 +778,30 @@
@@ -773,30 +778,30 @@
{
.get instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.TupleTests::get_AccessPartiallyNamed()
} // end of property TupleTests::AccessPartiallyNamed
.property instance valuetype [mscorlib ]System.ValueTuple`1<int32>
.property instance valuetype [System.ValueTuple ]System.ValueTuple`1<int32>
NewTuple1()
{
.get instance valuetype [mscorlib ]System.ValueTuple`1<int32> ICSharpCode.Decompiler.Tests.TestCases.Pretty.TupleTests::get_NewTuple1()
.get instance valuetype [System.ValueTuple ]System.ValueTuple`1<int32> ICSharpCode.Decompiler.Tests.TestCases.Pretty.TupleTests::get_NewTuple1()
} // end of property TupleTests::NewTuple1
.property instance valuetype [mscorlib ]System.ValueTuple`2<int32,int32>
.property instance valuetype [System.ValueTuple ]System.ValueTuple`2<int32,int32>
NewTuple2()
{
.custom instance void [mscorlib ]System.Runtime.CompilerServices.TupleElementNamesAttribute::.ctor(string[]) = ( 01 00 02 00 00 00 01 61 01 62 00 00 ) // .......a.b..
.get instance valuetype [mscorlib ]System.ValueTuple`2<int32,int32> ICSharpCode.Decompiler.Tests.TestCases.Pretty.TupleTests::get_NewTuple2()
.custom instance void [System.ValueTuple ]System.Runtime.CompilerServices.TupleElementNamesAttribute::.ctor(string[]) = ( 01 00 02 00 00 00 01 61 01 62 00 00 ) // .......a.b..
.get instance valuetype [System.ValueTuple ]System.ValueTuple`2<int32,int32> ICSharpCode.Decompiler.Tests.TestCases.Pretty.TupleTests::get_NewTuple2()
} // end of property TupleTests::NewTuple2
.property instance object BoxedTuple10()
{
.get instance object ICSharpCode.Decompiler.Tests.TestCases.Pretty.TupleTests::get_BoxedTuple10()
} // end of property TupleTests::BoxedTuple10
.property instance valuetype [mscorlib ]System.ValueTuple`2<uint32,int32>
.property instance valuetype [System.ValueTuple ]System.ValueTuple`2<uint32,int32>
SwapUnnamed()
{
.get instance valuetype [mscorlib ]System.ValueTuple`2<uint32,int32> ICSharpCode.Decompiler.Tests.TestCases.Pretty.TupleTests::get_SwapUnnamed()
.get instance valuetype [System.ValueTuple ]System.ValueTuple`2<uint32,int32> ICSharpCode.Decompiler.Tests.TestCases.Pretty.TupleTests::get_SwapUnnamed()
} // end of property TupleTests::SwapUnnamed
.property instance valuetype [mscorlib ]System.ValueTuple`2<uint32,int32>
.property instance valuetype [System.ValueTuple ]System.ValueTuple`2<uint32,int32>
SwapNamed2()
{
.get instance valuetype [mscorlib ]System.ValueTuple`2<uint32,int32> ICSharpCode.Decompiler.Tests.TestCases.Pretty.TupleTests::get_SwapNamed2()
.get instance valuetype [System.ValueTuple ]System.ValueTuple`2<uint32,int32> ICSharpCode.Decompiler.Tests.TestCases.Pretty.TupleTests::get_SwapNamed2()
} // end of property TupleTests::SwapNamed2
.property instance int32 TupleHash()
{
@ -806,15 +811,15 @@
@@ -806,15 +811,15 @@
{
.get instance int32 ICSharpCode.Decompiler.Tests.TestCases.Pretty.TupleTests::get_TupleHash2()
} // end of property TupleTests::TupleHash2
.property instance valuetype [mscorlib ]System.ValueTuple`2<int32,int32>
.property instance valuetype [System.ValueTuple ]System.ValueTuple`2<int32,int32>
AccessRest()
{
.get instance valuetype [mscorlib ]System.ValueTuple`2<int32,int32> ICSharpCode.Decompiler.Tests.TestCases.Pretty.TupleTests::get_AccessRest()
.get instance valuetype [System.ValueTuple ]System.ValueTuple`2<int32,int32> ICSharpCode.Decompiler.Tests.TestCases.Pretty.TupleTests::get_AccessRest()
} // end of property TupleTests::AccessRest
.property instance valuetype [mscorlib ]System.ValueTuple`3<string,object,class [mscorlib]System.Action>
.property instance valuetype [System.ValueTuple ]System.ValueTuple`3<string,object,class [mscorlib]System.Action>
TargetTyping()
{
.get instance valuetype [mscorlib ]System.ValueTuple`3<string,object,class [mscorlib]System.Action> ICSharpCode.Decompiler.Tests.TestCases.Pretty.TupleTests::get_TargetTyping()
.get instance valuetype [System.ValueTuple ]System.ValueTuple`3<string,object,class [mscorlib]System.Action> ICSharpCode.Decompiler.Tests.TestCases.Pretty.TupleTests::get_TargetTyping()
} // end of property TupleTests::TargetTyping
.property instance object NotTargetTyping()
{