2 using System.Threading.Tasks;
4 // contextual async during parsing
8 async Task<int> async ()
11 throw new NotImplementedException ();
14 async Task async (int async)
16 throw new NotImplementedException ();
19 async void CastTest ()
21 var res = (int) await async ();
22 var res2 = (Int32) await async ();
25 public static int Main ()
57 class asyncAttribute: Attribute
59 delegate async async (async async);