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
2009-07-16 Jb Evain <jbevain@novell.com>
[mcs.git]
/
tests
/
test-anon-87.cs
blob
517d78de75efe4f2dd6f0b8db8e20733751b4195
1
using
System
;
2
3
namespace
Bug
4
{
5
public delegate void
D
();
6
7
class
AA
:
BB
8
{
9
public
AA
(
BB bb
)
10
:
base
(
bb
.
Value
)
11
{
12
D d
=
delegate
() {
13
bb
.
Foo
();
14
TestMe
();
15
};
16
}
17
18
void
TestMe
()
19
{
20
}
21
22
public static int
Main
()
23
{
24
new
AA
(
new
BB
(
"a"
));
25
return
0
;
26
}
27
}
28
29
class
BB
30
{
31
public string
Value
=
"test"
;
32
33
public
BB
(
string
s
)
34
{
35
}
36
37
public void
Foo
()
38
{
39
}
40
}
41
}