Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

26 lines
294 B
C#

// CS0229: 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;
}
}