| 12345678910111213141516171819 |
- // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information.
- #if HAS_EDI
- namespace System.Reactive.PlatformServices
- {
- //
- // WARNING: This code is kept *identically* in two places. One copy is kept in System.Reactive.Core for non-PLIB platforms.
- // Another copy is kept in System.Reactive.PlatformServices to enlighten the default lowest common denominator
- // behavior of Rx for PLIB when used on a more capable platform.
- //
- internal class /*Default*/ExceptionServicesImpl : IExceptionServices
- {
- public void Rethrow(Exception exception)
- {
- System.Runtime.ExceptionServices.ExceptionDispatchInfo.Capture(exception).Throw();
- }
- }
- }
- #endif
|