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
* ResolvedReference.cs (.ctor): Set 'OriginalItemSpec' and 'ResolvedFrom',
[mcs.git]
/
tests
/
test-anon-39.cs
blob
a5c4c5b0a0de4e9d9f795d95ad70cda617d5876f
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
long
j
=
1
<<
i
;
15
Hello
(
j
);
16
Foo foo
=
delegate
{
17
Hello
(
j
);
18
return delegate
{
19
Hello
(
j
);
20
};
21
};
22
Simple simple
=
foo
();
23
simple
();
24
}
25
26
static void
Main
()
27
{
28
X x
=
new
X
();
29
x
.
Test
(
3
);
30
}
31
}