System.IO.FileStream.AsyncCopyToAwaitable.ResetForNextOperation C# (CSharp) Method

ResetForNextOperation() private method

Reset state to prepare for the next read operation.
private ResetForNextOperation ( ) : void
return void
            internal void ResetForNextOperation()
            {
                Debug.Assert(_position >= 0, $"Expected non-negative position, got {_position}");
                _continuation = null;
                _errorCode = 0;
                _numBytes = 0;
            }