5 writes to _lastBufferOffset
System.Net.Http (5)
System\Net\Http\HttpContent.cs (5)
895_lastBufferOffset = newBuffer.Length; 912_lastBufferOffset = offset + buffer.Length; 972_lastBufferOffset = _totalLength; 986_totalLength = _lastBufferOffset = buffer.Length; 1004_lastBufferOffset = buffer.Length;
9 references to _lastBufferOffset
System.Net.Http (9)
System\Net\Http\HttpContent.cs (9)
879Debug.Assert(_lastBufferOffset == _totalLength); 880Debug.Assert(_lastBufferOffset <= _lastBuffer.Length); 907int offset = _lastBufferOffset; 945int currentTotalCapacity = _totalLength - _lastBufferOffset + lastBufferCapacity; 979Debug.Assert(_lastBufferOffset == 0); 997Span<byte> remainingInCurrentBuffer = _lastBuffer.AsSpan(_lastBufferOffset); 1060Debug.Assert(_lastBufferOffset <= _lastBuffer.Length); 1061Debug.Assert(_lastBufferOffset <= destination.Length); 1063_lastBuffer.AsSpan(0, _lastBufferOffset).CopyTo(destination);