projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Toggle the turbo button
[mono.git]
/
mcs
/
tests
/
gtest-427.cs
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