Imported Upstream version 6.0.0.190

Former-commit-id: e193e16b440728be216d156a01a02450e7882323
This commit is contained in:
Xamarin Public Jenkins (auto-signing)
2019-04-22 22:18:01 +00:00
parent dec0eff6dd
commit b8f7d9129e
52 changed files with 64 additions and 47 deletions

View File

@ -658,6 +658,15 @@ namespace MonoTests.System.Reflection
Assert.AreEqual (10, pi2.GetGetMethod ().Invoke (10, null));
}
[Test]
public void NullableTestsStatic ()
{
Nullable<Double> val = new Nullable<Double>(new Double());
MethodInfo mi = typeof (Nullable<Double>).GetMethod ("op_Implicit");
object obj = val;
mi.Invoke(null, new[] { obj });
}
public static void foo_generic<T> ()
{
}