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
Make StringComparer.Create throw ArgumentNullException (#26570)
[mono-project.git]
/
mcs
/
tests
/
dtest-032.cs
blob
1685ee2285948955a375b325f3ea040252d3a1d8
1
using
System
;
2
3
class
A
4
{
5
public int value
;
6
7
public
A
(
int value
)
8
{
9
this
.
value
=
value
;
10
}
11
}
12
13
class
B
14
{
15
static void
Foo
(
int
i
,
out
A a
)
16
{
17
a
=
new
A
(
i
);
18
}
19
20
public static int
Main
()
21
{
22
dynamic
d
=
6
;
23
A a
;
24
Foo
(
d
,
out
a
);
25
if
(
a
.
value
!=
6
)
26
return
1
;
27
28
return
0
;
29
}
30
}
31