Imported Upstream version 5.12.0.220

Former-commit-id: c477e03582759447177c6d4bf412cd2355aad476
This commit is contained in:
Xamarin Public Jenkins (auto-signing)
2018-04-24 09:31:23 +00:00
parent 8bd104cef2
commit 8fc30896db
1200 changed files with 29534 additions and 26161 deletions

View File

@ -470,7 +470,7 @@ namespace MonoTests.System.Reflection.Emit
public delegate object RetObj();
[Test] //#640702
[Category ("InterpreterNotWorking")]
[Category ("NotWorkingRuntimeInterpreter")]
public void GetCurrentMethodWorksWithDynamicMethods ()
{
DynamicMethod dm = new DynamicMethod("Foo", typeof(object), null);
@ -527,7 +527,7 @@ namespace MonoTests.System.Reflection.Emit
}
[Test]
[Category ("InterpreterNotWorking")]
[Category ("NotWorkingRuntimeInterpreter")]
public void ExceptionHandling ()
{
var method = new DynamicMethod ("", typeof(void), new[] { typeof(int) }, typeof (DynamicMethodTest));
@ -588,13 +588,13 @@ namespace MonoTests.System.Reflection.Emit
// Ignore Metadata
lines = lines.Where (l => !l.StartsWith ("[")).ToArray ();
Assert.AreEqual (5, lines.Length, "#1");
Assert.AreEqual (4, lines.Length, "#1");
Assert.IsTrue (lines [1].Contains ("---"), "#2");
}
}
[Test]
[Category ("InterpreterNotWorking")]
[Category ("NotWorkingRuntimeInterpreter")]
public void ExceptionHandlingWithExceptionDispatchInfo ()
{
var method = new DynamicMethod ("", typeof(void), new[] { typeof(int) }, typeof (DynamicMethodTest));
@ -652,7 +652,7 @@ namespace MonoTests.System.Reflection.Emit
}
[Test] //see bxc #59334
[Category ("InterpreterNotWorking")]
[Category ("NotWorkingRuntimeInterpreter")]
public void ExceptionWrapping ()
{
AssemblyBuilder ab = AppDomain.CurrentDomain.DefineDynamicAssembly (new AssemblyName ("ehatevfheiw"), AssemblyBuilderAccess.Run);