Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Type: ConsoleApp1.Program
- // Assembly: ConsoleApp1, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
- // MVID: 3257F186-AC0B-433E-8396-BDD051FA6DE9
- // Location: C:\Users\Alex\source\repos\ConsoleApp1\ConsoleApp1\bin\Debug\ConsoleApp1.exe
- // Sequence point data from C:\Users\Alex\source\repos\ConsoleApp1\ConsoleApp1\bin\Debug\ConsoleApp1.pdb
- .class private auto ansi beforefieldinit
- ConsoleApp1.Program
- extends [mscorlib]System.Object
- {
- .field private static initonly class [mscorlib]System.Collections.Generic.List`1<string> words
- .method private hidebysig static void
- Main() cil managed
- {
- .entrypoint
- .maxstack 3
- .locals init (
- [0] class [System]System.Diagnostics.Stopwatch watch
- )
- // [34 9 - 34 10]
- IL_0000: nop
- // [35 13 - 35 41]
- IL_0001: newobj instance void [System]System.Diagnostics.Stopwatch::.ctor()
- IL_0006: stloc.0 // watch
- // [36 13 - 36 27]
- IL_0007: ldloc.0 // watch
- IL_0008: callvirt instance void [System]System.Diagnostics.Stopwatch::Start()
- IL_000d: nop
- // [38 13 - 38 34]
- IL_000e: ldsfld class [mscorlib]System.Collections.Generic.List`1<string> ConsoleApp1.Program::words
- IL_0013: ldnull
- IL_0014: ldftn void ConsoleApp1.Program::Print(string)
- IL_001a: newobj instance void class [mscorlib]System.Action`1<string>::.ctor(object, native int)
- IL_001f: callvirt instance void class [mscorlib]System.Collections.Generic.List`1<string>::ForEach(class [mscorlib]System.Action`1<!0/*string*/>)
- IL_0024: nop
- // [39 13 - 39 46]
- IL_0025: ldsfld class [mscorlib]System.Collections.Generic.List`1<string> ConsoleApp1.Program::words
- IL_002a: ldnull
- IL_002b: ldftn void [mscorlib]System.Console::WriteLine(string)
- IL_0031: newobj instance void class [mscorlib]System.Action`1<string>::.ctor(object, native int)
- IL_0036: callvirt instance void class [mscorlib]System.Collections.Generic.List`1<string>::ForEach(class [mscorlib]System.Action`1<!0/*string*/>)
- IL_003b: nop
- // [41 13 - 41 26]
- IL_003c: ldloc.0 // watch
- IL_003d: callvirt instance void [System]System.Diagnostics.Stopwatch::Stop()
- IL_0042: nop
- // [42 13 - 42 65]
- IL_0043: ldstr "Time elapsed: "
- IL_0048: ldloc.0 // watch
- IL_0049: callvirt instance valuetype [mscorlib]System.TimeSpan [System]System.Diagnostics.Stopwatch::get_Elapsed()
- IL_004e: box [mscorlib]System.TimeSpan
- IL_0053: call string [mscorlib]System.String::Concat(object, object)
- IL_0058: call void [mscorlib]System.Console::WriteLine(string)
- IL_005d: nop
- // [43 13 - 43 32]
- IL_005e: call string [mscorlib]System.Console::ReadLine()
- IL_0063: pop
- // [44 9 - 44 10]
- IL_0064: ret
- } // end of method Program::Main
- .method private hidebysig static void
- Print(
- string test
- ) cil managed
- {
- .maxstack 8
- // [47 9 - 47 10]
- IL_0000: nop
- // [48 13 - 48 37]
- IL_0001: ldarg.0 // test
- IL_0002: call void [mscorlib]System.Console::WriteLine(string)
- IL_0007: nop
- // [49 9 - 49 10]
- IL_0008: ret
- } // end of method Program::Print
- .method public hidebysig specialname rtspecialname instance void
- .ctor() cil managed
- {
- .maxstack 8
- IL_0000: ldarg.0 // this
- IL_0001: call instance void [mscorlib]System.Object::.ctor()
- IL_0006: nop
- IL_0007: ret
- } // end of method Program::.ctor
- .method private hidebysig static specialname rtspecialname void
- .cctor() cil managed
- {
- .maxstack 3
- // [12 9 - 31 11]
- IL_0000: newobj instance void class [mscorlib]System.Collections.Generic.List`1<string>::.ctor()
- IL_0005: dup
- IL_0006: ldstr "test1"
- IL_000b: callvirt instance void class [mscorlib]System.Collections.Generic.List`1<string>::Add(!0/*string*/)
- IL_0010: nop
- IL_0011: dup
- IL_0012: ldstr "test2"
- IL_0017: callvirt instance void class [mscorlib]System.Collections.Generic.List`1<string>::Add(!0/*string*/)
- IL_001c: nop
- IL_001d: dup
- IL_001e: ldstr "test3"
- IL_0023: callvirt instance void class [mscorlib]System.Collections.Generic.List`1<string>::Add(!0/*string*/)
- IL_0028: nop
- IL_0029: dup
- IL_002a: ldstr "test4"
- IL_002f: callvirt instance void class [mscorlib]System.Collections.Generic.List`1<string>::Add(!0/*string*/)
- IL_0034: nop
- IL_0035: dup
- IL_0036: ldstr "test5"
- IL_003b: callvirt instance void class [mscorlib]System.Collections.Generic.List`1<string>::Add(!0/*string*/)
- IL_0040: nop
- IL_0041: dup
- IL_0042: ldstr "test6"
- IL_0047: callvirt instance void class [mscorlib]System.Collections.Generic.List`1<string>::Add(!0/*string*/)
- IL_004c: nop
- IL_004d: dup
- IL_004e: ldstr "test7"
- IL_0053: callvirt instance void class [mscorlib]System.Collections.Generic.List`1<string>::Add(!0/*string*/)
- IL_0058: nop
- IL_0059: dup
- IL_005a: ldstr "test8"
- IL_005f: callvirt instance void class [mscorlib]System.Collections.Generic.List`1<string>::Add(!0/*string*/)
- IL_0064: nop
- IL_0065: dup
- IL_0066: ldstr "test9"
- IL_006b: callvirt instance void class [mscorlib]System.Collections.Generic.List`1<string>::Add(!0/*string*/)
- IL_0070: nop
- IL_0071: dup
- IL_0072: ldstr "test10"
- IL_0077: callvirt instance void class [mscorlib]System.Collections.Generic.List`1<string>::Add(!0/*string*/)
- IL_007c: nop
- IL_007d: dup
- IL_007e: ldstr "test11"
- IL_0083: callvirt instance void class [mscorlib]System.Collections.Generic.List`1<string>::Add(!0/*string*/)
- IL_0088: nop
- IL_0089: dup
- IL_008a: ldstr "test12"
- IL_008f: callvirt instance void class [mscorlib]System.Collections.Generic.List`1<string>::Add(!0/*string*/)
- IL_0094: nop
- IL_0095: dup
- IL_0096: ldstr "test13"
- IL_009b: callvirt instance void class [mscorlib]System.Collections.Generic.List`1<string>::Add(!0/*string*/)
- IL_00a0: nop
- IL_00a1: dup
- IL_00a2: ldstr "test14"
- IL_00a7: callvirt instance void class [mscorlib]System.Collections.Generic.List`1<string>::Add(!0/*string*/)
- IL_00ac: nop
- IL_00ad: dup
- IL_00ae: ldstr "test15"
- IL_00b3: callvirt instance void class [mscorlib]System.Collections.Generic.List`1<string>::Add(!0/*string*/)
- IL_00b8: nop
- IL_00b9: dup
- IL_00ba: ldstr "test16"
- IL_00bf: callvirt instance void class [mscorlib]System.Collections.Generic.List`1<string>::Add(!0/*string*/)
- IL_00c4: nop
- IL_00c5: stsfld class [mscorlib]System.Collections.Generic.List`1<string> ConsoleApp1.Program::words
- IL_00ca: ret
- } // end of method Program::.cctor
- } // end of class ConsoleApp1.Program
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement