+++ /dev/null
-// cs0467-3.cs: Ambiguity between method `ICounter.Count()' and non-method `ICollection.Count'. Using method `ICounter.Count()'
-// Line: 34\r
-// Compiler options: -warnaserror -warn:2\r
-
-using System;
-
-interface IList \r
-{
- int Count ();
-}
-
-interface ICounter \r
-{
- 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
-}
-
-class Test\r
-{
- static void Foo (IListCounterNew t)
- {
- t.Count ();
- }
-}
\ No newline at end of file