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
2010-04-15 Jb Evain <jbevain@novell.com>
[mcs.git]
/
errors
/
cs0229-2.cs
blob
3ba228f69ca96e03d75682a26a6abd8b0571c38a
1
// cs0229-2.cs: Ambiguity between `IList.Test' and `ICounter.Test'
2
// Line: 26
3
4
using
System
;
5
6
delegate void
Foo
();
7
8
interface
IList
9
{
10
event
Foo Test
;
11
}
12
13
interface
ICounter
14
{
15
event
Foo Test
;
16
}
17
18
interface
IListCounter
:
IList
,
ICounter
19
{
20
}
21
22
class
Test
23
{
24
static void
Foo
(
IListCounter t
)
25
{
26
t
.
Test
+=
null
;
27
}
28
}