5 writes to _writingHead
System.IO.Pipelines (5)
System\IO\Pipelines\Pipe.cs (5)
184
_writingHead
= _readHead = _readTail = newSegment;
213
_writingHead
= newSegment;
548
_writingHead
= null;
894
_writingHead
= null;
1123
_writingHead
= newSegment;
15 references to _writingHead
System.IO.Pipelines (15)
System\IO\Pipelines\Pipe.cs (15)
178
if (
_writingHead
== null)
196
_writingHead
.End += _writingHeadBytesBuffered;
200
if (
_writingHead
.Length == 0)
205
_writingHead
.ResetMemory();
206
RentMemory(
_writingHead
, sizeHint);
212
_writingHead
.SetNext(newSegment);
282
Debug.Assert(segment !=
_writingHead
, "Returning _writingHead segment that's in use!");
301
Debug.Assert(
_writingHead
!= null);
302
_writingHead
.End += _writingHeadBytesBuffered;
305
_readTail =
_writingHead
;
306
_readTailIndex =
_writingHead
.End;
539
if (
_writingHead
!= returnEnd)
1099
Debug.Assert(
_writingHead
!= null);
1115
_writingHead
.End += _writingHeadBytesBuffered;
1122
_writingHead
.SetNext(newSegment);