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)
116
if (examinedSegment ==
_readTail
)
120
_examinedEverything = examinedIndex ==
_readTail
.End;
269
Memory<byte> buffer = reader.
_readTail
!.AvailableMemory.Slice(reader.
_readTail
.End);
273
Debug.Assert(length + reader.
_readTail
.End <= reader.
_readTail
.AvailableMemory.Length);
275
reader.
_readTail
.End += length;
488
return _readHead is null ? default : new ReadOnlySequence<byte>(_readHead, _readIndex,
_readTail
!,
_readTail
!.End);
495
Debug.Assert(
_readTail
== null);
501
Debug.Assert(
_readTail
!= null);
502
if (
_readTail
.WritableBytes < MinimumReadThreshold)
505
_readTail
.SetNext(nextSegment);
556
Debug.Assert(segment !=
_readTail
, "Returning _readTail segment that's in use!");