[w32file] Remove dead code
[mono.git] / mcs / errors / cs0411-16.cs
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
3
4 using System;
5
6 class M
7 {
8         static void Foo<T> (Func<T> t)
9         {
10         }
11         
12         public static void Main ()
13         {
14                 Foo (delegate { throw new Exception("foo"); });
15         }
16 }