7 writes to _offset
System.Private.DataContractSerialization (7)
System\Xml\XmlBufferReader.cs (7)
92
_offset
= offset;
110
_offset
= 0;
249
_offset
+= count;
282
_offset
= windowOffset;
297
_offset
= value;
307
_offset
+= count;
496
GetBuffer(dst.Length, out
_offset
)
22 references to _offset
System.Private.DataContractSerialization (22)
System\Xml\XmlBufferReader.cs (22)
122
return
_offset
== _offsetMax && !TryEnsureByte();
128
int offset =
_offset
;
143
return _buffer[
_offset
];
148
offset =
_offset
;
156
offset =
_offset
;
159
offsetMax =
_offset
+ count;
171
offset =
_offset
;
178
offset =
_offset
;
214
Debug.Assert(
_offset
<= int.MaxValue - count);
222
int newOffsetMax =
_offset
+ count;
248
Debug.Assert(
_offset
+ count <= _offsetMax);
263
System.Buffer.BlockCopy(_buffer,
_offset
, _buffer,
_offset
+ count, _offsetMax -
_offset
);
265
bytes.CopyTo(_buffer.AsSpan(
_offset
, count));
278
if (
_offset
!= windowOffset)
280
System.Buffer.BlockCopy(_buffer,
_offset
, _buffer, windowOffset, _offsetMax -
_offset
);
281
_offsetMax = windowOffset + (_offsetMax -
_offset
);
292
return
_offset
;
304
int offset =
_offset
;
497
.AsSpan(
_offset
, dst.Length)