4 writes to _readHead
System.IO.Pipelines (4)
System\IO\Pipelines\StreamPipeReader.cs (4)
133_readHead = null; 140_readHead = nextBlock; 146_readHead = consumedSegment; 496_readHead = AllocateSegment(minimumSize);
10 references to _readHead
System.IO.Pipelines (10)
System\IO\Pipelines\StreamPipeReader.cs (10)
100if (_readHead == null) 105BufferSegment returnStart = _readHead; 188BufferSegment? segment = _readHead; 332BufferSegment? segment = _readHead; 403BufferSegment? segment = _readHead; 488return _readHead is null ? default : new ReadOnlySequence<byte>(_readHead, _readIndex, _readTail!, _readTail!.End); 493if (_readHead == null) 497_readTail = _readHead; 555Debug.Assert(segment != _readHead, "Returning _readHead segment that's in use!");