Merge pull request #3997 from lateralusX/jlorenss/win-api-family-support-safearray
[mono.git] / mcs / errors / cs0411-9.cs
1 // CS0411: The type arguments for method `Test.Foo<A>(D<A>)' cannot be inferred from the usage. Try specifying the type arguments explicitly
2 // Line: 15
3
4 delegate void D<T> (T t);
5
6 class Test
7 {
8         public static D<A> Foo<A> (D<A> a)
9         {
10                 return null;
11         }
12         
13         public static void Main ()
14         {
15                 Foo (delegate {});
16         }
17 }
18