1 // CS4012: Parameters or local variables of type `System.TypedReference' cannot be declared in async methods or iterators
3 // Compiler options: -langversion:future
6 using System.Collections;
7 using System.Threading.Tasks;
11 public async void Test ()
14 TypedReference tr = __makeref (i);
15 await Task.Factory.StartNew (() => 6);