Advertisement
LuckyLuciano1

Untitled

May 26th, 2019
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.45 KB | None | 0 0
  1. // Type: ConsoleApp1.Program
  2. // Assembly: ConsoleApp1, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
  3. // MVID: 3257F186-AC0B-433E-8396-BDD051FA6DE9
  4. // Location: C:\Users\Alex\source\repos\ConsoleApp1\ConsoleApp1\bin\Debug\ConsoleApp1.exe
  5. // Sequence point data from C:\Users\Alex\source\repos\ConsoleApp1\ConsoleApp1\bin\Debug\ConsoleApp1.pdb
  6.  
  7. .class private auto ansi beforefieldinit
  8. ConsoleApp1.Program
  9. extends [mscorlib]System.Object
  10. {
  11.  
  12. .field private static initonly class [mscorlib]System.Collections.Generic.List`1<string> words
  13.  
  14. .method private hidebysig static void
  15. Main() cil managed
  16. {
  17. .entrypoint
  18. .maxstack 3
  19. .locals init (
  20. [0] class [System]System.Diagnostics.Stopwatch watch
  21. )
  22.  
  23. // [34 9 - 34 10]
  24. IL_0000: nop
  25.  
  26. // [35 13 - 35 41]
  27. IL_0001: newobj instance void [System]System.Diagnostics.Stopwatch::.ctor()
  28. IL_0006: stloc.0 // watch
  29.  
  30. // [36 13 - 36 27]
  31. IL_0007: ldloc.0 // watch
  32. IL_0008: callvirt instance void [System]System.Diagnostics.Stopwatch::Start()
  33. IL_000d: nop
  34.  
  35. // [38 13 - 38 34]
  36. IL_000e: ldsfld class [mscorlib]System.Collections.Generic.List`1<string> ConsoleApp1.Program::words
  37. IL_0013: ldnull
  38. IL_0014: ldftn void ConsoleApp1.Program::Print(string)
  39. IL_001a: newobj instance void class [mscorlib]System.Action`1<string>::.ctor(object, native int)
  40. IL_001f: callvirt instance void class [mscorlib]System.Collections.Generic.List`1<string>::ForEach(class [mscorlib]System.Action`1<!0/*string*/>)
  41. IL_0024: nop
  42.  
  43. // [39 13 - 39 46]
  44. IL_0025: ldsfld class [mscorlib]System.Collections.Generic.List`1<string> ConsoleApp1.Program::words
  45. IL_002a: ldnull
  46. IL_002b: ldftn void [mscorlib]System.Console::WriteLine(string)
  47. IL_0031: newobj instance void class [mscorlib]System.Action`1<string>::.ctor(object, native int)
  48. IL_0036: callvirt instance void class [mscorlib]System.Collections.Generic.List`1<string>::ForEach(class [mscorlib]System.Action`1<!0/*string*/>)
  49. IL_003b: nop
  50.  
  51. // [41 13 - 41 26]
  52. IL_003c: ldloc.0 // watch
  53. IL_003d: callvirt instance void [System]System.Diagnostics.Stopwatch::Stop()
  54. IL_0042: nop
  55.  
  56. // [42 13 - 42 65]
  57. IL_0043: ldstr "Time elapsed: "
  58. IL_0048: ldloc.0 // watch
  59. IL_0049: callvirt instance valuetype [mscorlib]System.TimeSpan [System]System.Diagnostics.Stopwatch::get_Elapsed()
  60. IL_004e: box [mscorlib]System.TimeSpan
  61. IL_0053: call string [mscorlib]System.String::Concat(object, object)
  62. IL_0058: call void [mscorlib]System.Console::WriteLine(string)
  63. IL_005d: nop
  64.  
  65. // [43 13 - 43 32]
  66. IL_005e: call string [mscorlib]System.Console::ReadLine()
  67. IL_0063: pop
  68.  
  69. // [44 9 - 44 10]
  70. IL_0064: ret
  71.  
  72. } // end of method Program::Main
  73.  
  74. .method private hidebysig static void
  75. Print(
  76. string test
  77. ) cil managed
  78. {
  79. .maxstack 8
  80.  
  81. // [47 9 - 47 10]
  82. IL_0000: nop
  83.  
  84. // [48 13 - 48 37]
  85. IL_0001: ldarg.0 // test
  86. IL_0002: call void [mscorlib]System.Console::WriteLine(string)
  87. IL_0007: nop
  88.  
  89. // [49 9 - 49 10]
  90. IL_0008: ret
  91.  
  92. } // end of method Program::Print
  93.  
  94. .method public hidebysig specialname rtspecialname instance void
  95. .ctor() cil managed
  96. {
  97. .maxstack 8
  98.  
  99. IL_0000: ldarg.0 // this
  100. IL_0001: call instance void [mscorlib]System.Object::.ctor()
  101. IL_0006: nop
  102. IL_0007: ret
  103.  
  104. } // end of method Program::.ctor
  105.  
  106. .method private hidebysig static specialname rtspecialname void
  107. .cctor() cil managed
  108. {
  109. .maxstack 3
  110.  
  111. // [12 9 - 31 11]
  112. IL_0000: newobj instance void class [mscorlib]System.Collections.Generic.List`1<string>::.ctor()
  113. IL_0005: dup
  114. IL_0006: ldstr "test1"
  115. IL_000b: callvirt instance void class [mscorlib]System.Collections.Generic.List`1<string>::Add(!0/*string*/)
  116. IL_0010: nop
  117. IL_0011: dup
  118. IL_0012: ldstr "test2"
  119. IL_0017: callvirt instance void class [mscorlib]System.Collections.Generic.List`1<string>::Add(!0/*string*/)
  120. IL_001c: nop
  121. IL_001d: dup
  122. IL_001e: ldstr "test3"
  123. IL_0023: callvirt instance void class [mscorlib]System.Collections.Generic.List`1<string>::Add(!0/*string*/)
  124. IL_0028: nop
  125. IL_0029: dup
  126. IL_002a: ldstr "test4"
  127. IL_002f: callvirt instance void class [mscorlib]System.Collections.Generic.List`1<string>::Add(!0/*string*/)
  128. IL_0034: nop
  129. IL_0035: dup
  130. IL_0036: ldstr "test5"
  131. IL_003b: callvirt instance void class [mscorlib]System.Collections.Generic.List`1<string>::Add(!0/*string*/)
  132. IL_0040: nop
  133. IL_0041: dup
  134. IL_0042: ldstr "test6"
  135. IL_0047: callvirt instance void class [mscorlib]System.Collections.Generic.List`1<string>::Add(!0/*string*/)
  136. IL_004c: nop
  137. IL_004d: dup
  138. IL_004e: ldstr "test7"
  139. IL_0053: callvirt instance void class [mscorlib]System.Collections.Generic.List`1<string>::Add(!0/*string*/)
  140. IL_0058: nop
  141. IL_0059: dup
  142. IL_005a: ldstr "test8"
  143. IL_005f: callvirt instance void class [mscorlib]System.Collections.Generic.List`1<string>::Add(!0/*string*/)
  144. IL_0064: nop
  145. IL_0065: dup
  146. IL_0066: ldstr "test9"
  147. IL_006b: callvirt instance void class [mscorlib]System.Collections.Generic.List`1<string>::Add(!0/*string*/)
  148. IL_0070: nop
  149. IL_0071: dup
  150. IL_0072: ldstr "test10"
  151. IL_0077: callvirt instance void class [mscorlib]System.Collections.Generic.List`1<string>::Add(!0/*string*/)
  152. IL_007c: nop
  153. IL_007d: dup
  154. IL_007e: ldstr "test11"
  155. IL_0083: callvirt instance void class [mscorlib]System.Collections.Generic.List`1<string>::Add(!0/*string*/)
  156. IL_0088: nop
  157. IL_0089: dup
  158. IL_008a: ldstr "test12"
  159. IL_008f: callvirt instance void class [mscorlib]System.Collections.Generic.List`1<string>::Add(!0/*string*/)
  160. IL_0094: nop
  161. IL_0095: dup
  162. IL_0096: ldstr "test13"
  163. IL_009b: callvirt instance void class [mscorlib]System.Collections.Generic.List`1<string>::Add(!0/*string*/)
  164. IL_00a0: nop
  165. IL_00a1: dup
  166. IL_00a2: ldstr "test14"
  167. IL_00a7: callvirt instance void class [mscorlib]System.Collections.Generic.List`1<string>::Add(!0/*string*/)
  168. IL_00ac: nop
  169. IL_00ad: dup
  170. IL_00ae: ldstr "test15"
  171. IL_00b3: callvirt instance void class [mscorlib]System.Collections.Generic.List`1<string>::Add(!0/*string*/)
  172. IL_00b8: nop
  173. IL_00b9: dup
  174. IL_00ba: ldstr "test16"
  175. IL_00bf: callvirt instance void class [mscorlib]System.Collections.Generic.List`1<string>::Add(!0/*string*/)
  176. IL_00c4: nop
  177. IL_00c5: stsfld class [mscorlib]System.Collections.Generic.List`1<string> ConsoleApp1.Program::words
  178. IL_00ca: ret
  179.  
  180. } // end of method Program::.cctor
  181. } // end of class ConsoleApp1.Program
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement