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-anon-12.cs
blob
0a629af971981c12e177b5d6311b73c64af16483
1
using
System
;
2
3
public delegate void
Foo
();
4
5
public class
World
<
T
>
6
{
7
public void
Hello
<
U
> (
U u
)
8
{ }
9
10
public void
Test
(
T t
)
11
{
12
Hello
(
t
);
13
Foo foo
=
delegate
{
14
Hello
(
t
);
15
};
16
}
17
}
18
19
class
X
20
{
21
static void
Main
()
22
{
23
World
<
X
>
world
=
new
World
<
X
> ();
24
world
.
Test
(
new
X
());
25
}
26
}