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
Updates for CODEOWNERS
[mono-project.git]
/
mono
/
tests
/
bug-461941.cs
blob
4bdb2ce7c18b829f54e1b82680f30efda50b2c1c
1
using
System
;
2
using
System
.
Reflection
;
3
4
5
namespace
TestApp
6
{
7
class
Driver
8
{
9
static int
val
;
10
11
public static void
Test
(
ref int
?
x
) {
12
val
=
x
.
Value
;
13
}
14
15
static int
Main
()
16
{
17
MethodInfo mi
=
typeof
(
Driver
).
GetMethod
(
"Test"
);
18
mi
.
Invoke
(
null
,
new object
[]
{ 20 }
);
19
if
(
val
!=
20
)
20
return
1
;
21
return
0
;
22
}
23
}
24
}