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);
315
Uri? baseUriOb =
_readerAdapter
.BaseUri;
367
return
_readerAdapter
.EntityStackLength == 0 && _internalSubsetValueSb != null;
501
if (!
_readerAdapter
.PushExternalSubset(_systemId, _publicId))
506
Uri? baseUri =
_readerAdapter
.BaseUri;
519
Debug.Assert(
_readerAdapter
.EntityStackLength == 0 ||
520
(_freeFloatingDtd &&
_readerAdapter
.EntityStackLength == 1));
601
Debug.Assert(
_readerAdapter
.EntityStackLength == 0 ||
602
(_freeFloatingDtd &&
_readerAdapter
.EntityStackLength == 1));
921
DtdValidator.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++;
1577
else if (_curPos + 1 < _charsUsed ||
_readerAdapter
.IsEof)
1586
_readerAdapter
.OnNewLine(_curPos);
1661
if (
_readerAdapter
.IsEof || ReadData() == 0)
1808
if (_charsUsed - _curPos < 2 && !
_readerAdapter
.IsEof)
1818
if (_charsUsed - _curPos < 3 && !
_readerAdapter
.IsEof)
2202
if (_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);
2525
int endPos =
_readerAdapter
.ParseNumericCharRef(SaveInternalSubsetValue ? _internalSubsetValueSb : null);
2528
_readerAdapter
.CurrentPosition = endPos;
2539
int endPos =
_readerAdapter
.ParseNamedCharRef(true, SaveInternalSubsetValue ? _internalSubsetValueSb : null);
2545
_readerAdapter
.CurrentPosition = endPos;
2559
int endPos =
_readerAdapter
.ParseNamedCharRef(false, null);
2612
if (
_readerAdapter
.IsEof || ReadData() == 0)
2872
_readerAdapter
.OnNewLine(_curPos);
2879
else if (_curPos + 1 < _charsUsed ||
_readerAdapter
.IsEof)
2887
_readerAdapter
.OnNewLine(_curPos);
2954
if (
_readerAdapter
.IsEof || ReadData() == 0)
3207
int charsRead =
_readerAdapter
.ReadData();
3214
_chars =
_readerAdapter
.ParsingBuffer;
3215
_charsUsed =
_readerAdapter
.ParsingBufferLength;
3216
_curPos =
_readerAdapter
.CurrentPosition;
3230
int readerCurPos =
_readerAdapter
.CurrentPosition;
3236
_readerAdapter
.CurrentPosition = _curPos;
3273
if (!
_readerAdapter
.PushEntity(entity, out newEntityId))
3286
if (!
_readerAdapter
.PushEntity(entity, out newEntityId))
3308
if (!
_readerAdapter
.PopEntity(out oldEntity, out _currentEntityId))
3424
return
_readerAdapter
.LineNo;
3432
return _curPos -
_readerAdapter
.LineStartPosition;
3440
Uri? tmp =
_readerAdapter
.BaseUri;
3460
Uri? baseUri =
_readerAdapter
.BaseUri;
3461
_readerAdapter
.Throw(new XmlException(res, arg, (int)LineNo, (int)LinePos, baseUri?.ToString()));
3468
Uri? baseUri =
_readerAdapter
.BaseUri;
3469
_readerAdapter
.Throw(new XmlException(res, args, (int)LineNo, (int)LinePos, baseUri?.ToString()));
3475
Uri? baseUri =
_readerAdapter
.BaseUri;
3476
_readerAdapter
.Throw(new XmlException(res, arg, (int)lineNo, (int)linePos, baseUri?.ToString()));
System\Xml\Schema\DtdParserAsync.cs (40)
145
if (!await
_readerAdapter
.PushExternalSubsetAsync(_systemId, _publicId).ConfigureAwait(false))
150
Uri? baseUri =
_readerAdapter
.BaseUri;
163
Debug.Assert(
_readerAdapter
.EntityStackLength == 0 ||
164
(_freeFloatingDtd &&
_readerAdapter
.EntityStackLength == 1));
245
Debug.Assert(
_readerAdapter
.EntityStackLength == 0 ||
246
(_freeFloatingDtd &&
_readerAdapter
.EntityStackLength == 1));
565
DtdValidator.SetDefaultTypedValue(attrDef,
_readerAdapter
);
994
await
_readerAdapter
.ParseCommentAsync(_internalSubsetValueSb).ConfigureAwait(false);
999
await
_readerAdapter
.ParseCommentAsync(null).ConfigureAwait(false);
1022
await
_readerAdapter
.ParsePIAsync(_internalSubsetValueSb).ConfigureAwait(false);
1027
await
_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++;
1204
else if (_curPos + 1 < _charsUsed ||
_readerAdapter
.IsEof)
1213
_readerAdapter
.OnNewLine(_curPos);
1288
if (
_readerAdapter
.IsEof || await ReadDataAsync().ConfigureAwait(false) == 0)
1435
if (_charsUsed - _curPos < 2 && !
_readerAdapter
.IsEof)
1445
if (_charsUsed - _curPos < 3 && !
_readerAdapter
.IsEof)
1717
if (_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);
1971
int endPos = await
_readerAdapter
.ParseNumericCharRefAsync(SaveInternalSubsetValue ? _internalSubsetValueSb : null).ConfigureAwait(false);
1974
_readerAdapter
.CurrentPosition = endPos;
1985
int endPos = await
_readerAdapter
.ParseNamedCharRefAsync(true, SaveInternalSubsetValue ? _internalSubsetValueSb : null).ConfigureAwait(false);
1991
_readerAdapter
.CurrentPosition = endPos;
2005
int endPos = await
_readerAdapter
.ParseNamedCharRefAsync(false, null).ConfigureAwait(false);
2058
if (
_readerAdapter
.IsEof || await ReadDataAsync().ConfigureAwait(false) == 0)
2286
_readerAdapter
.OnNewLine(_curPos);
2293
else if (_curPos + 1 < _charsUsed ||
_readerAdapter
.IsEof)
2301
_readerAdapter
.OnNewLine(_curPos);
2368
if (
_readerAdapter
.IsEof || await ReadDataAsync().ConfigureAwait(false) == 0)
2564
int charsRead = await
_readerAdapter
.ReadDataAsync().ConfigureAwait(false);
2603
var tuple_3 = await
_readerAdapter
.PushEntityAsync(entity).ConfigureAwait(false);
2619
var tuple_4 = await
_readerAdapter
.PushEntityAsync(entity).ConfigureAwait(false);