repo.or.cz
/
mono-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[interp] Fall back to old implementation when calling on proxy
[mono-project.git]
/
mcs
/
tests
/
test-interpolation-07.cs
blob
81a8246505923d1159aee082e829da218e3c8fbf
1
using
System
;
2
3
class
CloningTests
4
{
5
static
Action a
;
6
7
static void
Do
(
Action cb
)
8
{
9
cb
();
10
}
11
12
static void
SetupBAD
()
13
{
14
int
number
=
0
;
15
Do
(() => {
16
a
= () =>
Console
.
WriteLine
($
"Number:
{++number}
"
);
17
});
18
}
19
20
static void
Main
()
21
{
22
SetupBAD
();
23
a
();
24
}
25
}