projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
2004-12-06 Zoltan Varga <vargaz@freemail.hu>
[mono.git]
/
mcs
/
tests
/
a-capture4.cs
1
//
2
// Capturing test.
3
//
4
delegate void S ();
5
using System;
6
7
class X {
8
static void Main ()
9
{
10
int a = 1;
11
S b = delegate {
12
float f = 1;
13
Console.WriteLine (a);
14
if (f == 2)
15
return;
16
};
17
b ();
18
Console.WriteLine ("Back, got " + a);
19
}
20
}