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
2009-02-15 Jonathan Chambers <joncham@gmail.com>
[mcs.git]
/
tests
/
gtest-anon-3.cs
blob
0d1df48ba35ce5d49f657b090248770a385aa06c
1
using
System
;
2
3
delegate void
Foo
<
S
> (
S s
);
4
5
class
X
6
{
7
public void
Hello
<
U
> (
U u
)
8
{ }
9
10
public void
Test
<
T
> (
T t
)
11
{
12
Hello
(
t
);
13
Foo
<
T
>
foo
=
delegate
(
T u
) {
14
Hello
(
u
);
15
};
16
foo
(
t
);
17
}
18
19
static void
Main
()
20
{
21
X x
=
new
X
();
22
x
.
Test
(
3
);
23
}
24
}