You've already forked linux-packaging-mono
Imported Upstream version 6.10.0.95
Former-commit-id: 18432a6ff57f597da5968d1a3011ed3c703abdad
This commit is contained in:
parent
91c0b708f2
commit
ae1884c1bc
@@ -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 ();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user