3 writes to _readTail
System.IO.Pipelines (3)
System\IO\Pipelines\StreamPipeReader.cs (3)
134_readTail = null; 497_readTail = _readHead; 506_readTail = nextSegment;
14 references to _readTail
System.IO.Pipelines (14)
System\IO\Pipelines\StreamPipeReader.cs (14)
116if (examinedSegment == _readTail) 120_examinedEverything = examinedIndex == _readTail.End; 269Memory<byte> buffer = reader._readTail!.AvailableMemory.Slice(reader._readTail.End); 273Debug.Assert(length + reader._readTail.End <= reader._readTail.AvailableMemory.Length); 275reader._readTail.End += length; 488return _readHead is null ? default : new ReadOnlySequence<byte>(_readHead, _readIndex, _readTail!, _readTail!.End); 495Debug.Assert(_readTail == null); 501Debug.Assert(_readTail != null); 502if (_readTail.WritableBytes < MinimumReadThreshold) 505_readTail.SetNext(nextSegment); 556Debug.Assert(segment != _readTail, "Returning _readTail segment that's in use!");