System.IO.FileStream.AsyncCopyToAwaitable.ResetForNextOperation C# (CSharp) Méthode

ResetForNextOperation() private méthode

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