blob: d24eb1e06ad154376dbbda337937bba2abec43ca (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
// 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)
{
}
}
|