You've already forked linux-packaging-mono
Imported Upstream version 5.12.0.220
Former-commit-id: c477e03582759447177c6d4bf412cd2355aad476
This commit is contained in:
parent
8bd104cef2
commit
8fc30896db
@@ -145,6 +145,9 @@ namespace System.Runtime.ExceptionServices {
|
||||
// This method will restore the original stack trace and bucketing details before throwing
|
||||
// the exception so that it is easy, from debugging standpoint, to understand what really went wrong on
|
||||
// the original thread.
|
||||
#if MONO
|
||||
[System.Diagnostics.StackTraceHidden]
|
||||
#endif
|
||||
public void Throw()
|
||||
{
|
||||
// Restore the exception dispatch details before throwing the exception.
|
||||
@@ -153,6 +156,7 @@ namespace System.Runtime.ExceptionServices {
|
||||
}
|
||||
|
||||
#if MONO
|
||||
[System.Diagnostics.StackTraceHidden]
|
||||
public static void Throw (Exception source) => Capture (source).Throw ();
|
||||
#endif
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user