projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
* expression.cs (Invocation.IsApplicable): Reorganize slightly to
[mono.git]
/
mcs
/
tests
/
test-anon-44.cs
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
static void Main ()
36
{
37
X x = new X ();
38
x.Test (3);
39
}
40
}