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