[2019-12] [threads] Add back mono_threads_attach_tools_thread as a public API (#18074)
[mono-project.git] / mono / tests / bug-461941.cs
blob4bdb2ce7c18b829f54e1b82680f30efda50b2c1c
1 using System;
2 using System.Reflection;
5 namespace TestApp
7 class Driver
9 static int val;
11 public static void Test (ref int? x) {
12 val = x.Value;
15 static int Main()
17 MethodInfo mi = typeof (Driver).GetMethod ("Test");
18 mi.Invoke (null, new object[] { 20 });
19 if (val != 20)
20 return 1;
21 return 0;