You've already forked linux-packaging-mono
Imported Upstream version 3.10.0
Former-commit-id: 172c8e3c300b39d5785c7a3e8dfb08ebdbc1a99b
This commit is contained in:
@ -31,9 +31,9 @@
|
||||
using System;
|
||||
using System.Threading;
|
||||
using System.Reflection;
|
||||
#if !TARGET_JVM && !MONOTOUCH
|
||||
#if !MONOTOUCH
|
||||
using System.Reflection.Emit;
|
||||
#endif // TARGET_JVM
|
||||
#endif
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
using NUnit.Framework;
|
||||
@ -397,7 +397,6 @@ namespace MonoTests.System.Reflection
|
||||
typeof (Foo).GetField ("static_field").GetValue (typeof (int));
|
||||
}
|
||||
|
||||
#if !TARGET_JVM // ReflectionOnlyLoad not supported for TARGET_JVM
|
||||
[Test]
|
||||
[ExpectedException (typeof (InvalidOperationException))]
|
||||
public void GetValueOnRefOnlyAssembly ()
|
||||
@ -417,7 +416,6 @@ namespace MonoTests.System.Reflection
|
||||
FieldInfo f = t.GetField ("RefOnlyField", BindingFlags.Static | BindingFlags.NonPublic);
|
||||
f.SetValue (null, 8);
|
||||
}
|
||||
#endif // TARGET_JVM
|
||||
|
||||
const int literal = 42;
|
||||
|
||||
@ -453,7 +451,6 @@ namespace MonoTests.System.Reflection
|
||||
Assert.AreEqual (null, fi2.GetValue (t));
|
||||
}
|
||||
|
||||
#if !TARGET_JVM // TypeBuilder not supported for TARGET_JVM
|
||||
[Test]
|
||||
public void NonPublicTests ()
|
||||
{
|
||||
@ -468,7 +465,6 @@ namespace MonoTests.System.Reflection
|
||||
fi = t.GetField ("protectedField", BindingFlags.NonPublic | BindingFlags.Instance);
|
||||
Assert.IsNotNull (fi);
|
||||
}
|
||||
#endif // TARGET_JVM
|
||||
|
||||
[Test]
|
||||
public void GetRawDefaultValue ()
|
||||
|
Reference in New Issue
Block a user