Merge pull request #5675 from mono/glib-debug-symbols
[mono.git] / mcs / errors / cs0411-20.cs
1 // CS0411: The type arguments for method `C.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 C
7 {
8         static void Foo<T> (Func<T> a)
9         {
10         }
11         
12         static void Main ()
13         {
14                 Foo (() => Main);
15         }
16 }