repo.or.cz
/
mono-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Make StringComparer.Create throw ArgumentNullException (#26570)
[mono-project.git]
/
mcs
/
errors
/
cs0229.cs
blob
b0d370062b0b1288b7627df135f6da9686a022a0
1
// CS0229: 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
}