public void OnSubscribe(IDisposable d) { DisposableHelper.Replace(ref this.d, d); }
public void Dispose() { DisposableHelper.Terminate(ref s); }
public bool Set(IDisposable d) { return(DisposableHelper.Replace(ref this.d, d)); }
public bool IsDisposed() { return(DisposableHelper.IsTerminated(ref d)); }
public void Cancel() { s.Cancel(); DisposableHelper.Terminate(ref other); }
internal void Set(IDisposable d) { DisposableHelper.Replace(ref this.d, d); }
public override void Cancel() { DisposableHelper.Dispose(ref d); }