1 // CS0411: The type arguments for method `AsyncTypeInference.Test2<T>(System.Func<int,T>)' cannot be inferred from the usage. Try specifying the type arguments explicitly
5 using System
.Threading
.Tasks
;
7 class AsyncTypeInference
9 public static int Main ()
11 Test2 (async l
=> { await TT (); return null; }
);
17 return Task
.Factory
.StartNew (() => 2);
20 static void Test2
<T
> (Func
<int, T
> arg
)