projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
* ecore.cs (Expression.Error_ValueCannotBeConverted): Add special
[mono.git]
/
mcs
/
errors
/
cs0229.cs
1
// cs0229.cs: Ambiguity between `IList.Count' and `ICounter.Count'
2
// Line: 24
3
4
using System;
5
6
interface IList
7
{
8
int Count { set; }
9
}
10
11
interface ICounter
12
{
13
int Count { set; }
14
}
15
16
interface IListCounter: IList, ICounter
17
{
18
}
19
20
class Test
21
{
22
static void Foo (IListCounter t)
23
{
24
t.Count = 9;
25
}
26
}