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
/
gtest-272.cs
blob
318de1af3bd8f31badcbac5f9de5a731d1380a94
1
using
System
;
2
3
public delegate void
Handler
<
T
> (
T t
);
4
5
public static class
X
6
{
7
public static void
Foo
<
T
> (
Handler
<
T
>
handler
) {
8
AsyncCallback d
=
delegate
(
IAsyncResult ar
) {
9
Response
<
T
> (
handler
);
10
};
11
}
12
13
static void
Response
<
T
> (
Handler
<
T
>
handler
)
14
{ }
15
16
static void
Test
<
T
> (
T t
)
17
{ }
18
19
static void
Main
()
20
{
21
Foo
<
long
> (
Test
);
22
}
23
}