* MSBuild.cs (Execute): Don't share target output items,
[mcs.git] / errors / cs0467-3.cs
blob2a2875b28fe27aae084c17c131bcc6df3514c13e
1 // cs0467-3.cs: Ambiguity between method `ICounter.Count()' and non-method `ICollection.Count'. Using method `ICounter.Count()'
2 // Line: 34
3 // Compiler options: -warnaserror -warn:2
5 using System;
7 interface IList
9 int Count ();
12 interface ICounter
14 int Count ();
17 interface ICollection
19 int Count { set; }
22 interface IListCounter: IList, ICounter, ICollection
26 interface IListCounterNew : IListCounter
30 class Test
32 static void Foo (IListCounterNew t)
34 t.Count ();