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
In ilasm/tests:
[mcs.git]
/
errors
/
cs0071.cs
blob
551c67bb7fb9e619c23532086ed5a939b2e35ebb
1
// cs0071.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
event
Foo IFoo
.
OnFoo
()
{ }
14
public static void
Main
() {
15
}
16
}
17