11 writes to chars
System.Xml (11)
System\Xml\Core\XmlTextReaderImpl.cs (6)
2636
ps.
chars
= new char[ bufferSize + 1 ];
2695
ps.
chars
= new char[XmlReader.AsyncBufferSize + 1];
2698
ps.
chars
= new char[XmlReader.DefaultBufferSize + 1];
2721
ps.
chars
= new char[ len + 1 ];
3092
ps.
chars
= newChars;
3132
ps.
chars
= newChars;
System\Xml\Core\XmlTextReaderImplAsync.cs (4)
860
ps.
chars
= new char[ bufferSize + 1 ];
925
ps.
chars
= new char[bufferSize + 1];
1002
ps.
chars
= newChars;
1042
ps.
chars
= newChars;
System\Xml\Core\XmlTextReaderImplHelpers.cs (1)
79
chars
= null;
313 references to chars
System.Xml (313)
System\Xml\Core\XmlTextReaderImpl.cs (184)
1787
BlockCopyChars( ps.
chars
, startPos, buffer, ( index + readCount ), copyCount );
1807
curNode.SetValue( ps.
chars
, startPos, endPos - startPos );
2037
stringBuilder.Append( ps.
chars
, incReadLeftStartPos, incReadLeftEndPos - incReadLeftStartPos );
2048
stringBuilder.Append( ps.
chars
, ps.charPos, ps.charsUsed - ps.charPos );
2220
return ps.
chars
;
2635
if ( ps.
chars
== null || ps.
chars
.Length < bufferSize + 1 ) {
2690
if ( ps.
chars
== null ) {
2722
str.CopyTo( 0, ps.
chars
, 0, str.Length );
2724
ps.
chars
[len] = (char)0;
3060
ps.bytePos += ps.encoding.GetByteCount( ps.
chars
, 0, ps.charPos );
3084
if ( ps.charsUsed == ps.
chars
.Length - 1 ) {
3090
char[] newChars = new char[ ps.
chars
.Length * 2 ];
3091
BlockCopyChars( ps.
chars
, 0, newChars, 0, ps.
chars
.Length );
3106
charsRead = ps.
chars
.Length - ps.charsUsed - 1;
3112
int charsLen = ps.
chars
.Length;
3124
BlockCopyChars( ps.
chars
, ps.charPos, ps.
chars
, 0, copyCharsCount );
3130
char[] newChars = new char[ ps.
chars
.Length * 2 ];
3131
BlockCopyChars( ps.
chars
, 0, newChars, 0, ps.
chars
.Length );
3150
charsRead = ps.
chars
.Length - ps.charsUsed - 1;
3176
charsRead = ps.textReader.Read( ps.
chars
, ps.charsUsed, ps.
chars
.Length - ps.charsUsed - 1 );
3186
Debug.Assert ( ps.charsUsed < ps.
chars
.Length );
3189
ps.
chars
[ ps.charsUsed ] = (char)0;
3196
Debug.Assert( maxCharsCount <= ps.
chars
.Length - ps.charsUsed - 1 );
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 );
3268
BlockCopyChars( ps.
chars
, sourcePos, ps.
chars
, destPos, count );
3279
if ( !XmlConvert.StrEqual( ps.
chars
, ps.charPos, 5, XmlDeclarationBegining ) ||
3280
xmlCharType.IsNameSingleChar( ps.
chars
[ps.charPos + 5] )
3307
if ( ps.
chars
[ps.charPos] == '?' ) {
3310
if ( ps.
chars
[ps.charPos + 1] == '>' ) {
3365
switch ( ps.
chars
[ps.charPos] ) {
3367
if ( XmlConvert.StrEqual( ps.
chars
, ps.charPos, nameEndPos - ps.charPos, "version" ) && xmlDeclState == 0 ) {
3375
if ( XmlConvert.StrEqual( ps.
chars
, ps.charPos, nameEndPos - ps.charPos, "encoding" ) &&
3385
if ( XmlConvert.StrEqual( ps.
chars
, ps.charPos, nameEndPos - ps.charPos, "standalone" ) &&
3401
sb.Append( ps.
chars
, ps.charPos, nameEndPos - ps.charPos );
3405
if ( ps.
chars
[ps.charPos] != '=' ) {
3407
if ( ps.
chars
[ps.charPos] != '=' ) {
3414
char quoteChar = ps.
chars
[ps.charPos];
3417
quoteChar = ps.
chars
[ps.charPos];
3433
chars = ps.
chars
;
3446
if ( ps.
chars
[pos] == quoteChar ) {
3458
if ( XmlConvert.StrEqual( ps.
chars
, ps.charPos, pos - ps.charPos, "1.0" ) ) {
3461
attr.SetValue( ps.
chars
, ps.charPos, pos - ps.charPos );
3466
string badVersion = new string( ps.
chars
, ps.charPos, pos - ps.charPos );
3471
string encName = new string( ps.
chars
, ps.charPos, pos - ps.charPos );
3479
if ( XmlConvert.StrEqual( ps.
chars
, ps.charPos, pos - ps.charPos, "yes" ) ) {
3482
else if ( XmlConvert.StrEqual( ps.
chars
, ps.charPos, pos - ps.charPos, "no" ) ) {
3490
attr.SetValue( ps.
chars
, ps.charPos, pos - ps.charPos );
3559
char[] chars = ps.
chars
;
3680
chars = ps.
chars
;
3745
chars = ps.
chars
;
3754
char[] chars = ps.
chars
;
3898
char[] chars = ps.
chars
;
3970
chars = ps.
chars
;
4029
chars = ps.
chars
;
4138
char[] chars = ps.
chars
;
4160
chars = ps.
chars
;
4246
args[3] = new string( ps.
chars
, ps.charPos, endPos - ps.charPos );
4258
char[] chars = ps.
chars
;
4424
chars = ps.
chars
;
4429
chars = ps.
chars
;
4495
chars = ps.
chars
;
4521
chars = ps.
chars
;
4653
char[] chars = ps.
chars
;
4823
chars = ps.
chars
;
4853
if ( ps.
chars
[ps.charPos] != (char)0xD ) {
4886
chars = ps.
chars
;
4951
curNode.SetValueNode( nodeType, ps.
chars
, startPos, endPos - startPos );
4960
stringBuilder.Append( ps.
chars
, startPos, endPos - startPos );
4965
stringBuilder.Append( ps.
chars
, startPos, endPos - startPos );
4987
curNode.SetValueNode( XmlNodeType.Text, ps.
chars
, startPos, endPos - startPos );
4995
stringBuilder.Append( ps.
chars
, startPos, endPos - startPos );
5000
stringBuilder.Append( ps.
chars
, startPos, endPos - startPos );
5053
char[] chars = ps.
chars
;
5158
if ( !xmlCharType.IsWhiteSpace(ps.
chars
[pos-1]) ) {
5166
chars = ps.
chars
;
5200
chars = ps.
chars
;
5205
ThrowInvalidChar( ps.
chars
, ps.charsUsed, ps.charPos + offset );
5218
if ( ps.
chars
[ps.charPos] != (char)0xD && ps.
chars
[ps.charPos] != ']') {
5242
chars = ps.
chars
;
5272
stringBuilder.Append( ps.
chars
, startPos, endPos - startPos );
5274
stringBuilder.Append( ps.
chars
, startPos, endPos - startPos );
5380
if ( ps.
chars
[ps.charPos] == '<' || ps.charsUsed - ps.charPos == 0 || ZeroEndingStream( ps.charPos ) ) {
5387
if ( ps.
chars
[ps.charPos] == '<' || ps.charsUsed - ps.charPos == 0 || ZeroEndingStream( ps.charPos ) ) {
5397
if ( xmlCharType.IsCharData( ps.
chars
[ps.charPos] ) ) {
5401
ThrowInvalidChar( ps.
chars
, ps.charsUsed, ps.charPos );
5408
Debug.Assert( ps.
chars
[ps.charPos] == '&' );
5417
Debug.Assert( ps.
chars
[ps.charPos] == '&' );
5426
if ( ps.
chars
[ps.charPos+1] == '#' ) {
5463
if ( ps.
chars
[endPos] != ';' ) {
5468
string entityName = nameTable.Add( ps.
chars
, ps.charPos, endPos - ps.charPos );
5652
string target = nameTable.Add( ps.
chars
, ps.charPos, nameEndPos - ps.charPos );
5669
char ch = ps.
chars
[ps.charPos];
5675
if ( ch != '?' || ps.
chars
[ps.charPos+1] != '>' ) {
5676
Throw( Res.Xml_BadNameChar, XmlException.BuildCharExceptionArgs( ps.
chars
, ps.charsUsed, ps.charPos ) );
5688
curNode.SetValue( ps.
chars
, startPos, endPos - startPos );
5692
piInDtdStringBuilder.Append( ps.
chars
, startPos, endPos - startPos );
5710
sb.Append( ps.
chars
, startPos, endPos - startPos );
5712
sb.Append( ps.
chars
, startPos, endPos - startPos );
5731
char[] chars = ps.
chars
;
5882
curNode.SetValueNode( type, ps.
chars
, startPos, endPos - startPos );
5886
stringBuilder.Append( ps.
chars
, startPos, endPos - startPos );
5888
stringBuilder.Append( ps.
chars
, startPos, endPos - startPos );
5908
char[] chars = ps.
chars
;
6053
if ( !XmlConvert.StrEqual( ps.
chars
, ps.charPos, 7, "DOCTYPE" ) ) {
6056
if ( !xmlCharType.IsWhiteSpace( ps.
chars
[ps.charPos + 7] ) ) {
6118
if ( ps.
chars
[ps.charPos] == 'P' ) {
6126
if ( !XmlConvert.StrEqual( ps.
chars
, ps.charPos, 6, "PUBLIC" ) ) {
6149
else if ( ps.
chars
[ps.charPos] == 'S' ) {
6157
if ( !XmlConvert.StrEqual( ps.
chars
, ps.charPos, 6, "SYSTEM" ) ) {
6172
else if ( ps.
chars
[ps.charPos] != '[' && ps.
chars
[ps.charPos] != '>' ) {
6177
if ( ps.
chars
[ps.charPos] == '[' ) {
6183
if ( ps.
chars
[ps.charPos] != '>' ) {
6187
else if ( ps.
chars
[ps.charPos] == '>' ) {
6198
char quoteChar = ps.
chars
[ps.charPos];
6213
char[] chars = ps.
chars
;
6365
if ( ps.
chars
[ps.charPos] != (char)0xD ) {
6375
chars = ps.
chars
;
6383
char[] chars = ps.
chars
;
6427
sb.Append( ps.
chars
, ps.charPos, tmp2 );
6441
sb.Append( ps.
chars
, ps.charPos, tmp3 );
6451
if ( ps.
chars
[ps.charPos] != (char)0xD ) {
6458
chars = ps.
chars
;
6463
Debug.Assert( ps.
chars
[startPos] == '&' );
6464
if ( ps.
chars
[startPos + 1] == '#' ) {
6489
Debug.Assert( ps.
chars
[ps.charPos] == '&' );
6507
Debug.Assert( ps.
chars
[startPos] == '&' && ps.
chars
[startPos + 1] == '#' );
6515
chars = ps.
chars
;
6575
Throw((ps.
chars
[startPos + 2] == 'x') ? startPos + 3 : startPos + 2, Res.Xml_InvalidCharacter, XmlException.BuildCharExceptionArgs(ch, '\0'));
6580
internalSubsetBuilder.Append( ps.
chars
, ps.charPos, pos - ps.charPos + 1 );
6598
Throw((ps.
chars
[startPos + 2] == 'x') ? startPos + 3 : startPos + 2, Res.Xml_InvalidCharacter, XmlException.BuildCharExceptionArgs(high, low));
6605
internalSubsetBuilder.Append( ps.
chars
, ps.charPos, pos - ps.charPos + 1 );
6632
Debug.Assert( ps.
chars
[ps.charPos] == '&' );
6651
Debug.Assert( ps.
chars
[startPos] == '&' );
6652
Debug.Assert( ps.
chars
[startPos + 1] != '#' );
6655
char[] chars = ps.
chars
;
6744
internalSubsetBuilder.Append( ps.
chars
, ps.charPos, pos - ps.charPos );
6746
ps.
chars
[pos-1] = ch;
6765
char[] chars = ps.
chars
;
6839
chars = ps.
chars
;
6869
if ( ps.
chars
[endPos] != ';' ) {
6873
string entityName = nameTable.Add( ps.
chars
, ps.charPos, endPos - ps.charPos );
6921
string localName = nameTable.Add( ps.
chars
, ps.charPos, endNamePos - ps.charPos );
6928
if ( prefixLen == lastPrefix.Length && XmlConvert.StrEqual( ps.
chars
, startPos, prefixLen, lastPrefix ) ) {
6929
return AddAttribute( nameTable.Add( ps.
chars
, colonPos + 1, endNamePos - colonPos - 1 ),
6934
string prefix = nameTable.Add( ps.
chars
, startPos, prefixLen );
6936
return AddAttribute( nameTable.Add( ps.
chars
, colonPos + 1, endNamePos - colonPos - 1 ),
7352
count = incReadDecoder.Decode( ps.
chars
, incReadLeftStartPos, charsLeft );
7385
Debug.Assert( XmlConvert.StrEqual( ps.
chars
, ps.charPos - 2, 2, "?>" ) );
7392
Debug.Assert( XmlConvert.StrEqual( ps.
chars
, ps.charPos - 3, 3, "-->" ) );
7399
Debug.Assert( XmlConvert.StrEqual( ps.
chars
, ps.charPos - 3, 3, "]]>" ) );
7429
char[] chars = ps.
chars
;
7524
( ps.
chars
[endPos] == '>' || xmlCharType.IsWhiteSpace( ps.
chars
[endPos] ) ) ) {
7532
if ( xmlCharType.IsWhiteSpace( ps.
chars
[endPos] ) ) {
7535
if ( ps.
chars
[ps.charPos] != '>' ) {
7546
chars = ps.
chars
;
7559
if ( XmlConvert.StrEqual( ps.
chars
, ps.charPos + 1, endPos - ps.charPos - 1, curNode.localName ) &&
7560
( ps.
chars
[endPos] == '>' || ps.
chars
[endPos] == '/' || xmlCharType.IsWhiteSpace( ps.
chars
[endPos] ) ) ) {
7568
chars = ps.
chars
;
7633
count = incReadDecoder.Decode( ps.
chars
, startPos, charsParsed );
7687
char[] chars = ps.
chars
;
7742
chars = ps.
chars
;
7761
chars = ps.
chars
;
7808
chars = ps.
chars
;
7866
if ( xmlCharType.IsNCNameSingleChar( ps.
chars
[ps.charPos] ) ) {
7868
while ( xmlCharType.IsNCNameSingleChar( ps.
chars
[pos] ) ) {
7871
return new string( ps.
chars
, ps.charPos, pos - ps.charPos );
7875
return new string( ps.
chars
, ps.charPos, 1 );
7922
if ( v1Compat && pos == ps.charsUsed - 1 && ps.
chars
[pos] == (char)0 && ReadData() == 0 && ps.isStreamEof ) {
8385
charsRead = incReadDecoder.Decode( ps.
chars
, startPos, endPos - startPos );
8397
curNode.SetValue( ps.
chars
, startPos, endPos - startPos );
8399
AdjustLineInfo( ps.
chars
, startPos - charsRead, startPos, ps.eolNormalized, ref incReadLineInfo );
System\Xml\Core\XmlTextReaderImplAsync.cs (129)
665
BlockCopyChars( ps.
chars
, startPos, buffer, ( index + readCount ), copyCount );
685
curNode.SetValue( ps.
chars
, startPos, endPos - startPos );
859
if ( ps.
chars
== null || ps.
chars
.Length < bufferSize + 1 ) {
913
if ( ps.
chars
== null ) {
994
if ( ps.charsUsed == ps.
chars
.Length - 1 ) {
1000
char[] newChars = new char[ ps.
chars
.Length * 2 ];
1001
BlockCopyChars( ps.
chars
, 0, newChars, 0, ps.
chars
.Length );
1016
charsRead = ps.
chars
.Length - ps.charsUsed - 1;
1022
int charsLen = ps.
chars
.Length;
1034
BlockCopyChars( ps.
chars
, ps.charPos, ps.
chars
, 0, copyCharsCount );
1040
char[] newChars = new char[ ps.
chars
.Length * 2 ];
1041
BlockCopyChars( ps.
chars
, 0, newChars, 0, ps.
chars
.Length );
1060
charsRead = ps.
chars
.Length - ps.charsUsed - 1;
1086
charsRead = await ps.textReader.ReadAsync( ps.
chars
, ps.charsUsed, ps.
chars
.Length - ps.charsUsed - 1 ).ConfigureAwait(false);
1096
Debug.Assert ( ps.charsUsed < ps.
chars
.Length );
1099
ps.
chars
[ ps.charsUsed ] = (char)0;
1111
if ( !XmlConvert.StrEqual( ps.
chars
, ps.charPos, 5, XmlDeclarationBegining ) ||
1112
xmlCharType.IsNameSingleChar( ps.
chars
[ps.charPos + 5] )
1139
if ( ps.
chars
[ps.charPos] == '?' ) {
1142
if ( ps.
chars
[ps.charPos + 1] == '>' ) {
1197
switch ( ps.
chars
[ps.charPos] ) {
1199
if ( XmlConvert.StrEqual( ps.
chars
, ps.charPos, nameEndPos - ps.charPos, "version" ) && xmlDeclState == 0 ) {
1207
if ( XmlConvert.StrEqual( ps.
chars
, ps.charPos, nameEndPos - ps.charPos, "encoding" ) &&
1217
if ( XmlConvert.StrEqual( ps.
chars
, ps.charPos, nameEndPos - ps.charPos, "standalone" ) &&
1233
sb.Append( ps.
chars
, ps.charPos, nameEndPos - ps.charPos );
1237
if ( ps.
chars
[ps.charPos] != '=' ) {
1239
if ( ps.
chars
[ps.charPos] != '=' ) {
1246
char quoteChar = ps.
chars
[ps.charPos];
1249
quoteChar = ps.
chars
[ps.charPos];
1265
chars = ps.
chars
;
1279
if ( ps.
chars
[pos] == quoteChar ) {
1291
if ( XmlConvert.StrEqual( ps.
chars
, ps.charPos, pos - ps.charPos, "1.0" ) ) {
1294
attr.SetValue( ps.
chars
, ps.charPos, pos - ps.charPos );
1299
string badVersion = new string( ps.
chars
, ps.charPos, pos - ps.charPos );
1304
string encName = new string( ps.
chars
, ps.charPos, pos - ps.charPos );
1312
if ( XmlConvert.StrEqual( ps.
chars
, ps.charPos, pos - ps.charPos, "yes" ) ) {
1315
else if ( XmlConvert.StrEqual( ps.
chars
, ps.charPos, pos - ps.charPos, "no" ) ) {
1323
attr.SetValue( ps.
chars
, ps.charPos, pos - ps.charPos );
1383
char[] chars = ps.
chars
;
1598
char[] chars = ps.
chars
;
1705
char[] chars = ps.
chars
;
1805
char[] chars = ps.
chars
;
1858
char[] chars = ps.
chars
;
1944
char[] chars = ps.
chars
;
2016
chars = ps.
chars
;
2120
args[3] = new string( ps.
chars
, ps.charPos, endPos - ps.charPos );
2132
char[] chars = ps.
chars
;
2305
chars = ps.
chars
;
2315
chars = ps.
chars
;
2381
chars = ps.
chars
;
2407
chars = ps.
chars
;
2435
char[] chars = ps.
chars
;
2610
chars = ps.
chars
;
2640
if ( ps.
chars
[ps.charPos] != (char)0xD ) {
2673
chars = ps.
chars
;
2733
curNode.SetValueNode(nodeType, ps.
chars
, startPos, endPos - startPos);
2791
curNode.SetValueNode( nodeType, ps.
chars
, startPos, endPos - startPos );
2803
stringBuilder.Append( ps.
chars
, startPos, endPos - startPos );
2814
stringBuilder.Append( ps.
chars
, startPos, endPos - startPos );
2836
curNode.SetValueNode( XmlNodeType.Text, ps.
chars
, startPos, endPos - startPos );
2844
stringBuilder.Append( ps.
chars
, startPos, endPos - startPos );
2856
stringBuilder.Append( ps.
chars
, startPos, endPos - startPos );
2959
Task<Tuple<int, int, int, bool>> task = ParseTextAsync(outOrChars, ps.
chars
, ps.charPos, 0, -1, outOrChars, (char)0);
3176
if (!xmlCharType.IsWhiteSpace(ps.
chars
[pos - 1])) {
3184
chars = ps.
chars
;
3211
chars = ps.
chars
;
3218
ThrowInvalidChar(ps.
chars
, ps.charsUsed, ps.charPos + offset);
3234
if (ps.
chars
[ps.charPos] != (char)0xD && ps.
chars
[ps.charPos] != ']') {
3262
chars = ps.
chars
;
3304
stringBuilder.Append( ps.
chars
, startPos, endPos - startPos );
3312
stringBuilder.Append( ps.
chars
, startPos, endPos - startPos );
3430
if ( ps.
chars
[ps.charPos] == '<' || ps.charsUsed - ps.charPos == 0 || await ZeroEndingStreamAsync( ps.charPos ).ConfigureAwait(false) ) {
3437
if ( ps.
chars
[ps.charPos] == '<' || ps.charsUsed - ps.charPos == 0 || await ZeroEndingStreamAsync( ps.charPos ).ConfigureAwait(false) ) {
3447
if ( xmlCharType.IsCharData( ps.
chars
[ps.charPos] ) ) {
3451
ThrowInvalidChar( ps.
chars
, ps.charsUsed, ps.charPos );
3458
Debug.Assert( ps.
chars
[ps.charPos] == '&' );
3469
Debug.Assert( ps.
chars
[ps.charPos] == '&' );
3478
if ( ps.
chars
[ps.charPos+1] == '#' ) {
3528
if ( ps.
chars
[endPos] != ';' ) {
3533
string entityName = nameTable.Add( ps.
chars
, ps.charPos, endPos - ps.charPos );
3643
string target = nameTable.Add( ps.
chars
, ps.charPos, nameEndPos - ps.charPos );
3660
char ch = ps.
chars
[ps.charPos];
3666
if ( ch != '?' || ps.
chars
[ps.charPos+1] != '>' ) {
3667
Throw( Res.Xml_BadNameChar, XmlException.BuildCharExceptionArgs( ps.
chars
, ps.charsUsed, ps.charPos ) );
3685
curNode.SetValue( ps.
chars
, startPos, endPos - startPos );
3689
piInDtdStringBuilder.Append( ps.
chars
, startPos, endPos - startPos );
3717
sb.Append( ps.
chars
, startPos, endPos - startPos );
3725
sb.Append( ps.
chars
, startPos, endPos - startPos );
3747
char[] chars = ps.
chars
;
3909
curNode.SetValueNode( type, ps.
chars
, startPos, endPos - startPos );
3916
stringBuilder.Append( ps.
chars
, startPos, endPos - startPos );
3924
stringBuilder.Append( ps.
chars
, startPos, endPos - startPos );
3956
char[] chars = ps.
chars
;
4105
if ( !XmlConvert.StrEqual( ps.
chars
, ps.charPos, 7, "DOCTYPE" ) ) {
4108
if ( !xmlCharType.IsWhiteSpace( ps.
chars
[ps.charPos + 7] ) ) {
4175
if ( ps.
chars
[ps.charPos] == 'P' ) {
4183
if ( !XmlConvert.StrEqual( ps.
chars
, ps.charPos, 6, "PUBLIC" ) ) {
4206
else if ( ps.
chars
[ps.charPos] == 'S' ) {
4214
if ( !XmlConvert.StrEqual( ps.
chars
, ps.charPos, 6, "SYSTEM" ) ) {
4229
else if ( ps.
chars
[ps.charPos] != '[' && ps.
chars
[ps.charPos] != '>' ) {
4234
if ( ps.
chars
[ps.charPos] == '[' ) {
4240
if ( ps.
chars
[ps.charPos] != '>' ) {
4244
else if ( ps.
chars
[ps.charPos] == '>' ) {
4255
char quoteChar = ps.
chars
[ps.charPos];
4270
char[] chars = ps.
chars
;
4422
if ( ps.
chars
[ps.charPos] != (char)0xD ) {
4432
chars = ps.
chars
;
4440
char[] chars = ps.
chars
;
4484
sb.Append( ps.
chars
, ps.charPos, tmp2 );
4498
sb.Append( ps.
chars
, ps.charPos, tmp3 );
4508
if ( ps.
chars
[ps.charPos] != (char)0xD ) {
4515
chars = ps.
chars
;
4537
Debug.Assert( ps.
chars
[ps.charPos] == '&' );
4567
Debug.Assert( ps.
chars
[ps.charPos] == '&' );
4598
char[] chars = ps.
chars
;
4687
chars = ps.
chars
;
4722
if ( ps.
chars
[endPos] != ';' ) {
4726
string entityName = nameTable.Add( ps.
chars
, ps.charPos, endPos - ps.charPos );
4877
if ( v1Compat && pos == ps.charsUsed - 1 && ps.
chars
[pos] == (char)0 && await ReadDataAsync().ConfigureAwait(false) == 0 && ps.isStreamEof ) {
5026
charsRead = incReadDecoder.Decode( ps.
chars
, startPos, endPos - startPos );
5038
curNode.SetValue( ps.
chars
, startPos, endPos - startPos );
5040
AdjustLineInfo( ps.
chars
, startPos - charsRead, startPos, ps.eolNormalized, ref incReadLineInfo );