Advertisement
Guest User

Untitled

a guest
Mar 29th, 2019
220
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // IL code: ConsoleApplication3
  2. .class private auto ansi '<Module>'
  3. {
  4. } // end of class <Module>
  5.  
  6. .class private auto ansi beforefieldinit ConsoleApplication3.Program
  7.     extends [mscorlib]System.Object
  8. {
  9.     // Methods
  10.     .method public hidebysig static
  11.         void Main (
  12.             string[] args
  13.         ) cil managed
  14.     {
  15.         // Method begins at RVA 0x2050
  16.         // Code size 1 (0x1)
  17.         .maxstack 8
  18.         .entrypoint
  19.  
  20.         IL_0000: ret
  21.     } // end of method Program::Main
  22.  
  23.     .method public hidebysig specialname rtspecialname
  24.         instance void .ctor () cil managed
  25.     {
  26.         // Method begins at RVA 0x2052
  27.         // Code size 7 (0x7)
  28.         .maxstack 8
  29.  
  30.         IL_0000: ldarg.0
  31.         IL_0001: call instance void [mscorlib]System.Object::.ctor()
  32.         IL_0006: ret
  33.     } // end of method Program::.ctor
  34.  
  35. } // end of class ConsoleApplication3.Program
  36.  
  37. .class public auto ansi beforefieldinit ConsoleApplication3.TestClass
  38.     extends [mscorlib]System.Object
  39. {
  40.     // Nested Types
  41.     .class nested private auto ansi sealed serializable beforefieldinit '<>c'
  42.         extends [mscorlib]System.Object
  43.     {
  44.         .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = (
  45.             01 00 00 00
  46.         )
  47.         // Fields
  48.         .field public static initonly class ConsoleApplication3.TestClass/'<>c' '<>9'
  49.         .field public static class [mscorlib]System.Func`2<object, bool> '<>9__1_0'
  50.         .field public static class [mscorlib]System.Func`2<object, bool> '<>9__2_0'
  51.         .field public static class [mscorlib]System.Func`2<object, string> '<>9__2_1'
  52.  
  53.         // Methods
  54.         .method private hidebysig specialname rtspecialname static
  55.             void .cctor () cil managed
  56.         {
  57.             // Method begins at RVA 0x2125
  58.             // Code size 11 (0xb)
  59.             .maxstack 8
  60.  
  61.             IL_0000: newobj instance void ConsoleApplication3.TestClass/'<>c'::.ctor()
  62.             IL_0005: stsfld class ConsoleApplication3.TestClass/'<>c' ConsoleApplication3.TestClass/'<>c'::'<>9'
  63.             IL_000a: ret
  64.         } // end of method '<>c'::.cctor
  65.  
  66.         .method public hidebysig specialname rtspecialname
  67.             instance void .ctor () cil managed
  68.         {
  69.             // Method begins at RVA 0x2052
  70.             // Code size 7 (0x7)
  71.             .maxstack 8
  72.  
  73.             IL_0000: ldarg.0
  74.             IL_0001: call instance void [mscorlib]System.Object::.ctor()
  75.             IL_0006: ret
  76.         } // end of method '<>c'::.ctor
  77.  
  78.         .method assembly hidebysig
  79.             instance bool '<WhereCast>b__1_0' (
  80.                 object x
  81.             ) cil managed
  82.         {
  83.             // Method begins at RVA 0x2131
  84.             // Code size 10 (0xa)
  85.             .maxstack 8
  86.  
  87.             IL_0000: ldarg.1
  88.             IL_0001: isinst [mscorlib]System.String
  89.             IL_0006: ldnull
  90.             IL_0007: cgt.un
  91.             IL_0009: ret
  92.         } // end of method '<>c'::'<WhereCast>b__1_0'
  93.  
  94.         .method assembly hidebysig
  95.             instance bool '<WhereSelect>b__2_0' (
  96.                 object x
  97.             ) cil managed
  98.         {
  99.             // Method begins at RVA 0x2131
  100.             // Code size 10 (0xa)
  101.             .maxstack 8
  102.  
  103.             IL_0000: ldarg.1
  104.             IL_0001: isinst [mscorlib]System.String
  105.             IL_0006: ldnull
  106.             IL_0007: cgt.un
  107.             IL_0009: ret
  108.         } // end of method '<>c'::'<WhereSelect>b__2_0'
  109.  
  110.         .method assembly hidebysig
  111.             instance string '<WhereSelect>b__2_1' (
  112.                 object x
  113.             ) cil managed
  114.         {
  115.             // Method begins at RVA 0x213c
  116.             // Code size 7 (0x7)
  117.             .maxstack 8
  118.  
  119.             IL_0000: ldarg.1
  120.             IL_0001: castclass [mscorlib]System.String
  121.             IL_0006: ret
  122.         } // end of method '<>c'::'<WhereSelect>b__2_1'
  123.  
  124.     } // end of class <>c
  125.  
  126.  
  127.     // Fields
  128.     .field private static object[] ObjectArray
  129.  
  130.     // Methods
  131.     .method public hidebysig
  132.         instance string[] WhereCast () cil managed
  133.     {
  134.         // Method begins at RVA 0x205a
  135.         // Code size 52 (0x34)
  136.         .maxstack 8
  137.  
  138.         IL_0000: ldsfld object[] ConsoleApplication3.TestClass::ObjectArray
  139.         IL_0005: ldsfld class [mscorlib]System.Func`2<object, bool> ConsoleApplication3.TestClass/'<>c'::'<>9__1_0'
  140.         IL_000a: dup
  141.         IL_000b: brtrue.s IL_0024
  142.  
  143.         IL_000d: pop
  144.         IL_000e: ldsfld class ConsoleApplication3.TestClass/'<>c' ConsoleApplication3.TestClass/'<>c'::'<>9'
  145.         IL_0013: ldftn instance bool ConsoleApplication3.TestClass/'<>c'::'<WhereCast>b__1_0'(object)
  146.         IL_0019: newobj instance void class [mscorlib]System.Func`2<object, bool>::.ctor(object, native int)
  147.         IL_001e: dup
  148.         IL_001f: stsfld class [mscorlib]System.Func`2<object, bool> ConsoleApplication3.TestClass/'<>c'::'<>9__1_0'
  149.  
  150.         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>)
  151.         IL_0029: call class [mscorlib]System.Collections.Generic.IEnumerable`1<!!0> [System.Core]System.Linq.Enumerable::Cast<string>(class [mscorlib]System.Collections.IEnumerable)
  152.         IL_002e: call !!0[] [System.Core]System.Linq.Enumerable::ToArray<string>(class [mscorlib]System.Collections.Generic.IEnumerable`1<!!0>)
  153.         IL_0033: ret
  154.     } // end of method TestClass::WhereCast
  155.  
  156.     .method public hidebysig
  157.         instance string[] WhereSelect () cil managed
  158.     {
  159.         // Method begins at RVA 0x2090
  160.         // Code size 83 (0x53)
  161.         .maxstack 3
  162.  
  163.         IL_0000: ldsfld object[] ConsoleApplication3.TestClass::ObjectArray
  164.         IL_0005: ldsfld class [mscorlib]System.Func`2<object, bool> ConsoleApplication3.TestClass/'<>c'::'<>9__2_0'
  165.         IL_000a: dup
  166.         IL_000b: brtrue.s IL_0024
  167.  
  168.         IL_000d: pop
  169.         IL_000e: ldsfld class ConsoleApplication3.TestClass/'<>c' ConsoleApplication3.TestClass/'<>c'::'<>9'
  170.         IL_0013: ldftn instance bool ConsoleApplication3.TestClass/'<>c'::'<WhereSelect>b__2_0'(object)
  171.         IL_0019: newobj instance void class [mscorlib]System.Func`2<object, bool>::.ctor(object, native int)
  172.         IL_001e: dup
  173.         IL_001f: stsfld class [mscorlib]System.Func`2<object, bool> ConsoleApplication3.TestClass/'<>c'::'<>9__2_0'
  174.  
  175.         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>)
  176.         IL_0029: ldsfld class [mscorlib]System.Func`2<object, string> ConsoleApplication3.TestClass/'<>c'::'<>9__2_1'
  177.         IL_002e: dup
  178.         IL_002f: brtrue.s IL_0048
  179.  
  180.         IL_0031: pop
  181.         IL_0032: ldsfld class ConsoleApplication3.TestClass/'<>c' ConsoleApplication3.TestClass/'<>c'::'<>9'
  182.         IL_0037: ldftn instance string ConsoleApplication3.TestClass/'<>c'::'<WhereSelect>b__2_1'(object)
  183.         IL_003d: newobj instance void class [mscorlib]System.Func`2<object, string>::.ctor(object, native int)
  184.         IL_0042: dup
  185.         IL_0043: stsfld class [mscorlib]System.Func`2<object, string> ConsoleApplication3.TestClass/'<>c'::'<>9__2_1'
  186.  
  187.         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>)
  188.         IL_004d: call !!0[] [System.Core]System.Linq.Enumerable::ToArray<string>(class [mscorlib]System.Collections.Generic.IEnumerable`1<!!0>)
  189.         IL_0052: ret
  190.     } // end of method TestClass::WhereSelect
  191.  
  192.     .method public hidebysig specialname rtspecialname
  193.         instance void .ctor () cil managed
  194.     {
  195.         // Method begins at RVA 0x2052
  196.         // Code size 7 (0x7)
  197.         .maxstack 8
  198.  
  199.         IL_0000: ldarg.0
  200.         IL_0001: call instance void [mscorlib]System.Object::.ctor()
  201.         IL_0006: ret
  202.     } // end of method TestClass::.ctor
  203.  
  204.     .method private hidebysig specialname rtspecialname static
  205.         void .cctor () cil managed
  206.     {
  207.         // Method begins at RVA 0x20ef
  208.         // Code size 53 (0x35)
  209.         .maxstack 8
  210.  
  211.         IL_0000: ldc.i4.4
  212.         IL_0001: newarr [mscorlib]System.Object
  213.         IL_0006: dup
  214.         IL_0007: ldc.i4.0
  215.         IL_0008: ldstr ""
  216.         IL_000d: stelem.ref
  217.         IL_000e: dup
  218.         IL_000f: ldc.i4.1
  219.         IL_0010: ldstr "213"
  220.         IL_0015: stelem.ref
  221.         IL_0016: dup
  222.         IL_0017: ldc.i4.2
  223.         IL_0018: ldc.i4.s 123
  224.         IL_001a: box [mscorlib]System.Int32
  225.         IL_001f: stelem.ref
  226.         IL_0020: dup
  227.         IL_0021: ldc.i4.3
  228.         IL_0022: ldc.i4.s 54
  229.         IL_0024: newobj instance void [mscorlib]System.Decimal::.ctor(int32)
  230.         IL_0029: box [mscorlib]System.Decimal
  231.         IL_002e: stelem.ref
  232.         IL_002f: stsfld object[] ConsoleApplication3.TestClass::ObjectArray
  233.         IL_0034: ret
  234.     } // end of method TestClass::.cctor
  235.  
  236. } // end of class ConsoleApplication3.TestClass
  237.  
  238. .class nested private auto ansi sealed serializable beforefieldinit '<>c'
  239.     extends [mscorlib]System.Object
  240. {
  241.     .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = (
  242.         01 00 00 00
  243.     )
  244.     // Fields
  245.     .field public static initonly class ConsoleApplication3.TestClass/'<>c' '<>9'
  246.     .field public static class [mscorlib]System.Func`2<object, bool> '<>9__1_0'
  247.     .field public static class [mscorlib]System.Func`2<object, bool> '<>9__2_0'
  248.     .field public static class [mscorlib]System.Func`2<object, string> '<>9__2_1'
  249.  
  250.     // Methods
  251.     .method private hidebysig specialname rtspecialname static
  252.         void .cctor () cil managed
  253.     {
  254.         // Method begins at RVA 0x2125
  255.         // Code size 11 (0xb)
  256.         .maxstack 8
  257.  
  258.         IL_0000: newobj instance void ConsoleApplication3.TestClass/'<>c'::.ctor()
  259.         IL_0005: stsfld class ConsoleApplication3.TestClass/'<>c' ConsoleApplication3.TestClass/'<>c'::'<>9'
  260.         IL_000a: ret
  261.     } // end of method '<>c'::.cctor
  262.  
  263.     .method public hidebysig specialname rtspecialname
  264.         instance void .ctor () cil managed
  265.     {
  266.         // Method begins at RVA 0x2052
  267.         // Code size 7 (0x7)
  268.         .maxstack 8
  269.  
  270.         IL_0000: ldarg.0
  271.         IL_0001: call instance void [mscorlib]System.Object::.ctor()
  272.         IL_0006: ret
  273.     } // end of method '<>c'::.ctor
  274.  
  275.     .method assembly hidebysig
  276.         instance bool '<WhereCast>b__1_0' (
  277.             object x
  278.         ) cil managed
  279.     {
  280.         // Method begins at RVA 0x2131
  281.         // Code size 10 (0xa)
  282.         .maxstack 8
  283.  
  284.         IL_0000: ldarg.1
  285.         IL_0001: isinst [mscorlib]System.String
  286.         IL_0006: ldnull
  287.         IL_0007: cgt.un
  288.         IL_0009: ret
  289.     } // end of method '<>c'::'<WhereCast>b__1_0'
  290.  
  291.     .method assembly hidebysig
  292.         instance bool '<WhereSelect>b__2_0' (
  293.             object x
  294.         ) cil managed
  295.     {
  296.         // Method begins at RVA 0x2131
  297.         // Code size 10 (0xa)
  298.         .maxstack 8
  299.  
  300.         IL_0000: ldarg.1
  301.         IL_0001: isinst [mscorlib]System.String
  302.         IL_0006: ldnull
  303.         IL_0007: cgt.un
  304.         IL_0009: ret
  305.     } // end of method '<>c'::'<WhereSelect>b__2_0'
  306.  
  307.     .method assembly hidebysig
  308.         instance string '<WhereSelect>b__2_1' (
  309.             object x
  310.         ) cil managed
  311.     {
  312.         // Method begins at RVA 0x213c
  313.         // Code size 7 (0x7)
  314.         .maxstack 8
  315.  
  316.         IL_0000: ldarg.1
  317.         IL_0001: castclass [mscorlib]System.String
  318.         IL_0006: ret
  319.     } // end of method '<>c'::'<WhereSelect>b__2_1'
  320.  
  321. } // end of class <>c
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement