2007-03-09 Chris Toshok <toshok@ximian.com>
[mcs.git] / errors / gcs0411-7.cs
blob3ef7a7fc61a536ebb6a4640539112597bef2eb54
1 // CS0411: The type arguments for method `Test' cannot be inferred from the usage. Try specifying the type arguments explicitly
2 // Line: 15
3 using System;
5 public delegate void Foo<T> (T t);
7 class X
9 public void Test<T> (Foo<T> foo)
10 { }
12 static void Main ()
14 X x = new X ();
15 x.Test (delegate (string str) { });