7 writes to _offset
System.Private.DataContractSerialization (7)
System\Xml\XmlBufferReader.cs (7)
92_offset = offset; 110_offset = 0; 249_offset += count; 281_offset = windowOffset; 296_offset = value; 306_offset += count; 495GetBuffer(dst.Length, out _offset)
22 references to _offset
System.Private.DataContractSerialization (22)
System\Xml\XmlBufferReader.cs (22)
122return _offset == _offsetMax && !TryEnsureByte(); 128int offset = _offset; 143return _buffer[_offset]; 148offset = _offset; 156offset = _offset; 159offsetMax = _offset + count; 171offset = _offset; 178offset = _offset; 214Debug.Assert(_offset <= int.MaxValue - count); 222int newOffsetMax = _offset + count; 248Debug.Assert(_offset + count <= _offsetMax); 262System.Buffer.BlockCopy(_buffer, _offset, _buffer, _offset + count, _offsetMax - _offset); 264System.Buffer.BlockCopy(buffer, offset, _buffer, _offset, count); 277if (_offset != windowOffset) 279System.Buffer.BlockCopy(_buffer, _offset, _buffer, windowOffset, _offsetMax - _offset); 280_offsetMax = windowOffset + (_offsetMax - _offset); 291return _offset; 303int offset = _offset; 496.AsSpan(_offset, dst.Length)