9 writes to bytePos
System.Private.Xml (9)
System\Xml\Core\XmlTextReaderImpl.cs (6)
2882
_ps.
bytePos
= 0;
3199
_ps.
bytePos
= preamble.Length;
3311
_ps.
bytePos
= _documentStartBytePos; // byte position after preamble
3316
_ps.
bytePos
+= _ps.encoding.GetByteCount(_ps.chars, 0, _ps.charPos);
3428
_ps.
bytePos
= 0;
3512
_ps.
bytePos
+= bytesCount;
System\Xml\Core\XmlTextReaderImplAsync.cs (2)
910
_ps.
bytePos
= 0;
1114
_ps.
bytePos
= 0;
System\Xml\Core\XmlTextReaderImplHelpers.cs (1)
74
bytePos
= 0;
18 references to bytePos
System.Private.Xml (18)
System\Xml\Core\XmlTextReaderImpl.cs (11)
2901
_documentStartBytePos = _ps.
bytePos
;
3090
Debug.Assert(_ps.
bytePos
== 0);
3362
if (_ps.bytesUsed - _ps.
bytePos
< MaxByteSequenceLen)
3414
int bytesLeft = _ps.bytesUsed - _ps.
bytePos
;
3424
BlockCopy(_ps.bytes, _ps.
bytePos
, _ps.bytes, 0, bytesLeft);
3441
if (_ps.
bytePos
== _ps.bytesUsed && _ps.bytes.Length - _ps.bytesUsed > 0)
3452
int originalBytePos = _ps.
bytePos
;
3456
if (charsRead == 0 && _ps.
bytePos
!= originalBytePos)
3493
int bytesCount = _ps.bytesUsed - _ps.
bytePos
;
3504
_ps.decoder.Convert(_ps.bytes, _ps.
bytePos
, bytesCount, _ps.chars, _ps.charsUsed, maxCharsCount, false, out bytesCount, out charsCount, out completed);
3532
_ps.decoder.Convert(_ps.bytes, _ps.
bytePos
+ bytesDecoded, 1, _ps.chars, _ps.charsUsed + charsDecoded, 2, false, out bDec, out chDec, out completed);
System\Xml\Core\XmlTextReaderImplAsync.cs (7)
929
_documentStartBytePos = _ps.
bytePos
;
1051
if (_ps.bytesUsed - _ps.
bytePos
< MaxByteSequenceLen)
1102
int bytesLeft = _ps.bytesUsed - _ps.
bytePos
;
1111
BlockCopy(_ps.bytes!, _ps.
bytePos
, _ps.bytes!, 0, bytesLeft);
1125
if (_ps.
bytePos
== _ps.bytesUsed && _ps.bytes!.Length - _ps.bytesUsed > 0)
1136
int originalBytePos = _ps.
bytePos
;
1140
if (charsRead == 0 && _ps.
bytePos
!= originalBytePos)