1 write to _readerAdapter
System.Private.Xml (1)
System\Xml\Schema\DtdParser.cs (1)
236_readerAdapter = readerAdapter;
98 references to _readerAdapter
System.Private.Xml (98)
System\Xml\Schema\DtdParser.cs (58)
311_readerAdapter.PushInternalDtd(baseUri, internalSubset); 315Uri? baseUriOb = _readerAdapter.BaseUri; 367return _readerAdapter.EntityStackLength == 0 && _internalSubsetValueSb != null; 501if (!_readerAdapter.PushExternalSubset(_systemId, _publicId)) 506Uri? baseUri = _readerAdapter.BaseUri; 519Debug.Assert(_readerAdapter.EntityStackLength == 0 || 520(_freeFloatingDtd && _readerAdapter.EntityStackLength == 1)); 601Debug.Assert(_readerAdapter.EntityStackLength == 0 || 602(_freeFloatingDtd && _readerAdapter.EntityStackLength == 1)); 921DtdValidator.SetDefaultTypedValue(attrDef, _readerAdapter); 1373_readerAdapter.ParseComment(_internalSubsetValueSb); 1378_readerAdapter.ParseComment(null); 1400_readerAdapter.ParsePI(_internalSubsetValueSb); 1405_readerAdapter.ParsePI(null); 1489_readerAdapter.OnSystemId(systemId, keywordLineInfo, _literalLineInfo); 1507_readerAdapter.OnPublicId(publicId, keywordLineInfo, _literalLineInfo); 1517_readerAdapter.OnSystemId(systemId, keywordLineInfo, _literalLineInfo); 1564_readerAdapter.OnNewLine(_curPos); 1573_readerAdapter.CurrentPosition++; 1577else if (_curPos + 1 < _charsUsed || _readerAdapter.IsEof) 1586_readerAdapter.OnNewLine(_curPos); 1661if (_readerAdapter.IsEof || ReadData() == 0) 1808if (_charsUsed - _curPos < 2 && !_readerAdapter.IsEof) 1818if (_charsUsed - _curPos < 3 && !_readerAdapter.IsEof) 2202if (_charsUsed - _curPos < 8 && !_readerAdapter.IsEof) 2446_readerAdapter.OnNewLine(_curPos); 2455_stringBuilder.Append(_readerAdapter.IsEntityEolNormalized ? "\u0020\u0020" : "\u0020"); // CDATA normalization of 0xD 0xA 2459_stringBuilder.Append(_readerAdapter.IsEntityEolNormalized ? "\u000D\u000A" : "\u000A"); // EOL normalization of 0xD 0xA 2464_readerAdapter.CurrentPosition++; 2481_readerAdapter.OnNewLine(_curPos); 2525int endPos = _readerAdapter.ParseNumericCharRef(SaveInternalSubsetValue ? _internalSubsetValueSb : null); 2528_readerAdapter.CurrentPosition = endPos; 2539int endPos = _readerAdapter.ParseNamedCharRef(true, SaveInternalSubsetValue ? _internalSubsetValueSb : null); 2545_readerAdapter.CurrentPosition = endPos; 2559int endPos = _readerAdapter.ParseNamedCharRef(false, null); 2612if (_readerAdapter.IsEof || ReadData() == 0) 2872_readerAdapter.OnNewLine(_curPos); 2879else if (_curPos + 1 < _charsUsed || _readerAdapter.IsEof) 2887_readerAdapter.OnNewLine(_curPos); 2954if (_readerAdapter.IsEof || ReadData() == 0) 3207int charsRead = _readerAdapter.ReadData(); 3214_chars = _readerAdapter.ParsingBuffer; 3215_charsUsed = _readerAdapter.ParsingBufferLength; 3216_curPos = _readerAdapter.CurrentPosition; 3230int readerCurPos = _readerAdapter.CurrentPosition; 3236_readerAdapter.CurrentPosition = _curPos; 3273if (!_readerAdapter.PushEntity(entity, out newEntityId)) 3286if (!_readerAdapter.PushEntity(entity, out newEntityId)) 3308if (!_readerAdapter.PopEntity(out oldEntity, out _currentEntityId)) 3424return _readerAdapter.LineNo; 3432return _curPos - _readerAdapter.LineStartPosition; 3440Uri? tmp = _readerAdapter.BaseUri; 3460Uri? baseUri = _readerAdapter.BaseUri; 3461_readerAdapter.Throw(new XmlException(res, arg, (int)LineNo, (int)LinePos, baseUri?.ToString())); 3468Uri? baseUri = _readerAdapter.BaseUri; 3469_readerAdapter.Throw(new XmlException(res, args, (int)LineNo, (int)LinePos, baseUri?.ToString())); 3475Uri? baseUri = _readerAdapter.BaseUri; 3476_readerAdapter.Throw(new XmlException(res, arg, (int)lineNo, (int)linePos, baseUri?.ToString()));
System\Xml\Schema\DtdParserAsync.cs (40)
145if (!await _readerAdapter.PushExternalSubsetAsync(_systemId, _publicId).ConfigureAwait(false)) 150Uri? baseUri = _readerAdapter.BaseUri; 163Debug.Assert(_readerAdapter.EntityStackLength == 0 || 164(_freeFloatingDtd && _readerAdapter.EntityStackLength == 1)); 245Debug.Assert(_readerAdapter.EntityStackLength == 0 || 246(_freeFloatingDtd && _readerAdapter.EntityStackLength == 1)); 565DtdValidator.SetDefaultTypedValue(attrDef, _readerAdapter); 994await _readerAdapter.ParseCommentAsync(_internalSubsetValueSb).ConfigureAwait(false); 999await _readerAdapter.ParseCommentAsync(null).ConfigureAwait(false); 1022await _readerAdapter.ParsePIAsync(_internalSubsetValueSb).ConfigureAwait(false); 1027await _readerAdapter.ParsePIAsync(null).ConfigureAwait(false); 1114_readerAdapter.OnSystemId(systemId, keywordLineInfo, _literalLineInfo); 1132_readerAdapter.OnPublicId(publicId, keywordLineInfo, _literalLineInfo); 1142_readerAdapter.OnSystemId(systemId, keywordLineInfo, _literalLineInfo); 1191_readerAdapter.OnNewLine(_curPos); 1200_readerAdapter.CurrentPosition++; 1204else if (_curPos + 1 < _charsUsed || _readerAdapter.IsEof) 1213_readerAdapter.OnNewLine(_curPos); 1288if (_readerAdapter.IsEof || await ReadDataAsync().ConfigureAwait(false) == 0) 1435if (_charsUsed - _curPos < 2 && !_readerAdapter.IsEof) 1445if (_charsUsed - _curPos < 3 && !_readerAdapter.IsEof) 1717if (_charsUsed - _curPos < 8 && !_readerAdapter.IsEof) 1892_readerAdapter.OnNewLine(_curPos); 1901_stringBuilder.Append(_readerAdapter.IsEntityEolNormalized ? "\u0020\u0020" : "\u0020"); // CDATA normalization of 0xD 0xA 1905_stringBuilder.Append(_readerAdapter.IsEntityEolNormalized ? "\u000D\u000A" : "\u000A"); // EOL normalization of 0xD 0xA 1910_readerAdapter.CurrentPosition++; 1927_readerAdapter.OnNewLine(_curPos); 1971int endPos = await _readerAdapter.ParseNumericCharRefAsync(SaveInternalSubsetValue ? _internalSubsetValueSb : null).ConfigureAwait(false); 1974_readerAdapter.CurrentPosition = endPos; 1985int endPos = await _readerAdapter.ParseNamedCharRefAsync(true, SaveInternalSubsetValue ? _internalSubsetValueSb : null).ConfigureAwait(false); 1991_readerAdapter.CurrentPosition = endPos; 2005int endPos = await _readerAdapter.ParseNamedCharRefAsync(false, null).ConfigureAwait(false); 2058if (_readerAdapter.IsEof || await ReadDataAsync().ConfigureAwait(false) == 0) 2286_readerAdapter.OnNewLine(_curPos); 2293else if (_curPos + 1 < _charsUsed || _readerAdapter.IsEof) 2301_readerAdapter.OnNewLine(_curPos); 2368if (_readerAdapter.IsEof || await ReadDataAsync().ConfigureAwait(false) == 0) 2564int charsRead = await _readerAdapter.ReadDataAsync().ConfigureAwait(false); 2603var tuple_3 = await _readerAdapter.PushEntityAsync(entity).ConfigureAwait(false); 2619var tuple_4 = await _readerAdapter.PushEntityAsync(entity).ConfigureAwait(false);