projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
remove executable bit from {errors,tests}/*.cs
[mono.git]
/
mcs
/
tests
/
test-anon-75.cs
1
using System;
2
3
delegate bool D ();
4
5
class Data
6
{
7
public D d;
8
}
9
10
public class Test
11
{
12
int value;
13
D change;
14
15
static void Foo (int i, D d)
16
{
17
}
18
19
public static void Main ()
20
{
21
}
22
23
void TestMe ()
24
{
25
if (true) {
26
Data data = null;
27
if (data != null) {
28
D d2 = delegate { return true; };
29
change += d2;
30
31
data.d += delegate {
32
change -= d2;
33
Foo (10, delegate {
34
data = null;
35
return false;
36
}
37
);
38
return true;
39
};
40
}
41
}
42
}
43
}
44