Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Type: Threads.Program
- // Assembly: Threads, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
- // MVID: 349C2172-9575-4F79-A95D-D73C1C798E9D
- // Location: C:\Users\Admin\source\repos\Threads\Threads\bin\Debug\netcoreapp2.2\Threads.dll
- // Sequence point data from C:\Users\Admin\source\repos\Threads\Threads\bin\Debug\netcoreapp2.2\Threads.pdb
- .class private auto ansi beforefieldinit
- Threads.Program
- extends [System.Runtime]System.Object
- {
- .method private hidebysig static void
- Main(
- string[] args
- ) cil managed
- {
- .entrypoint
- .maxstack 1
- .locals init (
- [0] valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1<object> V_0
- )
- // [12 9 - 12 10]
- IL_0000: nop
- // [13 13 - 13 49]
- IL_0001: call class [System.Runtime]System.Threading.Tasks.Task`1<object> Threads.Program::SomeWork()
- IL_0006: callvirt instance valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1<!0/*object*/> class [System.Runtime]System.Threading.Tasks.Task`1<object>::GetAwaiter()
- IL_000b: stloc.0 // V_0
- IL_000c: ldloca.s V_0
- IL_000e: call instance !0/*object*/ valuetype [System.Runtime]System.Runtime.CompilerServices.TaskAwaiter`1<object>::GetResult()
- IL_0013: pop
- // [14 9 - 14 10]
- IL_0014: ret
- } // end of method Program::Main
- .method private hidebysig static class [System.Runtime]System.Threading.Tasks.Task`1<object>
- SomeWork() cil managed
- {
- .maxstack 1
- .locals init (
- [0] class [System.Runtime]System.Threading.Tasks.Task`1<object> V_0
- )
- // [17 9 - 17 10]
- IL_0000: nop
- // [18 12 - 18 51]
- IL_0001: ldstr "без async и await"
- IL_0006: call void [System.Console]System.Console::WriteLine(string)
- IL_000b: nop
- // [20 12 - 20 49]
- IL_000c: ldnull
- IL_000d: call class [System.Runtime]System.Threading.Tasks.Task`1<!!0/*object*/> [System.Runtime]System.Threading.Tasks.Task::FromResult<object>(!!0/*object*/)
- IL_0012: stloc.0 // V_0
- IL_0013: br.s IL_0015
- // [21 9 - 21 10]
- IL_0015: ldloc.0 // V_0
- IL_0016: ret
- } // end of method Program::SomeWork
- .method public hidebysig specialname rtspecialname instance void
- .ctor() cil managed
- {
- .maxstack 8
- IL_0000: ldarg.0 // this
- IL_0001: call instance void [System.Runtime]System.Object::.ctor()
- IL_0006: nop
- IL_0007: ret
- } // end of method Program::.ctor
- } // end of class Threads.Program
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement