"disable_omit_fp" can now be included in MONO_DEBUG
[mono-project.git] / mcs / errors / cs1503-15.cs
blob4313fcf2c8d358bc0d4ce2fd2f6f73185d1476f5
1 // CS1503: Argument `#2' cannot convert `IFoo<object>' expression to type `IFoo<int>'
2 // Line: 18
4 interface IFoo<in T>
8 class C
10 public static void Foo<T> (IFoo<T> e1, IFoo<T> e2)
14 public static void Main ()
16 IFoo<int> a = null;
17 IFoo<object> b = null;
18 Foo (a, b);