1 write to _charsUsed
System.Private.Xml (1)
System\Xml\Schema\DtdParser.cs (1)
3215_charsUsed = _readerAdapter.ParsingBufferLength;
95 references to _charsUsed
System.Private.Xml (95)
System\Xml\Schema\DtdParser.cs (48)
1552if (_curPos == _charsUsed) 1558ThrowInvalidChar(_chars, _charsUsed, _curPos); 1577else if (_curPos + 1 < _charsUsed || _readerAdapter.IsEof) 1594if (_charsUsed - _curPos < 2) 1694if (_charsUsed - _curPos < 9) 1711if (_charsUsed - _curPos < 8) 1726if (_charsUsed - _curPos < 4) 1735if (_charsUsed - _curPos < 9) 1751if (_charsUsed - _curPos < 10) 1779if (_charsUsed - _curPos < 4) 1787if (_charsUsed - _curPos < 3) 1799if (_charsUsed - _curPos < 2) 1808if (_charsUsed - _curPos < 2 && !_readerAdapter.IsEof) 1818if (_charsUsed - _curPos < 3 && !_readerAdapter.IsEof) 1829if (_charsUsed - _curPos == 0) 1839Throw(_charsUsed, SR.Xml_IncompleteDtdContent); 1939if (_charsUsed - _curPos < 5) 1952if (_charsUsed - _curPos < 3) 1979while (_charsUsed - _curPos < 7) 2135if (_charsUsed - _curPos < 5) 2146if (_charsUsed - _curPos < 9) 2172if (_charsUsed - _curPos < 6) 2202if (_charsUsed - _curPos < 8 && !_readerAdapter.IsEof) 2321if (_charsUsed - _curPos < 6) 2326if (_charsUsed - _curPos < 9) 2339if (_charsUsed - _curPos < 8) 2468else if (_curPos + 1 == _charsUsed) 2517if (_curPos + 1 == _charsUsed) 2582if (_curPos == _charsUsed) 2592if (_curPos + 1 == _charsUsed) 2603ThrowInvalidChar(_chars, _charsUsed, _curPos); 2736while (_charsUsed - _curPos < 5) 2794if (_charsUsed - _curPos < 5) 2801if (_charsUsed - _curPos < 6) 2879else if (_curPos + 1 < _charsUsed || _readerAdapter.IsEof) 2890if (_charsUsed - _curPos < 3) 2903if (_charsUsed - _curPos < 3) 2926if (_curPos == _charsUsed) 2936if (_curPos + 1 == _charsUsed) 2947ThrowInvalidChar(_chars, _charsUsed, _curPos); 2989if (_curPos + 1 >= _charsUsed) 2999Throw(_curPos, SR.Xml_BadStartNameChar, XmlException.BuildCharExceptionArgs(_chars, _charsUsed, _curPos)); 3036else if (_curPos == _charsUsed) 3081if (_curPos < _charsUsed) 3085Throw(_curPos, SR.Xml_BadNameChar, XmlException.BuildCharExceptionArgs(_chars, _charsUsed, _curPos)); 3110while (_charsUsed - _curPos < 6) 3129while (_charsUsed - _curPos < 6) 3528Debug.Assert(startPos < _charsUsed);
System\Xml\Schema\DtdParserAsync.cs (47)
1179if (_curPos == _charsUsed) 1185ThrowInvalidChar(_chars, _charsUsed, _curPos); 1204else if (_curPos + 1 < _charsUsed || _readerAdapter.IsEof) 1221if (_charsUsed - _curPos < 2) 1321if (_charsUsed - _curPos < 9) 1338if (_charsUsed - _curPos < 8) 1353if (_charsUsed - _curPos < 4) 1362if (_charsUsed - _curPos < 9) 1378if (_charsUsed - _curPos < 10) 1406if (_charsUsed - _curPos < 4) 1414if (_charsUsed - _curPos < 3) 1426if (_charsUsed - _curPos < 2) 1435if (_charsUsed - _curPos < 2 && !_readerAdapter.IsEof) 1445if (_charsUsed - _curPos < 3 && !_readerAdapter.IsEof) 1456if (_charsUsed - _curPos == 0) 1466Throw(_charsUsed, SR.Xml_IncompleteDtdContent); 1537if (_charsUsed - _curPos < 5) 1550if (_charsUsed - _curPos < 3) 1577while (_charsUsed - _curPos < 7) 1650if (_charsUsed - _curPos < 5) 1661if (_charsUsed - _curPos < 9) 1687if (_charsUsed - _curPos < 6) 1717if (_charsUsed - _curPos < 8 && !_readerAdapter.IsEof) 1782if (_charsUsed - _curPos < 6) 1787if (_charsUsed - _curPos < 9) 1800if (_charsUsed - _curPos < 8) 1914else if (_curPos + 1 == _charsUsed) 1963if (_curPos + 1 == _charsUsed) 2028if (_curPos == _charsUsed) 2038if (_curPos + 1 == _charsUsed) 2049ThrowInvalidChar(_chars, _charsUsed, _curPos); 2161while (_charsUsed - _curPos < 5) 2219if (_charsUsed - _curPos < 5) 2226if (_charsUsed - _curPos < 6) 2293else if (_curPos + 1 < _charsUsed || _readerAdapter.IsEof) 2304if (_charsUsed - _curPos < 3) 2317if (_charsUsed - _curPos < 3) 2340if (_curPos == _charsUsed) 2350if (_curPos + 1 == _charsUsed) 2361ThrowInvalidChar(_chars, _charsUsed, _curPos); 2403if (_curPos + 1 >= _charsUsed) 2413Throw(_curPos, SR.Xml_BadStartNameChar, XmlException.BuildCharExceptionArgs(_chars, _charsUsed, _curPos)); 2449else if (_curPos == _charsUsed) 2494if (_curPos < _charsUsed) 2498Throw(_curPos, SR.Xml_BadNameChar, XmlException.BuildCharExceptionArgs(_chars, _charsUsed, _curPos)); 2523while (_charsUsed - _curPos < 6) 2542while (_charsUsed - _curPos < 6)