public void AddCount() { EnsureNotDisposed(); if (_count == int.MaxValue) throw new InvalidOperationException("TODO"); Interlocked.Increment(ref _count); }