Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

21 lines
372 B
C#

// CS0473: Explicit interface implementation `A.I<int,int>.Foo(int)' matches more than one interface member. Consider using a non-explicit implementation instead
// Line: 13
// Compiler options: -warnaserror -warn:2
interface I<T, U>
{
void Foo (U t);
void Foo (T u);
}
class A : I<int, int>
{
void I<int, int>.Foo (int arg)
{
}
public void Foo (int arg)
{
}
}