1 write to charsUsed
System.Xml (1)
System\Xml\Schema\DtdParser.cs (1)
3063
charsUsed
= readerAdapter.ParsingBufferLength;
95 references to charsUsed
System.Xml (95)
System\Xml\Schema\DtdParser.cs (48)
1580
if ( curPos ==
charsUsed
) {
1584
ThrowInvalidChar( chars,
charsUsed
, curPos );
1601
else if ( curPos+1 <
charsUsed
|| readerAdapter.IsEof ) {
1616
if (
charsUsed
- curPos < 2 ) {
1700
if (
charsUsed
- curPos < 9 ) {
1714
if (
charsUsed
- curPos < 8 ) {
1726
if (
charsUsed
- curPos < 4 ) {
1734
if (
charsUsed
- curPos < 9 ) {
1748
if (
charsUsed
- curPos < 10 ) {
1772
if (
charsUsed
- curPos < 4 ) {
1779
if (
charsUsed
- curPos < 3 ) {
1790
if (
charsUsed
- curPos < 2 ) {
1798
if (
charsUsed
- curPos < 2 && !readerAdapter.IsEof ) {
1806
if (
charsUsed
- curPos < 3 && !readerAdapter.IsEof ) {
1815
if (
charsUsed
- curPos == 0 ) {
1823
Throw(
charsUsed
, Res.Xml_IncompleteDtdContent );
1909
if (
charsUsed
- curPos < 5 ) {
1920
if (
charsUsed
- curPos < 3 ) {
1942
while (
charsUsed
- curPos < 7 ) {
2078
if (
charsUsed
- curPos < 5 )
2088
if (
charsUsed
- curPos < 9 )
2111
if (
charsUsed
- curPos < 6 )
2136
if (
charsUsed
- curPos < 8 && !readerAdapter.IsEof ) {
2239
if (
charsUsed
- curPos < 6 )
2243
if (
charsUsed
- curPos < 9 )
2255
if (
charsUsed
- curPos < 8 )
2380
else if ( curPos+1 ==
charsUsed
) {
2422
if ( curPos + 1 ==
charsUsed
) {
2478
if ( curPos ==
charsUsed
) {
2485
if ( curPos + 1 ==
charsUsed
) {
2494
ThrowInvalidChar( chars,
charsUsed
, curPos );
2606
while (
charsUsed
- curPos < 5 ) {
2654
if (
charsUsed
- curPos < 5 ) {
2659
if (
charsUsed
- curPos < 6 ) {
2743
else if ( curPos+1 <
charsUsed
|| readerAdapter.IsEof ) {
2752
if (
charsUsed
- curPos < 3 ) {
2763
if (
charsUsed
- curPos < 3 ) {
2782
if ( curPos ==
charsUsed
) {
2789
if ( curPos + 1 ==
charsUsed
) {
2798
ThrowInvalidChar( chars,
charsUsed
, curPos );
2845
if ( curPos + 1 >=
charsUsed
) {
2852
Throw( curPos, Res.Xml_BadStartNameChar, XmlException.BuildCharExceptionArgs( chars,
charsUsed
, curPos ) );
2895
else if ( curPos ==
charsUsed
2948
if ( curPos <
charsUsed
2954
Throw( curPos, Res.Xml_BadNameChar, XmlException.BuildCharExceptionArgs( chars,
charsUsed
, curPos ) );
2976
while (
charsUsed
- curPos < 6 ) {
2992
while (
charsUsed
- curPos < 6 ) {
3335
Debug.Assert( startPos <
charsUsed
);
System\Xml\Schema\DtdParserAsync.cs (47)
1197
if ( curPos ==
charsUsed
) {
1201
ThrowInvalidChar( chars,
charsUsed
, curPos );
1218
else if ( curPos+1 <
charsUsed
|| readerAdapter.IsEof ) {
1233
if (
charsUsed
- curPos < 2 ) {
1317
if (
charsUsed
- curPos < 9 ) {
1331
if (
charsUsed
- curPos < 8 ) {
1343
if (
charsUsed
- curPos < 4 ) {
1351
if (
charsUsed
- curPos < 9 ) {
1365
if (
charsUsed
- curPos < 10 ) {
1389
if (
charsUsed
- curPos < 4 ) {
1396
if (
charsUsed
- curPos < 3 ) {
1407
if (
charsUsed
- curPos < 2 ) {
1415
if (
charsUsed
- curPos < 2 && !readerAdapter.IsEof ) {
1423
if (
charsUsed
- curPos < 3 && !readerAdapter.IsEof ) {
1432
if (
charsUsed
- curPos == 0 ) {
1440
Throw(
charsUsed
, Res.Xml_IncompleteDtdContent );
1501
if (
charsUsed
- curPos < 5 ) {
1512
if (
charsUsed
- curPos < 3 ) {
1534
while (
charsUsed
- curPos < 7 ) {
1596
if (
charsUsed
- curPos < 5 )
1606
if (
charsUsed
- curPos < 9 )
1629
if (
charsUsed
- curPos < 6 )
1654
if (
charsUsed
- curPos < 8 && !readerAdapter.IsEof ) {
1709
if (
charsUsed
- curPos < 6 )
1713
if (
charsUsed
- curPos < 9 )
1725
if (
charsUsed
- curPos < 8 )
1837
else if ( curPos+1 ==
charsUsed
) {
1879
if ( curPos + 1 ==
charsUsed
) {
1935
if ( curPos ==
charsUsed
) {
1942
if ( curPos + 1 ==
charsUsed
) {
1951
ThrowInvalidChar( chars,
charsUsed
, curPos );
2046
while (
charsUsed
- curPos < 5 ) {
2094
if (
charsUsed
- curPos < 5 ) {
2099
if (
charsUsed
- curPos < 6 ) {
2174
else if ( curPos+1 <
charsUsed
|| readerAdapter.IsEof ) {
2183
if (
charsUsed
- curPos < 3 ) {
2194
if (
charsUsed
- curPos < 3 ) {
2213
if ( curPos ==
charsUsed
) {
2220
if ( curPos + 1 ==
charsUsed
) {
2229
ThrowInvalidChar( chars,
charsUsed
, curPos );
2276
if (curPos + 1 >=
charsUsed
) {
2280
Throw(curPos, Res.Xml_BadStartNameChar, XmlException.BuildCharExceptionArgs(chars,
charsUsed
, curPos));
2329
else if ( curPos ==
charsUsed
2381
if ( curPos <
charsUsed
2387
Throw( curPos, Res.Xml_BadNameChar, XmlException.BuildCharExceptionArgs( chars,
charsUsed
, curPos ) );
2409
while (
charsUsed
- curPos < 6 ) {
2425
while (
charsUsed
- curPos < 6 ) {