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 async Task
<int> TestAsync ()
18 return await Task
.FromResult (2);