projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
2007-10-17 Jonathan Pobst <monkey@jpobst.com>
[mono.git]
/
mcs
/
tests
/
gtest-272.cs
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
}