DefaultExceptionServices
using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.ExceptionServices;
namespace System.Reactive.PlatformServices
{
    internal sealed class DefaultExceptionServices : IExceptionServices
    {
        [System.Runtime.CompilerServices.NullableContext(1)]
        [DoesNotReturn]
        public void Rethrow(Exception exception)
        {
            ExceptionDispatchInfo.Capture(exception).Throw();
        }
    }
}