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
[corlib] Add a special method for XI so the linker does not always have to generate it.
[mono-project.git]
/
mcs
/
errors
/
cs0619-35.cs
blob
2cdd1e892d3f64a2658cb697dfd2c74fd97ed086
1
// CS0619-35: `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
}