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 #2314 from lambdageek/dev/local-handles
[mono-project.git]
/
mcs
/
errors
/
cs0071-2.cs
blob
39f0b244e81d04b9a122eeeffab5b886487e65d4
1
// CS0071: `ErrorCS0071.IFoo.OnFoo': An explicit interface implementation of an event must use property syntax
2
// Line: 13
3
4
using
System
;
5
6
public delegate void
Foo
(
object
source
);
7
8
interface
IFoo
{
9
event
Foo OnFoo
;
10
}
11
12
class
ErrorCS0071
:
IFoo
{
13
public event
Foo IFoo
.
OnFoo
;
14
}
15
16
17
18
19
20