1 using System
.Threading
.Tasks
;
5 public async Task
ReturnsTaskAsync (Task task
)
10 public async Task
<Task
> ReturnsTaskOfTaskAsync ()
12 var t1
= Task
.FromResult (ReturnsTaskAsync (null));
14 Task
<Task
> t2
= Task
.FromResult (ReturnsTaskAsync (null));
18 public static void Main ()
20 new X ().ReturnsTaskOfTaskAsync ().Wait ();