Make a copy of the old ZipLib
[mono.git] / mcs / errors / gcs0411-7.cs
1 // CS0411: The type arguments for method `Test' cannot be infered from the usage. Try specifying the type arguments explicitly
2 // Line: 15
3 using System;
4
5 public delegate void Foo<T> (T t);
6
7 class X
8 {
9         public void Test<T> (Foo<T> foo)
10         { }
11
12         static void Main ()
13         {
14                 X x = new X ();
15                 x.Test (delegate (string str) { });
16         }
17 }