10 writes to bytePos
System.Xml (10)
System\Xml\Core\XmlTextReaderImpl.cs (6)
2640
ps.
bytePos
= 0;
2666
ps.
bytePos
= preambleLen;
3058
ps.
bytePos
= documentStartBytePos; // byte position after preamble
3060
ps.
bytePos
+= ps.encoding.GetByteCount( ps.chars, 0, ps.charPos );
3147
ps.
bytePos
= 0;
3215
ps.
bytePos
+= bytesCount;
System\Xml\Core\XmlTextReaderImplAsync.cs (3)
864
ps.
bytePos
= 0;
890
ps.
bytePos
= preambleLen;
1057
ps.
bytePos
= 0;
System\Xml\Core\XmlTextReaderImplHelpers.cs (1)
86
bytePos
= 0;
18 references to bytePos
System.Xml (18)
System\Xml\Core\XmlTextReaderImpl.cs (11)
2669
documentStartBytePos = ps.
bytePos
;
2854
Debug.Assert( ps.
bytePos
== 0 );
3097
if ( ps.bytesUsed - ps.
bytePos
< MaxByteSequenceLen ) {
3138
int bytesLeft = ps.bytesUsed - ps.
bytePos
;
3144
BlockCopy( ps.bytes, ps.
bytePos
, ps.bytes, 0, bytesLeft );
3156
if ( ps.
bytePos
== ps.bytesUsed && ps.bytes.Length - ps.bytesUsed > 0 ) {
3165
int originalBytePos = ps.
bytePos
;
3169
if ( charsRead == 0 && ps.
bytePos
!= originalBytePos ) {
3199
int bytesCount = ps.bytesUsed - ps.
bytePos
;
3208
ps.decoder.Convert( ps.bytes, ps.
bytePos
, bytesCount, ps.chars, ps.charsUsed, maxCharsCount, false, out bytesCount, out charsCount, out completed );
3229
ps.decoder.Convert( ps.bytes, ps.
bytePos
+ bytesDecoded, 1, ps.chars, ps.charsUsed + charsDecoded, 1, false, out bDec, out chDec, out completed );
System\Xml\Core\XmlTextReaderImplAsync.cs (7)
893
documentStartBytePos = ps.
bytePos
;
1007
if ( ps.bytesUsed - ps.
bytePos
< MaxByteSequenceLen ) {
1048
int bytesLeft = ps.bytesUsed - ps.
bytePos
;
1054
BlockCopy( ps.bytes, ps.
bytePos
, ps.bytes, 0, bytesLeft );
1066
if ( ps.
bytePos
== ps.bytesUsed && ps.bytes.Length - ps.bytesUsed > 0 ) {
1075
int originalBytePos = ps.
bytePos
;
1079
if ( charsRead == 0 && ps.
bytePos
!= originalBytePos ) {