Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // IL code: ConsoleApplication3
- .class private auto ansi '<Module>'
- {
- } // end of class <Module>
- .class private auto ansi beforefieldinit ConsoleApplication3.Program
- extends [mscorlib]System.Object
- {
- // Methods
- .method public hidebysig static
- void Main (
- string[] args
- ) cil managed
- {
- // Method begins at RVA 0x2050
- // Code size 1 (0x1)
- .maxstack 8
- .entrypoint
- IL_0000: ret
- } // end of method Program::Main
- .method public hidebysig specialname rtspecialname
- instance void .ctor () cil managed
- {
- // Method begins at RVA 0x2052
- // Code size 7 (0x7)
- .maxstack 8
- IL_0000: ldarg.0
- IL_0001: call instance void [mscorlib]System.Object::.ctor()
- IL_0006: ret
- } // end of method Program::.ctor
- } // end of class ConsoleApplication3.Program
- .class public auto ansi beforefieldinit ConsoleApplication3.TestClass
- extends [mscorlib]System.Object
- {
- // Nested Types
- .class nested private auto ansi sealed serializable beforefieldinit '<>c'
- extends [mscorlib]System.Object
- {
- .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = (
- 01 00 00 00
- )
- // Fields
- .field public static initonly class ConsoleApplication3.TestClass/'<>c' '<>9'
- .field public static class [mscorlib]System.Func`2<object, bool> '<>9__1_0'
- .field public static class [mscorlib]System.Func`2<object, bool> '<>9__2_0'
- .field public static class [mscorlib]System.Func`2<object, string> '<>9__2_1'
- // Methods
- .method private hidebysig specialname rtspecialname static
- void .cctor () cil managed
- {
- // Method begins at RVA 0x2125
- // Code size 11 (0xb)
- .maxstack 8
- IL_0000: newobj instance void ConsoleApplication3.TestClass/'<>c'::.ctor()
- IL_0005: stsfld class ConsoleApplication3.TestClass/'<>c' ConsoleApplication3.TestClass/'<>c'::'<>9'
- IL_000a: ret
- } // end of method '<>c'::.cctor
- .method public hidebysig specialname rtspecialname
- instance void .ctor () cil managed
- {
- // Method begins at RVA 0x2052
- // Code size 7 (0x7)
- .maxstack 8
- IL_0000: ldarg.0
- IL_0001: call instance void [mscorlib]System.Object::.ctor()
- IL_0006: ret
- } // end of method '<>c'::.ctor
- .method assembly hidebysig
- instance bool '<WhereCast>b__1_0' (
- object x
- ) cil managed
- {
- // Method begins at RVA 0x2131
- // Code size 10 (0xa)
- .maxstack 8
- IL_0000: ldarg.1
- IL_0001: isinst [mscorlib]System.String
- IL_0006: ldnull
- IL_0007: cgt.un
- IL_0009: ret
- } // end of method '<>c'::'<WhereCast>b__1_0'
- .method assembly hidebysig
- instance bool '<WhereSelect>b__2_0' (
- object x
- ) cil managed
- {
- // Method begins at RVA 0x2131
- // Code size 10 (0xa)
- .maxstack 8
- IL_0000: ldarg.1
- IL_0001: isinst [mscorlib]System.String
- IL_0006: ldnull
- IL_0007: cgt.un
- IL_0009: ret
- } // end of method '<>c'::'<WhereSelect>b__2_0'
- .method assembly hidebysig
- instance string '<WhereSelect>b__2_1' (
- object x
- ) cil managed
- {
- // Method begins at RVA 0x213c
- // Code size 7 (0x7)
- .maxstack 8
- IL_0000: ldarg.1
- IL_0001: castclass [mscorlib]System.String
- IL_0006: ret
- } // end of method '<>c'::'<WhereSelect>b__2_1'
- } // end of class <>c
- // Fields
- .field private static object[] ObjectArray
- // Methods
- .method public hidebysig
- instance string[] WhereCast () cil managed
- {
- // Method begins at RVA 0x205a
- // Code size 52 (0x34)
- .maxstack 8
- IL_0000: ldsfld object[] ConsoleApplication3.TestClass::ObjectArray
- IL_0005: ldsfld class [mscorlib]System.Func`2<object, bool> ConsoleApplication3.TestClass/'<>c'::'<>9__1_0'
- IL_000a: dup
- IL_000b: brtrue.s IL_0024
- IL_000d: pop
- IL_000e: ldsfld class ConsoleApplication3.TestClass/'<>c' ConsoleApplication3.TestClass/'<>c'::'<>9'
- IL_0013: ldftn instance bool ConsoleApplication3.TestClass/'<>c'::'<WhereCast>b__1_0'(object)
- IL_0019: newobj instance void class [mscorlib]System.Func`2<object, bool>::.ctor(object, native int)
- IL_001e: dup
- IL_001f: stsfld class [mscorlib]System.Func`2<object, bool> ConsoleApplication3.TestClass/'<>c'::'<>9__1_0'
- IL_0024: call class [mscorlib]System.Collections.Generic.IEnumerable`1<!!0> [System.Core]System.Linq.Enumerable::Where<object>(class [mscorlib]System.Collections.Generic.IEnumerable`1<!!0>, class [mscorlib]System.Func`2<!!0, bool>)
- IL_0029: call class [mscorlib]System.Collections.Generic.IEnumerable`1<!!0> [System.Core]System.Linq.Enumerable::Cast<string>(class [mscorlib]System.Collections.IEnumerable)
- IL_002e: call !!0[] [System.Core]System.Linq.Enumerable::ToArray<string>(class [mscorlib]System.Collections.Generic.IEnumerable`1<!!0>)
- IL_0033: ret
- } // end of method TestClass::WhereCast
- .method public hidebysig
- instance string[] WhereSelect () cil managed
- {
- // Method begins at RVA 0x2090
- // Code size 83 (0x53)
- .maxstack 3
- IL_0000: ldsfld object[] ConsoleApplication3.TestClass::ObjectArray
- IL_0005: ldsfld class [mscorlib]System.Func`2<object, bool> ConsoleApplication3.TestClass/'<>c'::'<>9__2_0'
- IL_000a: dup
- IL_000b: brtrue.s IL_0024
- IL_000d: pop
- IL_000e: ldsfld class ConsoleApplication3.TestClass/'<>c' ConsoleApplication3.TestClass/'<>c'::'<>9'
- IL_0013: ldftn instance bool ConsoleApplication3.TestClass/'<>c'::'<WhereSelect>b__2_0'(object)
- IL_0019: newobj instance void class [mscorlib]System.Func`2<object, bool>::.ctor(object, native int)
- IL_001e: dup
- IL_001f: stsfld class [mscorlib]System.Func`2<object, bool> ConsoleApplication3.TestClass/'<>c'::'<>9__2_0'
- IL_0024: call class [mscorlib]System.Collections.Generic.IEnumerable`1<!!0> [System.Core]System.Linq.Enumerable::Where<object>(class [mscorlib]System.Collections.Generic.IEnumerable`1<!!0>, class [mscorlib]System.Func`2<!!0, bool>)
- IL_0029: ldsfld class [mscorlib]System.Func`2<object, string> ConsoleApplication3.TestClass/'<>c'::'<>9__2_1'
- IL_002e: dup
- IL_002f: brtrue.s IL_0048
- IL_0031: pop
- IL_0032: ldsfld class ConsoleApplication3.TestClass/'<>c' ConsoleApplication3.TestClass/'<>c'::'<>9'
- IL_0037: ldftn instance string ConsoleApplication3.TestClass/'<>c'::'<WhereSelect>b__2_1'(object)
- IL_003d: newobj instance void class [mscorlib]System.Func`2<object, string>::.ctor(object, native int)
- IL_0042: dup
- IL_0043: stsfld class [mscorlib]System.Func`2<object, string> ConsoleApplication3.TestClass/'<>c'::'<>9__2_1'
- IL_0048: call class [mscorlib]System.Collections.Generic.IEnumerable`1<!!1> [System.Core]System.Linq.Enumerable::Select<object, string>(class [mscorlib]System.Collections.Generic.IEnumerable`1<!!0>, class [mscorlib]System.Func`2<!!0, !!1>)
- IL_004d: call !!0[] [System.Core]System.Linq.Enumerable::ToArray<string>(class [mscorlib]System.Collections.Generic.IEnumerable`1<!!0>)
- IL_0052: ret
- } // end of method TestClass::WhereSelect
- .method public hidebysig specialname rtspecialname
- instance void .ctor () cil managed
- {
- // Method begins at RVA 0x2052
- // Code size 7 (0x7)
- .maxstack 8
- IL_0000: ldarg.0
- IL_0001: call instance void [mscorlib]System.Object::.ctor()
- IL_0006: ret
- } // end of method TestClass::.ctor
- .method private hidebysig specialname rtspecialname static
- void .cctor () cil managed
- {
- // Method begins at RVA 0x20ef
- // Code size 53 (0x35)
- .maxstack 8
- IL_0000: ldc.i4.4
- IL_0001: newarr [mscorlib]System.Object
- IL_0006: dup
- IL_0007: ldc.i4.0
- IL_0008: ldstr ""
- IL_000d: stelem.ref
- IL_000e: dup
- IL_000f: ldc.i4.1
- IL_0010: ldstr "213"
- IL_0015: stelem.ref
- IL_0016: dup
- IL_0017: ldc.i4.2
- IL_0018: ldc.i4.s 123
- IL_001a: box [mscorlib]System.Int32
- IL_001f: stelem.ref
- IL_0020: dup
- IL_0021: ldc.i4.3
- IL_0022: ldc.i4.s 54
- IL_0024: newobj instance void [mscorlib]System.Decimal::.ctor(int32)
- IL_0029: box [mscorlib]System.Decimal
- IL_002e: stelem.ref
- IL_002f: stsfld object[] ConsoleApplication3.TestClass::ObjectArray
- IL_0034: ret
- } // end of method TestClass::.cctor
- } // end of class ConsoleApplication3.TestClass
- .class nested private auto ansi sealed serializable beforefieldinit '<>c'
- extends [mscorlib]System.Object
- {
- .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = (
- 01 00 00 00
- )
- // Fields
- .field public static initonly class ConsoleApplication3.TestClass/'<>c' '<>9'
- .field public static class [mscorlib]System.Func`2<object, bool> '<>9__1_0'
- .field public static class [mscorlib]System.Func`2<object, bool> '<>9__2_0'
- .field public static class [mscorlib]System.Func`2<object, string> '<>9__2_1'
- // Methods
- .method private hidebysig specialname rtspecialname static
- void .cctor () cil managed
- {
- // Method begins at RVA 0x2125
- // Code size 11 (0xb)
- .maxstack 8
- IL_0000: newobj instance void ConsoleApplication3.TestClass/'<>c'::.ctor()
- IL_0005: stsfld class ConsoleApplication3.TestClass/'<>c' ConsoleApplication3.TestClass/'<>c'::'<>9'
- IL_000a: ret
- } // end of method '<>c'::.cctor
- .method public hidebysig specialname rtspecialname
- instance void .ctor () cil managed
- {
- // Method begins at RVA 0x2052
- // Code size 7 (0x7)
- .maxstack 8
- IL_0000: ldarg.0
- IL_0001: call instance void [mscorlib]System.Object::.ctor()
- IL_0006: ret
- } // end of method '<>c'::.ctor
- .method assembly hidebysig
- instance bool '<WhereCast>b__1_0' (
- object x
- ) cil managed
- {
- // Method begins at RVA 0x2131
- // Code size 10 (0xa)
- .maxstack 8
- IL_0000: ldarg.1
- IL_0001: isinst [mscorlib]System.String
- IL_0006: ldnull
- IL_0007: cgt.un
- IL_0009: ret
- } // end of method '<>c'::'<WhereCast>b__1_0'
- .method assembly hidebysig
- instance bool '<WhereSelect>b__2_0' (
- object x
- ) cil managed
- {
- // Method begins at RVA 0x2131
- // Code size 10 (0xa)
- .maxstack 8
- IL_0000: ldarg.1
- IL_0001: isinst [mscorlib]System.String
- IL_0006: ldnull
- IL_0007: cgt.un
- IL_0009: ret
- } // end of method '<>c'::'<WhereSelect>b__2_0'
- .method assembly hidebysig
- instance string '<WhereSelect>b__2_1' (
- object x
- ) cil managed
- {
- // Method begins at RVA 0x213c
- // Code size 7 (0x7)
- .maxstack 8
- IL_0000: ldarg.1
- IL_0001: castclass [mscorlib]System.String
- IL_0006: ret
- } // end of method '<>c'::'<WhereSelect>b__2_1'
- } // end of class <>c
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement