2010-05-27 Jb Evain <jbevain@novell.com>
[mcs.git] / errors / gcs0411-11.cs
blob12f8721f7b246676eadda6e199fe8ed88261c45f
1 // CS0411: The type arguments for method `C.Foo<T>(I<T>)' cannot be inferred from the usage. Try specifying the type arguments explicitly
2 // Line: 17
4 interface I<T>
8 class C : I<long>, I<int>
10 static void Foo<T> (I<T> i)
14 static void Main ()
16 C c = new C ();
17 Foo (c);