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