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
Fix bug #566087.
[mcs.git]
/
tests
/
test-677.cs
blob
85da219543248b1f7df400e00e5fdebb108523d8
1
using
System
;
2
3
class
InvokeWindow
4
{
5
public event
D E
;
6
7
public void
Run
()
8
{
9
E
();
10
}
11
}
12
13
delegate void
D
();
14
15
public class
Test
16
{
17
public static int
Main
()
18
{
19
InvokeWindow win
=
new
InvokeWindow
();
20
win
.
E
+=
new
D
(
OnDeleteEvent
);
21
win
.
Run
();
22
return
0
;
23
}
24
25
static void
OnDeleteEvent
()
26
{
27
}
28
29
void
OnDeleteEvent
(
int
i
)
30
{
31
}
32
}