X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mcs%2Ferrors%2Fcs0467-3.cs;fp=mcs%2Ferrors%2Fcs0467-3.cs;h=0000000000000000000000000000000000000000;hb=0900c61969ca862b0bcc967b4413e539acf07dbb;hp=2a2875b28fe27aae084c17c131bcc6df3514c13e;hpb=46b3c9551cf6ee5ebc6b9ea8efe667f4e96ff0b2;p=mono.git diff --git a/mcs/errors/cs0467-3.cs b/mcs/errors/cs0467-3.cs deleted file mode 100644 index 2a2875b28fe..00000000000 --- a/mcs/errors/cs0467-3.cs +++ /dev/null @@ -1,36 +0,0 @@ -// cs0467-3.cs: Ambiguity between method `ICounter.Count()' and non-method `ICollection.Count'. Using method `ICounter.Count()' -// Line: 34 -// Compiler options: -warnaserror -warn:2 - -using System; - -interface IList -{ - int Count (); -} - -interface ICounter -{ - int Count (); -} - -interface ICollection -{ - int Count { set; } -} - -interface IListCounter: IList, ICounter, ICollection -{ -} - -interface IListCounterNew : IListCounter -{ -} - -class Test -{ - static void Foo (IListCounterNew t) - { - t.Count (); - } -} \ No newline at end of file