cleol
[mcs.git] / errors / gcs0411-16.cs
blob57b7cc1f17859fd5755ea98478c297a65d2e128c
1 // CS0411: The type arguments for method `M.Foo<T>(System.Func<T>)' cannot be inferred from the usage. Try specifying the type arguments explicitly
2 // Line: 14
4 using System;
6 class M
8 static void Foo<T> (Func<T> t)
12 public static void Main ()
14 Foo (delegate { throw new Exception("foo"); });