a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
21 lines
372 B
C#
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)
|
|
{
|
|
}
|
|
}
|