Imported Upstream version 6.10.0.95

Former-commit-id: 18432a6ff57f597da5968d1a3011ed3c703abdad
This commit is contained in:
Xamarin Public Jenkins (auto-signing)
2020-03-14 08:42:10 +00:00
parent 91c0b708f2
commit ae1884c1bc
53 changed files with 554 additions and 394 deletions

View File

@@ -1,5 +1,6 @@
using System;
using System.Reflection;
using System.Runtime.ExceptionServices;
namespace Internal.Runtime.Augments {
partial class RuntimeAugments {
@@ -7,7 +8,8 @@ namespace Internal.Runtime.Augments {
public static void ReportUnhandledException (Exception exception)
{
throw exception;
var edi = ExceptionDispatchInfo.Capture (exception);
edi.Throw ();
}
internal static ReflectionExecutionDomainCallbacks Callbacks => s_reflectionExecutionDomainCallbacks;
@@ -19,4 +21,4 @@ namespace Internal.Runtime.Augments {
return new MissingMetadataException ();
}
}
}
}