Files
mono/mcs/errors/cs0229.cs
T
Marek Safar 2c0e364001 Fixed.
svn path=/trunk/mcs/; revision=63415
2006-08-06 15:34:12 +00:00

26 lines
297 B
C#

// cs0229.cs: Ambiguity between `IList.Count' and `ICounter.Count'
// Line: 24
using System;
interface IList
{
int Count { set; }
}
interface ICounter
{
int Count { set; }
}
interface IListCounter: IList, ICounter
{
}
class Test
{
static void Foo (IListCounter t)
{
t.Count = 9;
}
}