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)
100
if (
_readHead
== null)
105
BufferSegment returnStart =
_readHead
;
188
BufferSegment? segment =
_readHead
;
332
BufferSegment? segment =
_readHead
;
403
BufferSegment? segment =
_readHead
;
488
return
_readHead
is null ? default : new ReadOnlySequence<byte>(
_readHead
, _readIndex, _readTail!, _readTail!.End);
493
if (
_readHead
== null)
497
_readTail =
_readHead
;
555
Debug.Assert(segment !=
_readHead
, "Returning _readHead segment that's in use!");