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
[tuner] handle the case with multiple "preserve" attributes
[mono-project.git]
/
mcs
/
tests
/
gtest-427.cs
blob
e3830d79c47df745ae7bf2a507c6047976a0e043
1
2
delegate void
EventHandler
(
object
sender
);
3
delegate void
EventHandler
<
T
> (
T sender
);
4
5
class
T
6
{
7
void
Test
()
8
{
9
Attach
(
OnClick
);
10
}
11
12
void
Attach
(
EventHandler handler
)
13
{
14
throw null
;
15
}
16
17
void
Attach
(
EventHandler
<
string
>
handler
)
18
{
19
}
20
21
void
OnClick
(
string
sender
)
22
{
23
}
24
25
public static void
Main
()
26
{
27
new
T
().
Test
();
28
}
29
}
30
31
32