projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge pull request #3262 from lindenlab/add_continuations_test
[mono.git]
/
mono
/
tests
/
bug-461941.cs
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
}