Merge pull request #5675 from mono/glib-debug-symbols
[mono.git] / mcs / errors / cs0411-25.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: 10
3
4 using System;
5
6 public class C
7 {
8     public static void Main ()
9     {
10         Foo (() => throw null);
11     }
12
13     static void Foo<T> (Func<T> arg)
14     {
15     }
16 }