Advertisement
Guest User

Untitled

a guest
Jun 17th, 2019
159
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // Type: Threads.Program
  2. // Assembly: Threads, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
  3. // MVID: 349C2172-9575-4F79-A95D-D73C1C798E9D
  4. // Location: C:\Users\Admin\source\repos\Threads\Threads\bin\Debug\netcoreapp2.2\Threads.dll
  5. // Sequence point data from C:\Users\Admin\source\repos\Threads\Threads\bin\Debug\netcoreapp2.2\Threads.pdb
  6.  
  7. .class private auto ansi beforefieldinit
  8.   Threads.Program
  9.     extends [System.Runtime]System.Object
  10. {
  11.  
  12.   .method private hidebysig static void
  13.     Main(
  14.       string[] args
  15.     ) cil managed
  16.   {
  17.     .entrypoint
  18.     .maxstack 1
  19.     .locals init (
  20.       [0] valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1<object> V_0
  21.     )
  22.  
  23.     // [12 9 - 12 10]
  24.     IL_0000: nop
  25.  
  26.     // [13 13 - 13 49]
  27.     IL_0001: call         class [System.Runtime]System.Threading.Tasks.Task`1<object> Threads.Program::SomeWork()
  28.     IL_0006: callvirt     instance valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1<!0/*object*/> class [System.Runtime]System.Threading.Tasks.Task`1<object>::GetAwaiter()
  29.     IL_000b: stloc.0      // V_0
  30.     IL_000c: ldloca.s     V_0
  31.     IL_000e: call         instance !0/*object*/ valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1<object>::GetResult()
  32.     IL_0013: pop
  33.  
  34.     // [14 9 - 14 10]
  35.     IL_0014: ret
  36.  
  37.   } // end of method Program::Main
  38.  
  39.   .method private hidebysig static class [System.Runtime]System.Threading.Tasks.Task`1<object>
  40.     SomeWork() cil managed
  41.   {
  42.     .maxstack 1
  43.     .locals init (
  44.       [0] class [System.Runtime]System.Threading.Tasks.Task`1<object> V_0
  45.     )
  46.  
  47.     // [17 9 - 17 10]
  48.     IL_0000: nop
  49.  
  50.     // [18 12 - 18 51]
  51.     IL_0001: ldstr        "без async и await"
  52.     IL_0006: call         void [System.Console]System.Console::WriteLine(string)
  53.     IL_000b: nop
  54.  
  55.     // [20 12 - 20 49]
  56.     IL_000c: ldnull
  57.     IL_000d: call         class [System.Runtime]System.Threading.Tasks.Task`1<!!0/*object*/> [System.Runtime]System.Threading.Tasks.Task::FromResult<object>(!!0/*object*/)
  58.     IL_0012: stloc.0      // V_0
  59.     IL_0013: br.s         IL_0015
  60.  
  61.     // [21 9 - 21 10]
  62.     IL_0015: ldloc.0      // V_0
  63.     IL_0016: ret
  64.  
  65.   } // end of method Program::SomeWork
  66.  
  67.   .method public hidebysig specialname rtspecialname instance void
  68.     .ctor() cil managed
  69.   {
  70.     .maxstack 8
  71.  
  72.     IL_0000: ldarg.0      // this
  73.     IL_0001: call         instance void [System.Runtime]System.Object::.ctor()
  74.     IL_0006: nop
  75.     IL_0007: ret
  76.  
  77.   } // end of method Program::.ctor
  78. } // end of class Threads.Program
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement