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
In class/Microsoft.Build.Tasks:
[mcs.git]
/
tests
/
test-anon-90.cs
blob
e1c0ff44d25edb1b685c821f868d124914ea5241
1
class
C
2
{
3
public static int
Main
()
4
{
5
new
C
().
Foo
();
6
return
0
;
7
}
8
9
delegate void
D
();
10
11
void
Foo
()
12
{
13
int
x
=
0
;
14
D d1
=
delegate
() {
15
int
y
=
1
;
16
if
(
y
==
1
) {
17
int
z
=
2
;
18
D d2
=
delegate
() {
19
int
a
=
x
+
y
+
z
;
20
};
21
}
22
};
23
}
24
}