Merge pull request #5675 from mono/glib-debug-symbols
[mono.git] / mcs / errors / cs0473.cs
1 // CS0473: Explicit interface implementation `A.I<int,int>.Foo(int)' matches more than one interface member. Consider using a non-explicit implementation instead
2 // Line: 13
3 // Compiler options: -warnaserror -warn:2
4
5 interface I<T, U>
6 {
7         void Foo (U t);
8         void Foo (T u);
9 }
10
11 class A : I<int, int>
12 {
13         void I<int, int>.Foo (int arg)
14         {
15         }
16
17         public void Foo (int arg)
18         {
19         }
20 }