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
[mono/tests] Fix out of tree build.
[mono-project.git]
/
mcs
/
tests
/
test-anon-44.cs
blob
63d73ffc6872df74c4d78eb919bb04dcf9e1d419
1
using
System
;
2
3
delegate void
Simple
();
4
5
delegate
Simple
Foo
();
6
7
class
X
8
{
9
public void
Hello
(
long
k
)
10
{ }
11
12
public void
Test
(
int
i
)
13
{
14
Hello
(
3
);
15
Foo foo
=
delegate
{
16
int
a
=
i
;
17
Hello
(
4
);
18
return delegate
{
19
int
b
=
a
;
20
Hello
(
5
);
21
};
22
};
23
Foo bar
=
delegate
{
24
int
c
=
i
;
25
Hello
(
6
);
26
return delegate
{
27
int
d
=
i
;
28
Hello
(
7
);
29
};
30
};
31
Simple simple
=
foo
();
32
simple
();
33
}
34
35
public static void
Main
()
36
{
37
X x
=
new
X
();
38
x
.
Test
(
3
);
39
}
40
}