ReactiveUI.Primitives.Disposables.DisposableSlotHelper
Pure-plumbing helpers for the swap-disposable-slot pattern shared by
MutableDisposable and SwapDisposable. Centralizes the
pre-check / store / race-recheck flow so the call-site setters stay one-line delegations.
All testable branches (already-disposed pre-check, steady-state assign, idempotent dispose)
have direct RxVoid tests against this class. The single race-recheck step that fires only
when Dispose() runs concurrently between the helper's Volatile.Read pre-check
and the store is isolated in DisposeIfRaced, which is marked
ExcludeFromCodeCoverageAttribute. That step is unreachable without a real
concurrent thread, in the same spirit as the library's throw-helper methods.
namespace ReactiveUI.Primitives.Disposables
{
internal static class DisposableSlotHelper
{
}
}