1 // CS4012: Parameters or local variables of type `S' cannot be declared in async methods or iterators
3 // Compiler options: -langversion:latest
6 using System
.Threading
.Tasks
;
14 public async void Test ()
17 await Task
.Factory
.StartNew (() => 6);