diff --git a/src/mscorlib/src/System/Runtime/ExceptionServices/ExceptionServicesCommon.cs b/src/mscorlib/src/System/Runtime/ExceptionServices/ExceptionServicesCommon.cs index 9e87b2173715..8d5ced089f5f 100644 --- a/src/mscorlib/src/System/Runtime/ExceptionServices/ExceptionServicesCommon.cs +++ b/src/mscorlib/src/System/Runtime/ExceptionServices/ExceptionServicesCommon.cs @@ -129,5 +129,9 @@ public void Throw() m_Exception.RestoreExceptionDispatchInfo(this); throw m_Exception; } + + // Throws the source exception, maintaining the original bucketing details and augmenting + // rather than replacing the original stack trace. + public static void Throw(Exception source) => Capture(source).Throw(); } }