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)
74bytePos = 0;
18 references to bytePos
System.Private.Xml (18)
System\Xml\Core\XmlTextReaderImpl.cs (11)
2901_documentStartBytePos = _ps.bytePos; 3090Debug.Assert(_ps.bytePos == 0); 3362if (_ps.bytesUsed - _ps.bytePos < MaxByteSequenceLen) 3414int bytesLeft = _ps.bytesUsed - _ps.bytePos; 3424BlockCopy(_ps.bytes, _ps.bytePos, _ps.bytes, 0, bytesLeft); 3441if (_ps.bytePos == _ps.bytesUsed && _ps.bytes.Length - _ps.bytesUsed > 0) 3452int originalBytePos = _ps.bytePos; 3456if (charsRead == 0 && _ps.bytePos != originalBytePos) 3493int 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; 1051if (_ps.bytesUsed - _ps.bytePos < MaxByteSequenceLen) 1102int bytesLeft = _ps.bytesUsed - _ps.bytePos; 1111BlockCopy(_ps.bytes!, _ps.bytePos, _ps.bytes!, 0, bytesLeft); 1125if (_ps.bytePos == _ps.bytesUsed && _ps.bytes!.Length - _ps.bytesUsed > 0) 1136int originalBytePos = _ps.bytePos; 1140if (charsRead == 0 && _ps.bytePos != originalBytePos)