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
In Test/System.ComponentModel:
[mono-project.git]
/
mcs
/
errors
/
cs0619-35.cs
blob
865136f74ac81bb5cd28388ae45b59f4eaaa2931
1
// cs0619-35.cs: `A.MyEvent' is obsolete: `Do not use it'
2
// Line: 11
3
4
public delegate void
MyDelegate
();
5
6
class
A
{
7
[
System
.
Obsolete
(
"Do not use it"
,
true
)]
8
event
MyDelegate MyEvent
;
9
10
public
A
() {
11
MyEvent
+=
new
MyDelegate
(
f
);
12
}
13
14
void
f
() {}
15
}