<PackageReference Include="ReactiveUI.Disposables" Version="7.4.0" />

ReactiveUI.Primitives.Disposables.DisposableSlotHelper

static class 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.