repo.or.cz
/
mono-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[runtime] Avoid holding the init lock while calling the cctor in mono_runtime_class_i...
[mono-project.git]
/
mcs
/
tests
/
test-anon-101.cs
blob
63d96639f68c5f846cd227f05fe85406f6bb6970
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
public static void
Main
()
22
{
23
X x
=
new
X
();
24
x
.
Test
(
3
);
25
}
26
}