repo.or.cz
/
mcs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
* MSBuild.cs (Execute): Don't share target output items,
[mcs.git]
/
errors
/
cs0229.cs
blob
ebf8fac81cdba95fe58b973df9b4176a13c345c7
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
}