2010-04-01 Jb Evain <jbevain@novell.com>
[mcs.git] / errors / cs0229.cs
blobebf8fac81cdba95fe58b973df9b4176a13c345c7
1 // cs0229.cs: Ambiguity between `IList.Count' and `ICounter.Count'
2 // Line: 24
4 using System;
6 interface IList
8 int Count { set; }
11 interface ICounter
13 int Count { set; }
16 interface IListCounter: IList, ICounter
20 class Test
22 static void Foo (IListCounter t)
24 t.Count = 9;