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;
495
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);
262
System.Buffer.BlockCopy(_buffer,
_offset
, _buffer,
_offset
+ count, _offsetMax -
_offset
);
264
System.Buffer.BlockCopy(buffer, offset, _buffer,
_offset
, count);
277
if (
_offset
!= windowOffset)
279
System.Buffer.BlockCopy(_buffer,
_offset
, _buffer, windowOffset, _offsetMax -
_offset
);
280
_offsetMax = windowOffset + (_offsetMax -
_offset
);
291
return
_offset
;
303
int offset =
_offset
;
496
.AsSpan(
_offset
, dst.Length)