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)
178if (_writingHead == null) 196_writingHead.End += _writingHeadBytesBuffered; 200if (_writingHead.Length == 0) 205_writingHead.ResetMemory(); 206RentMemory(_writingHead, sizeHint); 212_writingHead.SetNext(newSegment); 282Debug.Assert(segment != _writingHead, "Returning _writingHead segment that's in use!"); 301Debug.Assert(_writingHead != null); 302_writingHead.End += _writingHeadBytesBuffered; 305_readTail = _writingHead; 306_readTailIndex = _writingHead.End; 539if (_writingHead != returnEnd) 1099Debug.Assert(_writingHead != null); 1115_writingHead.End += _writingHeadBytesBuffered; 1122_writingHead.SetNext(newSegment);