1 // CS4012: Parameters or local variables of type `System.TypedReference' cannot be declared in async methods or iterators
5 using System
.Collections
;
6 using System
.Threading
.Tasks
;
10 public async void Test ()
13 TypedReference tr
= __makeref (i
);
14 await Task
.Factory
.StartNew (() => 6);