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-06-21 Atsushi Enomoto <atsushi@ximian.com>
[mcs.git]
/
errors
/
cs0071-2.cs
blob
b40878f362910b9c3322750f08f24b886e3a71ee
1
// cs0071-2.cs: 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
public static void
Main
() {
15
}
16
}
17
18
19
20
21
22