5 writes to _readResult
Microsoft.AspNetCore.Server.Kestrel.Core (5)
Internal\Http\Http1ContentLengthMessageBody.cs (5)
63_readResult = await StartTimingReadAsync(readAwaitable, cancellationToken); 141if (!_context.Input.TryRead(out _readResult)) 197_readResult = new ReadResult( 222_readResult = new ReadResult(new ReadOnlySequence<byte>(), isCanceled: false, isCompleted: true); 231_readResult = new ReadResult(buffer, isCanceled: false, isCompleted: true);
19 references to _readResult
Microsoft.AspNetCore.Server.Kestrel.Core (19)
Internal\Http\Http1ContentLengthMessageBody.cs (19)
40return new ReadResult(_readResult.Buffer, Interlocked.Exchange(ref _userCanceled, 0) == 1, isCompleted: true); 79_context.Input.AdvanceTo(_readResult.Buffer.Start); 89if (_readResult.IsCompleted) 99if (!_readResult.IsCanceled || Interlocked.Exchange(ref _userCanceled, 0) == 1 || _cannotResetInputPipe) 106if (_readResult.IsCompleted) 117return _readResult; 127readResult = new ReadResult(_readResult.Buffer, Interlocked.Exchange(ref _userCanceled, 0) == 1, isCompleted: true); 147if (!_readResult.IsCanceled || Interlocked.Exchange(ref _userCanceled, 0) == 1 || _cannotResetInputPipe) 152_context.Input.AdvanceTo(_readResult.Buffer.Start); 155if (_readResult.IsCompleted) 163_context.Input.AdvanceTo(_readResult.Buffer.Start); 176readResult = _readResult; 188var initialLength = _readResult.Buffer.Length; 198_readResult.Buffer.Slice(0, maxLength), 199_readResult.IsCanceled, 217var buffer = _readResult.Buffer.Slice(consumed, _readResult.Buffer.End); 241_unexaminedInputLength -= TrackConsumedAndExaminedBytes(_readResult, consumed, examined); 271if (_readResult.IsCompleted)