private void ThrowIfDisposed() { if (_disposed) { throw new ObjectDisposedException("Barrier", SR.Barrier_Dispose); } }