Merge branch 'xml-fixes' of https://github.com/myeisha/mono into myeisha-xml-fixes
[mono-project.git] / mcs / errors / cs0121-10.cs
blobc90badaa24aa704dc0d626b90ee01920d93e8e54
1 // CS0121: The call is ambiguous between the following methods or properties: `IList.Count()' and `ICounter.Count()'
2 // Line: 33
4 using System;
6 interface IList
8 int Count ();
11 interface ICounter
13 int Count ();
16 interface ICollection
18 int Count { set; }
21 interface IListCounter: IList, ICounter, ICollection
25 interface IListCounterNew : IListCounter
29 class Test
31 static void Foo (IListCounterNew t)
33 t.Count ();