.NET Decompiler with support for PDB generation, ReadyToRun, Metadata (&more) - cross-platform!
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

647 lines
26 KiB

// Microsoft (R) .NET Framework IL Disassembler. Version 4.0.30319.18020
// Copyright (c) Microsoft Corporation. All rights reserved.
// Metadata version: v4.0.30319
.assembly extern mscorlib
{
.publickeytoken = (B7 7A 5C 56 19 34 E0 89 ) // .z\V.4..
.ver 4:0:0:0
}
.assembly CheckedUnchecked
{
.custom instance void [mscorlib]System.Runtime.CompilerServices.CompilationRelaxationsAttribute::.ctor(int32) = ( 01 00 08 00 00 00 00 00 )
.custom instance void [mscorlib]System.Runtime.CompilerServices.RuntimeCompatibilityAttribute::.ctor() = ( 01 00 01 00 54 02 16 57 72 61 70 4E 6F 6E 45 78 // ....T..WrapNonEx
63 65 70 74 69 6F 6E 54 68 72 6F 77 73 01 ) // ceptionThrows.
// --- The following custom attribute is added automatically, do not uncomment -------
// .custom instance void [mscorlib]System.Diagnostics.DebuggableAttribute::.ctor(valuetype [mscorlib]System.Diagnostics.DebuggableAttribute/DebuggingModes) = ( 01 00 07 01 00 00 00 00 )
.permissionset reqmin
= {[mscorlib]System.Security.Permissions.SecurityPermissionAttribute = {property bool 'SkipVerification' = bool(true)}}
.hash algorithm 0x00008004
.ver 0:0:0:0
}
.module CheckedUnchecked.dll
// MVID: {99C747B4-9547-452B-8101-128D75599E60}
.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: 0x02FB0000
// =============== CLASS MEMBERS DECLARATION ===================
.class private auto ansi sealed beforefieldinit '<>f__AnonymousType0`2'<'<x>j__TPar','<l>j__TPar'>
extends [mscorlib]System.Object
{
.custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 )
.custom instance void [mscorlib]System.Diagnostics.DebuggerDisplayAttribute::.ctor(string) = ( 01 00 15 5C 7B 20 78 20 3D 20 7B 78 7D 2C 20 6C // ...\{ x = {x}, l
20 3D 20 7B 6C 7D 20 7D 01 00 54 0E 04 54 79 70 // = {l} }..T..Typ
65 10 3C 41 6E 6F 6E 79 6D 6F 75 73 20 54 79 70 // e.<Anonymous Typ
65 3E ) // e>
.field private initonly !'<x>j__TPar' '<x>i__Field'
.custom instance void [mscorlib]System.Diagnostics.DebuggerBrowsableAttribute::.ctor(valuetype [mscorlib]System.Diagnostics.DebuggerBrowsableState) = ( 01 00 00 00 00 00 00 00 )
.field private initonly !'<l>j__TPar' '<l>i__Field'
.custom instance void [mscorlib]System.Diagnostics.DebuggerBrowsableAttribute::.ctor(valuetype [mscorlib]System.Diagnostics.DebuggerBrowsableState) = ( 01 00 00 00 00 00 00 00 )
.method public hidebysig specialname instance !'<x>j__TPar'
get_x() cil managed
{
// Code size 7 (0x7)
.maxstack 8
IL_0000: ldarg.0
IL_0001: ldfld !0 class '<>f__AnonymousType0`2'<!'<x>j__TPar',!'<l>j__TPar'>::'<x>i__Field'
IL_0006: ret
} // end of method '<>f__AnonymousType0`2'::get_x
.method public hidebysig specialname instance !'<l>j__TPar'
get_l() cil managed
{
// Code size 7 (0x7)
.maxstack 8
IL_0000: ldarg.0
IL_0001: ldfld !1 class '<>f__AnonymousType0`2'<!'<x>j__TPar',!'<l>j__TPar'>::'<l>i__Field'
IL_0006: ret
} // end of method '<>f__AnonymousType0`2'::get_l
.method public hidebysig specialname rtspecialname
instance void .ctor(!'<x>j__TPar' x,
!'<l>j__TPar' l) cil managed
{
.custom instance void [mscorlib]System.Diagnostics.DebuggerHiddenAttribute::.ctor() = ( 01 00 00 00 )
// Code size 21 (0x15)
.maxstack 8
IL_0000: ldarg.0
IL_0001: call instance void [mscorlib]System.Object::.ctor()
IL_0006: ldarg.0
IL_0007: ldarg.1
IL_0008: stfld !0 class '<>f__AnonymousType0`2'<!'<x>j__TPar',!'<l>j__TPar'>::'<x>i__Field'
IL_000d: ldarg.0
IL_000e: ldarg.2
IL_000f: stfld !1 class '<>f__AnonymousType0`2'<!'<x>j__TPar',!'<l>j__TPar'>::'<l>i__Field'
IL_0014: ret
} // end of method '<>f__AnonymousType0`2'::.ctor
.method public hidebysig virtual instance bool
Equals(object 'value') cil managed
{
.custom instance void [mscorlib]System.Diagnostics.DebuggerHiddenAttribute::.ctor() = ( 01 00 00 00 )
// Code size 60 (0x3c)
.maxstack 3
.locals init (class '<>f__AnonymousType0`2'<!'<x>j__TPar',!'<l>j__TPar'> V_0)
IL_0000: ldarg.1
IL_0001: isinst class '<>f__AnonymousType0`2'<!'<x>j__TPar',!'<l>j__TPar'>
IL_0006: stloc.0
IL_0007: ldloc.0
IL_0008: brfalse.s IL_003a
IL_000a: call class [mscorlib]System.Collections.Generic.EqualityComparer`1<!0> class [mscorlib]System.Collections.Generic.EqualityComparer`1<!'<x>j__TPar'>::get_Default()
IL_000f: ldarg.0
IL_0010: ldfld !0 class '<>f__AnonymousType0`2'<!'<x>j__TPar',!'<l>j__TPar'>::'<x>i__Field'
IL_0015: ldloc.0
IL_0016: ldfld !0 class '<>f__AnonymousType0`2'<!'<x>j__TPar',!'<l>j__TPar'>::'<x>i__Field'
IL_001b: callvirt instance bool class [mscorlib]System.Collections.Generic.EqualityComparer`1<!'<x>j__TPar'>::Equals(!0,
!0)
IL_0020: brfalse.s IL_003a
IL_0022: call class [mscorlib]System.Collections.Generic.EqualityComparer`1<!0> class [mscorlib]System.Collections.Generic.EqualityComparer`1<!'<l>j__TPar'>::get_Default()
IL_0027: ldarg.0
IL_0028: ldfld !1 class '<>f__AnonymousType0`2'<!'<x>j__TPar',!'<l>j__TPar'>::'<l>i__Field'
IL_002d: ldloc.0
IL_002e: ldfld !1 class '<>f__AnonymousType0`2'<!'<x>j__TPar',!'<l>j__TPar'>::'<l>i__Field'
IL_0033: callvirt instance bool class [mscorlib]System.Collections.Generic.EqualityComparer`1<!'<l>j__TPar'>::Equals(!0,
!0)
IL_0038: br.s IL_003b
IL_003a: ldc.i4.0
IL_003b: ret
} // end of method '<>f__AnonymousType0`2'::Equals
.method public hidebysig virtual instance int32
GetHashCode() cil managed
{
.custom instance void [mscorlib]System.Diagnostics.DebuggerHiddenAttribute::.ctor() = ( 01 00 00 00 )
// Code size 52 (0x34)
.maxstack 8
IL_0000: ldc.i4 0xf0268823
IL_0005: ldc.i4 0xa5555529
IL_000a: mul
IL_000b: call class [mscorlib]System.Collections.Generic.EqualityComparer`1<!0> class [mscorlib]System.Collections.Generic.EqualityComparer`1<!'<x>j__TPar'>::get_Default()
IL_0010: ldarg.0
IL_0011: ldfld !0 class '<>f__AnonymousType0`2'<!'<x>j__TPar',!'<l>j__TPar'>::'<x>i__Field'
IL_0016: callvirt instance int32 class [mscorlib]System.Collections.Generic.EqualityComparer`1<!'<x>j__TPar'>::GetHashCode(!0)
IL_001b: add
IL_001c: ldc.i4 0xa5555529
IL_0021: mul
IL_0022: call class [mscorlib]System.Collections.Generic.EqualityComparer`1<!0> class [mscorlib]System.Collections.Generic.EqualityComparer`1<!'<l>j__TPar'>::get_Default()
IL_0027: ldarg.0
IL_0028: ldfld !1 class '<>f__AnonymousType0`2'<!'<x>j__TPar',!'<l>j__TPar'>::'<l>i__Field'
IL_002d: callvirt instance int32 class [mscorlib]System.Collections.Generic.EqualityComparer`1<!'<l>j__TPar'>::GetHashCode(!0)
IL_0032: add
IL_0033: ret
} // end of method '<>f__AnonymousType0`2'::GetHashCode
.method public hidebysig virtual instance string
ToString() cil managed
{
.custom instance void [mscorlib]System.Diagnostics.DebuggerHiddenAttribute::.ctor() = ( 01 00 00 00 )
// Code size 136 (0x88)
.maxstack 7
.locals init (!'<x>j__TPar' V_0,
!'<x>j__TPar' V_1,
!'<l>j__TPar' V_2,
!'<l>j__TPar' V_3)
IL_0000: ldnull
IL_0001: ldstr "{{ x = {0}, l = {1} }}"
IL_0006: ldc.i4.2
IL_0007: newarr [mscorlib]System.Object
IL_000c: dup
IL_000d: ldc.i4.0
IL_000e: ldarg.0
IL_000f: ldfld !0 class '<>f__AnonymousType0`2'<!'<x>j__TPar',!'<l>j__TPar'>::'<x>i__Field'
IL_0014: stloc.0
IL_0015: ldloca.s V_0
IL_0017: ldloca.s V_1
IL_0019: initobj !'<x>j__TPar'
IL_001f: ldloc.1
IL_0020: box !'<x>j__TPar'
IL_0025: brtrue.s IL_003b
IL_0027: ldobj !'<x>j__TPar'
IL_002c: stloc.1
IL_002d: ldloca.s V_1
IL_002f: ldloc.1
IL_0030: box !'<x>j__TPar'
IL_0035: brtrue.s IL_003b
IL_0037: pop
IL_0038: ldnull
IL_0039: br.s IL_0046
IL_003b: constrained. !'<x>j__TPar'
IL_0041: callvirt instance string [mscorlib]System.Object::ToString()
IL_0046: stelem.ref
IL_0047: dup
IL_0048: ldc.i4.1
IL_0049: ldarg.0
IL_004a: ldfld !1 class '<>f__AnonymousType0`2'<!'<x>j__TPar',!'<l>j__TPar'>::'<l>i__Field'
IL_004f: stloc.2
IL_0050: ldloca.s V_2
IL_0052: ldloca.s V_3
IL_0054: initobj !'<l>j__TPar'
IL_005a: ldloc.3
IL_005b: box !'<l>j__TPar'
IL_0060: brtrue.s IL_0076
IL_0062: ldobj !'<l>j__TPar'
IL_0067: stloc.3
IL_0068: ldloca.s V_3
IL_006a: ldloc.3
IL_006b: box !'<l>j__TPar'
IL_0070: brtrue.s IL_0076
IL_0072: pop
IL_0073: ldnull
IL_0074: br.s IL_0081
IL_0076: constrained. !'<l>j__TPar'
IL_007c: callvirt instance string [mscorlib]System.Object::ToString()
IL_0081: stelem.ref
IL_0082: call string [mscorlib]System.String::Format(class [mscorlib]System.IFormatProvider,
string,
object[])
IL_0087: ret
} // end of method '<>f__AnonymousType0`2'::ToString
.property instance !'<x>j__TPar' x()
{
.get instance !'<x>j__TPar' '<>f__AnonymousType0`2'::get_x()
} // end of property '<>f__AnonymousType0`2'::x
.property instance !'<l>j__TPar' l()
{
.get instance !'<l>j__TPar' '<>f__AnonymousType0`2'::get_l()
} // end of property '<>f__AnonymousType0`2'::l
} // end of class '<>f__AnonymousType0`2'
.class public auto ansi beforefieldinit ICSharpCode.Decompiler.Tests.TestCases.Pretty.CheckedUnchecked
extends [mscorlib]System.Object
{
.class auto ansi serializable sealed nested private beforefieldinit '<>c'
extends [mscorlib]System.Object
{
.custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 )
.field public static initonly class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CheckedUnchecked/'<>c' '<>9'
.field public static class [mscorlib]System.Func`2<class '<>f__AnonymousType0`2'<int32,int32>,class '<>f__AnonymousType0`2'<int32,int32>> '<>9__4_0'
.field public static class [mscorlib]System.Func`2<class '<>f__AnonymousType0`2'<int32,int32>,class '<>f__AnonymousType0`2'<int32,int32>> '<>9__5_0'
.field public static class [mscorlib]System.Func`2<int32[],int32[]> '<>9__6_0'
.method private hidebysig specialname rtspecialname static
void .cctor() cil managed
{
// Code size 11 (0xb)
.maxstack 8
IL_0000: newobj instance void ICSharpCode.Decompiler.Tests.TestCases.Pretty.CheckedUnchecked/'<>c'::.ctor()
IL_0005: stsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CheckedUnchecked/'<>c' ICSharpCode.Decompiler.Tests.TestCases.Pretty.CheckedUnchecked/'<>c'::'<>9'
IL_000a: ret
} // end of method '<>c'::.cctor
.method public hidebysig specialname rtspecialname
instance void .ctor() cil managed
{
// Code size 8 (0x8)
.maxstack 8
IL_0000: ldarg.0
IL_0001: call instance void [mscorlib]System.Object::.ctor()
IL_0006: nop
IL_0007: ret
} // end of method '<>c'::.ctor
.method assembly hidebysig instance class '<>f__AnonymousType0`2'<int32,int32>
'<ObjectCreationInitializerChecked>b__4_0'(class '<>f__AnonymousType0`2'<int32,int32> n) cil managed
{
// Code size 22 (0x16)
.maxstack 8
IL_0000: ldarg.1
IL_0001: callvirt instance !0 class '<>f__AnonymousType0`2'<int32,int32>::get_x()
IL_0006: ldc.i4.1
IL_0007: add.ovf
IL_0008: ldarg.1
IL_0009: callvirt instance !1 class '<>f__AnonymousType0`2'<int32,int32>::get_l()
IL_000e: ldc.i4.1
IL_000f: add.ovf
IL_0010: newobj instance void class '<>f__AnonymousType0`2'<int32,int32>::.ctor(!0,
!1)
IL_0015: ret
} // end of method '<>c'::'<ObjectCreationInitializerChecked>b__4_0'
.method assembly hidebysig instance class '<>f__AnonymousType0`2'<int32,int32>
'<ObjectCreationWithOneFieldChecked>b__5_0'(class '<>f__AnonymousType0`2'<int32,int32> n) cil managed
{
// Code size 22 (0x16)
.maxstack 8
IL_0000: ldarg.1
IL_0001: callvirt instance !0 class '<>f__AnonymousType0`2'<int32,int32>::get_x()
IL_0006: ldc.i4.1
IL_0007: add.ovf
IL_0008: ldarg.1
IL_0009: callvirt instance !1 class '<>f__AnonymousType0`2'<int32,int32>::get_l()
IL_000e: ldc.i4.1
IL_000f: add
IL_0010: newobj instance void class '<>f__AnonymousType0`2'<int32,int32>::.ctor(!0,
!1)
IL_0015: ret
} // end of method '<>c'::'<ObjectCreationWithOneFieldChecked>b__5_0'
.method assembly hidebysig instance int32[]
'<ArrayInitializerChecked>b__6_0'(int32[] n) cil managed
{
// Code size 23 (0x17)
.maxstack 8
IL_0000: ldc.i4.2
IL_0001: newarr [mscorlib]System.Int32
IL_0006: dup
IL_0007: ldc.i4.0
IL_0008: ldarg.1
IL_0009: ldc.i4.0
IL_000a: ldelem.i4
IL_000b: ldc.i4.1
IL_000c: add.ovf
IL_000d: stelem.i4
IL_000e: dup
IL_000f: ldc.i4.1
IL_0010: ldarg.1
IL_0011: ldc.i4.1
IL_0012: ldelem.i4
IL_0013: ldc.i4.1
IL_0014: add.ovf
IL_0015: stelem.i4
IL_0016: ret
} // end of method '<>c'::'<ArrayInitializerChecked>b__6_0'
} // end of class '<>c'
.method public hidebysig instance int32
Operators(int32 a,
int32 b) cil managed
{
// Code size 63 (0x3f)
.maxstack 2
.locals init (int32 V_0,
int32 V_1,
int32 V_2,
int32 V_3,
int32 V_4,
int32 V_5,
int32 V_6,
int32 V_7,
int32 V_8)
IL_0000: nop
IL_0001: ldarg.1
IL_0002: ldarg.2
IL_0003: add.ovf
IL_0004: stloc.0
IL_0005: ldarg.1
IL_0006: ldarg.2
IL_0007: add
IL_0008: stloc.1
IL_0009: ldarg.1
IL_000a: ldarg.2
IL_000b: sub.ovf
IL_000c: stloc.2
IL_000d: ldarg.1
IL_000e: ldarg.2
IL_000f: sub
IL_0010: stloc.3
IL_0011: ldarg.1
IL_0012: ldarg.2
IL_0013: mul.ovf
IL_0014: stloc.s V_4
IL_0016: ldarg.1
IL_0017: ldarg.2
IL_0018: mul
IL_0019: stloc.s V_5
IL_001b: ldarg.1
IL_001c: ldarg.2
IL_001d: div
IL_001e: stloc.s V_6
IL_0020: ldarg.1
IL_0021: ldarg.2
IL_0022: rem
IL_0023: stloc.s V_7
IL_0025: ldloc.0
IL_0026: ldloc.1
IL_0027: mul
IL_0028: ldloc.2
IL_0029: mul
IL_002a: ldloc.3
IL_002b: mul
IL_002c: ldloc.s V_4
IL_002e: mul
IL_002f: ldloc.s V_5
IL_0031: mul
IL_0032: ldloc.s V_6
IL_0034: mul
IL_0035: ldloc.s V_7
IL_0037: mul
IL_0038: stloc.s V_8
IL_003a: br.s IL_003c
IL_003c: ldloc.s V_8
IL_003e: ret
} // end of method CheckedUnchecked::Operators
.method public hidebysig instance int32
Cast(int32 a) cil managed
{
// Code size 27 (0x1b)
.maxstack 2
.locals init (int16 V_0,
int16 V_1,
uint8 V_2,
uint8 V_3,
int32 V_4)
IL_0000: nop
IL_0001: ldarg.1
IL_0002: conv.ovf.i2
IL_0003: stloc.0
IL_0004: ldarg.1
IL_0005: conv.i2
IL_0006: stloc.1
IL_0007: ldarg.1
IL_0008: conv.ovf.u1
IL_0009: stloc.2
IL_000a: ldarg.1
IL_000b: conv.u1
IL_000c: stloc.3
IL_000d: ldloc.0
IL_000e: ldloc.1
IL_000f: mul
IL_0010: ldloc.2
IL_0011: mul
IL_0012: ldloc.3
IL_0013: mul
IL_0014: stloc.s V_4
IL_0016: br.s IL_0018
IL_0018: ldloc.s V_4
IL_001a: ret
} // end of method CheckedUnchecked::Cast
.method public hidebysig instance void
ForWithCheckedIteratorAndUncheckedBody(int32 n) cil managed
{
// Code size 31 (0x1f)
.maxstack 3
.locals init (int32 V_0,
bool V_1)
IL_0000: nop
IL_0001: nop
IL_0002: ldarg.1
IL_0003: ldc.i4.1
IL_0004: add.ovf
IL_0005: stloc.0
IL_0006: br.s IL_0013
IL_0008: nop
IL_0009: ldloc.0
IL_000a: ldloc.0
IL_000b: mul
IL_000c: starg.s n
IL_000e: nop
IL_000f: ldloc.0
IL_0010: ldc.i4.1
IL_0011: add.ovf
IL_0012: stloc.0
IL_0013: ldloc.0
IL_0014: ldarg.1
IL_0015: ldc.i4.1
IL_0016: add.ovf
IL_0017: clt
IL_0019: stloc.1
IL_001a: ldloc.1
IL_001b: brtrue.s IL_0008
IL_001d: nop
IL_001e: ret
} // end of method CheckedUnchecked::ForWithCheckedIteratorAndUncheckedBody
.method public hidebysig instance void
ForWithCheckedInitializerAndUncheckedIterator(int32 n) cil managed
{
// Code size 30 (0x1e)
.maxstack 2
.locals init (int32 V_0,
bool V_1)
IL_0000: nop
IL_0001: ldarg.1
IL_0002: stloc.0
IL_0003: ldloc.0
IL_0004: ldc.i4.s 10
IL_0006: sub.ovf
IL_0007: stloc.0
IL_0008: br.s IL_0015
IL_000a: nop
IL_000b: ldarg.1
IL_000c: ldc.i4.1
IL_000d: sub
IL_000e: starg.s n
IL_0010: nop
IL_0011: ldloc.0
IL_0012: ldc.i4.1
IL_0013: add
IL_0014: stloc.0
IL_0015: ldloc.0
IL_0016: ldarg.1
IL_0017: clt
IL_0019: stloc.1
IL_001a: ldloc.1
IL_001b: brtrue.s IL_000a
IL_001d: ret
} // end of method CheckedUnchecked::ForWithCheckedInitializerAndUncheckedIterator
.method public hidebysig instance void
ObjectCreationInitializerChecked() cil managed
{
// Code size 47 (0x2f)
.maxstack 8
IL_0000: nop
IL_0001: ldarg.0
IL_0002: ldc.i4.0
IL_0003: ldc.i4.0
IL_0004: newobj instance void class '<>f__AnonymousType0`2'<int32,int32>::.ctor(!0,
!1)
IL_0009: ldsfld class [mscorlib]System.Func`2<class '<>f__AnonymousType0`2'<int32,int32>,class '<>f__AnonymousType0`2'<int32,int32>> ICSharpCode.Decompiler.Tests.TestCases.Pretty.CheckedUnchecked/'<>c'::'<>9__4_0'
IL_000e: dup
IL_000f: brtrue.s IL_0028
IL_0011: pop
IL_0012: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CheckedUnchecked/'<>c' ICSharpCode.Decompiler.Tests.TestCases.Pretty.CheckedUnchecked/'<>c'::'<>9'
IL_0017: ldftn instance class '<>f__AnonymousType0`2'<int32,int32> ICSharpCode.Decompiler.Tests.TestCases.Pretty.CheckedUnchecked/'<>c'::'<ObjectCreationInitializerChecked>b__4_0'(class '<>f__AnonymousType0`2'<int32,int32>)
IL_001d: newobj instance void class [mscorlib]System.Func`2<class '<>f__AnonymousType0`2'<int32,int32>,class '<>f__AnonymousType0`2'<int32,int32>>::.ctor(object,
native int)
IL_0022: dup
IL_0023: stsfld class [mscorlib]System.Func`2<class '<>f__AnonymousType0`2'<int32,int32>,class '<>f__AnonymousType0`2'<int32,int32>> ICSharpCode.Decompiler.Tests.TestCases.Pretty.CheckedUnchecked/'<>c'::'<>9__4_0'
IL_0028: call instance !!0 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CheckedUnchecked::TestHelp<class '<>f__AnonymousType0`2'<int32,int32>>(!!0,
class [mscorlib]System.Func`2<!!0,!!0>)
IL_002d: pop
IL_002e: ret
} // end of method CheckedUnchecked::ObjectCreationInitializerChecked
.method public hidebysig instance void
ObjectCreationWithOneFieldChecked() cil managed
{
// Code size 47 (0x2f)
.maxstack 8
IL_0000: nop
IL_0001: ldarg.0
IL_0002: ldc.i4.0
IL_0003: ldc.i4.0
IL_0004: newobj instance void class '<>f__AnonymousType0`2'<int32,int32>::.ctor(!0,
!1)
IL_0009: ldsfld class [mscorlib]System.Func`2<class '<>f__AnonymousType0`2'<int32,int32>,class '<>f__AnonymousType0`2'<int32,int32>> ICSharpCode.Decompiler.Tests.TestCases.Pretty.CheckedUnchecked/'<>c'::'<>9__5_0'
IL_000e: dup
IL_000f: brtrue.s IL_0028
IL_0011: pop
IL_0012: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CheckedUnchecked/'<>c' ICSharpCode.Decompiler.Tests.TestCases.Pretty.CheckedUnchecked/'<>c'::'<>9'
IL_0017: ldftn instance class '<>f__AnonymousType0`2'<int32,int32> ICSharpCode.Decompiler.Tests.TestCases.Pretty.CheckedUnchecked/'<>c'::'<ObjectCreationWithOneFieldChecked>b__5_0'(class '<>f__AnonymousType0`2'<int32,int32>)
IL_001d: newobj instance void class [mscorlib]System.Func`2<class '<>f__AnonymousType0`2'<int32,int32>,class '<>f__AnonymousType0`2'<int32,int32>>::.ctor(object,
native int)
IL_0022: dup
IL_0023: stsfld class [mscorlib]System.Func`2<class '<>f__AnonymousType0`2'<int32,int32>,class '<>f__AnonymousType0`2'<int32,int32>> ICSharpCode.Decompiler.Tests.TestCases.Pretty.CheckedUnchecked/'<>c'::'<>9__5_0'
IL_0028: call instance !!0 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CheckedUnchecked::TestHelp<class '<>f__AnonymousType0`2'<int32,int32>>(!!0,
class [mscorlib]System.Func`2<!!0,!!0>)
IL_002d: pop
IL_002e: ret
} // end of method CheckedUnchecked::ObjectCreationWithOneFieldChecked
.method public hidebysig instance void
ArrayInitializerChecked() cil managed
{
// Code size 54 (0x36)
.maxstack 8
IL_0000: nop
IL_0001: ldarg.0
IL_0002: ldc.i4.2
IL_0003: newarr [mscorlib]System.Int32
IL_0008: dup
IL_0009: ldc.i4.0
IL_000a: ldc.i4.1
IL_000b: stelem.i4
IL_000c: dup
IL_000d: ldc.i4.1
IL_000e: ldc.i4.2
IL_000f: stelem.i4
IL_0010: ldsfld class [mscorlib]System.Func`2<int32[],int32[]> ICSharpCode.Decompiler.Tests.TestCases.Pretty.CheckedUnchecked/'<>c'::'<>9__6_0'
IL_0015: dup
IL_0016: brtrue.s IL_002f
IL_0018: pop
IL_0019: ldsfld class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CheckedUnchecked/'<>c' ICSharpCode.Decompiler.Tests.TestCases.Pretty.CheckedUnchecked/'<>c'::'<>9'
IL_001e: ldftn instance int32[] ICSharpCode.Decompiler.Tests.TestCases.Pretty.CheckedUnchecked/'<>c'::'<ArrayInitializerChecked>b__6_0'(int32[])
IL_0024: newobj instance void class [mscorlib]System.Func`2<int32[],int32[]>::.ctor(object,
native int)
IL_0029: dup
IL_002a: stsfld class [mscorlib]System.Func`2<int32[],int32[]> ICSharpCode.Decompiler.Tests.TestCases.Pretty.CheckedUnchecked/'<>c'::'<>9__6_0'
IL_002f: call instance !!0 ICSharpCode.Decompiler.Tests.TestCases.Pretty.CheckedUnchecked::TestHelp<int32[]>(!!0,
class [mscorlib]System.Func`2<!!0,!!0>)
IL_0034: pop
IL_0035: ret
} // end of method CheckedUnchecked::ArrayInitializerChecked
.method public hidebysig instance !!T TestHelp<T>(!!T t,
class [mscorlib]System.Func`2<!!T,!!T> f) cil managed
{
// Code size 13 (0xd)
.maxstack 2
.locals init (!!T V_0)
IL_0000: nop
IL_0001: ldarg.2
IL_0002: ldarg.1
IL_0003: callvirt instance !1 class [mscorlib]System.Func`2<!!T,!!T>::Invoke(!0)
IL_0008: stloc.0
IL_0009: br.s IL_000b
IL_000b: ldloc.0
IL_000c: ret
} // end of method CheckedUnchecked::TestHelp
.method public hidebysig instance void
CheckedInArrayCreationArgument(int32 a,
int32 b) cil managed
{
// Code size 16 (0x10)
.maxstack 8
IL_0000: nop
IL_0001: ldarg.1
IL_0002: ldarg.2
IL_0003: add.ovf
IL_0004: newarr [mscorlib]System.Int32
IL_0009: call void [mscorlib]System.Console::WriteLine(object)
IL_000e: nop
IL_000f: ret
} // end of method CheckedUnchecked::CheckedInArrayCreationArgument
.method public hidebysig specialname rtspecialname
instance void .ctor() cil managed
{
// Code size 8 (0x8)
.maxstack 8
IL_0000: ldarg.0
IL_0001: call instance void [mscorlib]System.Object::.ctor()
IL_0006: nop
IL_0007: ret
} // end of method CheckedUnchecked::.ctor
} // end of class ICSharpCode.Decompiler.Tests.TestCases.Pretty.CheckedUnchecked
// =============================================================
// *********** DISASSEMBLY COMPLETE ***********************