Make StringComparer.Create throw ArgumentNullException (#26570)
[mono-project.git] / mcs / errors / cs0229.cs
blobb0d370062b0b1288b7627df135f6da9686a022a0
1 // CS0229: 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;