2 using System
.Threading
.Tasks
;
6 public static void Main ()
10 static async void Test_1 ()
15 static Task
RunAsync ()
17 return Task
.Factory
.StartNew (
23 static async Task
<int> Test_2 ()
25 return await RunAsync_2 ();
28 static Task
<int> RunAsync_2 ()
30 return Task
.Factory
.StartNew (() => 2);
33 async Task
<bool> Test_3 ()
37 d
.Value
+= await Task
.Factory
.StartNew (() => 2);