1 // CS4014: The statement is not awaited and execution of current method continues before the call is completed. Consider using `await' operator
3 // Compiler options: -warnaserror
6 using System
.Runtime
.CompilerServices
;
7 using System
.Threading
.Tasks
;
11 public static A
GetAwaiter (this X x
)
25 class A
: INotifyCompletion
35 public void OnCompleted (Action a
)
44 static async Task
Test3 ()