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
Merge pull request #1861 from saper/home-override
[mono-project.git]
/
mcs
/
tests
/
test-debug-18.cs
blob
12b56a91ac45fd320136a01e2f630459d62f7d6f
1
using
System
;
2
3
class
C
4
{
5
event
Func
<
int
>
OutEvent
;
6
7
public static void
Main
()
8
{
9
}
10
11
public void
M
<
U
,
V
> (
out
U u
,
ref
V v
)
12
{
13
u
=
default
(
U
);
14
}
15
16
void
Test_1
()
17
{
18
dynamic
d
=
"a"
;
19
string
s
=
d
+
"b"
;
20
return
;
21
}
22
23
void
Test_2
()
24
{
25
dynamic
d
=
"a"
;
26
d
.
ToString
();
27
}
28
29
void
Test_3
()
30
{
31
dynamic
u
=
"s"
;
32
dynamic
v
=
5
;
33
dynamic
c
=
new
C
();
34
c
.
M
(
out
u
,
ref
v
);
35
}
36
37
void
Test_4
()
38
{
39
dynamic
d
=
new
C
();
40
d
.
OutEvent
+=
new
Func
<
int
> (() =>
100
);
41
}
42
}