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
(DISTFILES): Comment out a few missing files.
[mono-project.git]
/
mcs
/
errors
/
syntax0069.cs
blob
dfbe7fc3094559abdff0f787de951a6b411cf87a
1
// cs0069.cs: Event cannot have add or remove accessors in an interface.
2
// Line: 13
3
4
using
System
;
5
6
class
ErrorCS0069
{
7
public delegate void
FooHandler
();
8
public static void
Main
() {
9
}
10
}
11
12
interface
IBar
{
13
event
OnFoo
{
14
add
{ }
15
remove
{ }
16
}
17
}
18