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
Fix DateTime.Now and CurrentTimeToUtc during DST transition time (#4172)
[mono-project.git]
/
mcs
/
tests
/
test-anon-170.cs
blob
ef239d3e936baf440f4640f5ea0212a5b5244481
1
using
System
;
2
3
public class
MyClass
4
{
5
Func
<
int
>
ll
;
6
7
int
Test
(
int
a
)
8
{
9
return
1
;
10
}
11
12
public void
Run
()
13
{
14
Action
<
int
>
a
=
l
=> {
15
ll
= () =>
l
;
16
};
17
18
a
(
1
);
19
20
Action
<
int
>
a2
=
l
=> {
21
ll
= () =>
l
;
22
};
23
24
a2
(
2
);
25
}
26
27
public void
Run2
()
28
{
29
Action
<
int
>
a
=
l
=> {
30
ll
= () =>
Test
(
l
);
31
};
32
33
a
(
1
);
34
35
Action
<
int
>
a2
=
l
=> {
36
ll
= () =>
Test
(
l
);
37
};
38
39
a2
(
1
);
40
}
41
42
public static void
Main
()
43
{
44
var
mc
=
new
MyClass
();
45
mc
.
Run
();
46
mc
.
Run2
();
47
}
48
}