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
.Threading
.Tasks
;
12 return Task
.FromResult (1);
15 static void TestAsync ()
17 Func
<Task
> a
= async () => {