2010-06-21 Atsushi Enomoto <atsushi@ximian.com>
[mcs.git] / errors / gcs0411-15.cs
blobcc5fddb9cdf8422dba6f2741cea039a23cf03f5a
1 // CS0411: The type arguments for method `C.Foo<T>(IFoo<T>, IFoo<T>)' cannot be inferred from the usage. Try specifying the type arguments explicitly
2 // Line: 18
3 // Compiler options: -langversion:future
5 interface IFoo<in T>
9 class C
11 public static void Foo<T> (IFoo<T> e1, IFoo<T> e2)
15 public static void Main ()
17 IFoo<int> a = null;
18 IFoo<object> b = null;
19 Foo (a, b);