[mcs] Reset also all partial parts current-type
[mono-project.git] / mcs / errors / cs0121-9.cs
bloba12700b88f1bbe228c24caf4e6906651f58a9cd1
1 // CS0121: The call is ambiguous between the following methods or properties: `IList.Count()' and `ICounter.Count()'
2 // Line: 29
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 class Test
27 static void Foo (IListCounter t)
29 t.Count ();