// CS0121: The call is ambiguous between the following methods or properties: `IList.Count()' and `ICounter.Count()'
-// Line: 33\r
+// Line: 33
using System;
-interface IList \r
+interface IList
{
int Count ();
}
-interface ICounter \r
+interface ICounter
{
int Count ();
-}\r
-\r
-interface ICollection\r
-{\r
- int Count { set; }\r
}
-interface IListCounter: IList, ICounter, ICollection\r
-{\r
-}\r
-\r
-interface IListCounterNew : IListCounter\r
-{\r
+interface ICollection
+{
+ int Count { set; }
+}
+
+interface IListCounter: IList, ICounter, ICollection
+{
+}
+
+interface IListCounterNew : IListCounter
+{
}
-class Test\r
+class Test
{
static void Foo (IListCounterNew t)
{