Remove useless ip += from MINT_JMP, it is assigned later. (#19217)
[mono-project.git] / mcs / errors / cs0121-18.cs
blob24e5ce321b7b7090f508cc5a32664f6af279159f
1 // CS0122: The call is ambiguous between the following methods or properties: `Test.Foo(IIn<string>)' and `Test.Foo(IIn<Test>)'
2 // Line: 22
4 interface IIn<in T>
8 class Test
11 static void Foo (IIn<string> f)
15 static void Foo (IIn<Test> f)
19 public static int Main ()
21 IIn<object> test = null;
22 Foo (test);
24 return 0;