Renci.SshNet.Common.CountdownEvent.AddCount C# (CSharp) Method

AddCount() public method

Increments the CountdownEvent's current count by one.
The current instance has already been disposed. The current instance is already set. is equal to or greather than .
public AddCount ( ) : void
return void
        public void AddCount()
        {
            EnsureNotDisposed();

            if (_count == int.MaxValue)
                throw new InvalidOperationException("TODO");

            Interlocked.Increment(ref _count);
        }