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
2007-05-25 Jonathan Chambers <joncham@gmail.com>
[mcs.git]
/
tests
/
test-549.cs
blob
3a55f35f6cb19afb8c47108bcc377e2c12a9bb9e
1
//
2
// from bug 80257
3
//
4
5
public delegate object
Get
(
Do d
);
6
7
8
9
public class
Do
{
10
public void
Register
(
Get g
)
11
{
12
}
13
14
public void
Register
(
object
g
)
15
{
16
}
17
18
static object
MyGet
(
Do d
)
19
{
20
return null
;
21
}
22
23
public void
X
()
24
{
25
Register
(
Do
.
MyGet
);
26
}
27
}
28
29
public class
User
{
30
static void
Main
()
31
{
32
}
33
}
34