codeowners update
[mono.git] / mcs / errors / cs0121-10.cs
1 // CS0121: The call is ambiguous between the following methods or properties: `IList.Count()' and `ICounter.Count()'
2 // Line: 33
3
4 using System;
5
6 interface IList 
7 {
8         int Count ();
9 }
10
11 interface ICounter 
12 {
13         int Count ();
14 }
15
16 interface ICollection
17 {
18         int Count { set; }
19 }
20
21 interface IListCounter: IList, ICounter, ICollection
22 {
23 }
24
25 interface IListCounterNew : IListCounter
26 {
27 }
28
29 class Test
30 {
31         static void Foo (IListCounterNew t)
32         {
33                 t.Count ();
34         }
35 }