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
* TaskLoggingHelper.cs (LogErrorFromException): Add missing overload.
[mcs.git]
/
tests
/
gtest-anon-1.cs
blob
4a656d064c770775c63ac4ff06a2856f99b629d1
1
using
System
;
2
3
delegate void
Foo
();
4
5
class
X
6
{
7
public void
Hello
<
U
> (
U u
)
8
{ }
9
10
public void
Test
<
T
> (
T t
)
11
{
12
T u
=
t
;
13
Hello
(
u
);
14
Foo foo
=
delegate
{
15
Hello
(
u
);
16
};
17
foo
();
18
Hello
(
u
);
19
}
20
21
static void
Main
()
22
{
23
X x
=
new
X
();
24
x
.
Test
(
3
);
25
}
26
}