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
Merge pull request #3806 from BrzVlad/feature-parallel-gc-final
[mono-project.git]
/
mcs
/
errors
/
cs0229-2.cs
blob
a52270fcaa05a51f0bb566f3e2bf7116eb846e47
1
// CS0229: 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
}