1 write to readerAdapter
System.Xml (1)
System\Xml\Schema\DtdParser.cs (1)
248
this.
readerAdapter
= readerAdapter;
90 references to readerAdapter
System.Xml (90)
System\Xml\Schema\DtdParser.cs (54)
320
readerAdapter
.PushInternalDtd( baseUri, internalSubset );
324
Uri baseUriOb =
readerAdapter
.BaseUri;
367
return
readerAdapter
.EntityStackLength == 0 && internalSubsetValueSb != null;
489
if ( !
readerAdapter
.PushExternalSubset( systemId, publicId ) ) {
493
Uri baseUri =
readerAdapter
.BaseUri;
871
DtdValidator.SetDefaultTypedValue( attrDef,
readerAdapter
);
1427
readerAdapter
.ParseComment( internalSubsetValueSb );
1431
readerAdapter
.ParseComment( null );
1450
readerAdapter
.ParsePI( internalSubsetValueSb );
1454
readerAdapter
.ParsePI( null );
1529
readerAdapter
.OnSystemId( systemId, keywordLineInfo, literalLineInfo );
1544
readerAdapter
.OnPublicId( publicId, keywordLineInfo, literalLineInfo );
1552
readerAdapter
.OnSystemId( systemId, keywordLineInfo, literalLineInfo );
1590
readerAdapter
.OnNewLine( curPos );
1597
readerAdapter
.CurrentPosition++;
1601
else if ( curPos+1 < charsUsed ||
readerAdapter
.IsEof ) {
1608
readerAdapter
.OnNewLine( curPos );
1677
if (
readerAdapter
.IsEof || ReadData() == 0 ) {
1798
if ( charsUsed - curPos < 2 && !
readerAdapter
.IsEof ) {
1806
if ( charsUsed - curPos < 3 && !
readerAdapter
.IsEof ) {
2136
if ( charsUsed - curPos < 8 && !
readerAdapter
.IsEof ) {
2362
readerAdapter
.OnNewLine( curPos );
2368
stringBuilder.Append(
readerAdapter
.IsEntityEolNormalized ? "\u0020\u0020" : "\u0020" ); // CDATA normalization of 0xD 0xA
2371
stringBuilder.Append(
readerAdapter
.IsEntityEolNormalized ? "\u000D\u000A" : "\u000A" ); // EOL normalization of 0xD 0xA
2376
readerAdapter
.CurrentPosition++;
2390
readerAdapter
.OnNewLine( curPos );
2428
int endPos =
readerAdapter
.ParseNumericCharRef( SaveInternalSubsetValue ? internalSubsetValueSb : null );
2431
readerAdapter
.CurrentPosition = endPos;
2440
int endPos =
readerAdapter
.ParseNamedCharRef( true, SaveInternalSubsetValue ? internalSubsetValueSb : null );
2445
readerAdapter
.CurrentPosition = endPos;
2457
int endPos =
readerAdapter
.ParseNamedCharRef( false, null );
2503
if (
readerAdapter
.IsEof || ReadData() == 0 ) {
2737
readerAdapter
.OnNewLine( curPos );
2743
else if ( curPos+1 < charsUsed ||
readerAdapter
.IsEof ) {
2749
readerAdapter
.OnNewLine( curPos );
2805
if (
readerAdapter
.IsEof || ReadData() == 0 ) {
3056
int charsRead =
readerAdapter
.ReadData();
3062
chars =
readerAdapter
.ParsingBuffer;
3063
charsUsed =
readerAdapter
.ParsingBufferLength;
3064
curPos =
readerAdapter
.CurrentPosition;
3075
int readerCurPos =
readerAdapter
.CurrentPosition;
3080
readerAdapter
.CurrentPosition = curPos;
3113
if ( !
readerAdapter
.PushEntity( entity, out newEntityId ) ) {
3124
if ( !
readerAdapter
.PushEntity( entity, out newEntityId ) ) {
3144
if ( !
readerAdapter
.PopEntity( out oldEntity, out currentEntityId ) ) {
3245
return
readerAdapter
.LineNo;
3251
return curPos -
readerAdapter
.LineStartPosition;
3257
Uri tmp =
readerAdapter
.BaseUri;
3273
Uri baseUri =
readerAdapter
.BaseUri;
3274
readerAdapter
.Throw( new XmlException( res, arg, (int)LineNo, (int)LinePos, baseUri == null ? null : baseUri.ToString() ) );
3278
Uri baseUri =
readerAdapter
.BaseUri;
3279
readerAdapter
.Throw( new XmlException( res, args, (int)LineNo, (int)LinePos, baseUri == null ? null : baseUri.ToString() ) );
3283
Uri baseUri =
readerAdapter
.BaseUri;
3284
readerAdapter
.Throw( new XmlException( res, arg, (int)lineNo, (int)linePos, baseUri == null ? null : baseUri.ToString() ) );
System\Xml\Schema\DtdParserAsync.cs (36)
134
if ( !await
readerAdapter
.PushExternalSubsetAsync( systemId, publicId ).ConfigureAwait(false) ) {
138
Uri baseUri =
readerAdapter
.BaseUri;
516
DtdValidator.SetDefaultTypedValue( attrDef,
readerAdapter
);
1038
await
readerAdapter
.ParseCommentAsync( internalSubsetValueSb ).ConfigureAwait(false);
1042
await
readerAdapter
.ParseCommentAsync( null ).ConfigureAwait(false);
1061
await
readerAdapter
.ParsePIAsync( internalSubsetValueSb ).ConfigureAwait(false);
1065
await
readerAdapter
.ParsePIAsync( null ).ConfigureAwait(false);
1143
readerAdapter
.OnSystemId( systemId, keywordLineInfo, literalLineInfo );
1158
readerAdapter
.OnPublicId( publicId, keywordLineInfo, literalLineInfo );
1166
readerAdapter
.OnSystemId( systemId, keywordLineInfo, literalLineInfo );
1207
readerAdapter
.OnNewLine( curPos );
1214
readerAdapter
.CurrentPosition++;
1218
else if ( curPos+1 < charsUsed ||
readerAdapter
.IsEof ) {
1225
readerAdapter
.OnNewLine( curPos );
1294
if (
readerAdapter
.IsEof || await ReadDataAsync().ConfigureAwait(false) == 0 ) {
1415
if ( charsUsed - curPos < 2 && !
readerAdapter
.IsEof ) {
1423
if ( charsUsed - curPos < 3 && !
readerAdapter
.IsEof ) {
1654
if ( charsUsed - curPos < 8 && !
readerAdapter
.IsEof ) {
1819
readerAdapter
.OnNewLine( curPos );
1825
stringBuilder.Append(
readerAdapter
.IsEntityEolNormalized ? "\u0020\u0020" : "\u0020" ); // CDATA normalization of 0xD 0xA
1828
stringBuilder.Append(
readerAdapter
.IsEntityEolNormalized ? "\u000D\u000A" : "\u000A" ); // EOL normalization of 0xD 0xA
1833
readerAdapter
.CurrentPosition++;
1847
readerAdapter
.OnNewLine( curPos );
1885
int endPos = await
readerAdapter
.ParseNumericCharRefAsync( SaveInternalSubsetValue ? internalSubsetValueSb : null ).ConfigureAwait(false);
1888
readerAdapter
.CurrentPosition = endPos;
1897
int endPos = await
readerAdapter
.ParseNamedCharRefAsync( true, SaveInternalSubsetValue ? internalSubsetValueSb : null ).ConfigureAwait(false);
1902
readerAdapter
.CurrentPosition = endPos;
1914
int endPos = await
readerAdapter
.ParseNamedCharRefAsync( false, null ).ConfigureAwait(false);
1960
if (
readerAdapter
.IsEof || await ReadDataAsync().ConfigureAwait(false) == 0 ) {
2168
readerAdapter
.OnNewLine( curPos );
2174
else if ( curPos+1 < charsUsed ||
readerAdapter
.IsEof ) {
2180
readerAdapter
.OnNewLine( curPos );
2236
if (
readerAdapter
.IsEof || await ReadDataAsync().ConfigureAwait(false) == 0 ) {
2444
int charsRead = await
readerAdapter
.ReadDataAsync().ConfigureAwait(false);
2479
var tuple_3 = await
readerAdapter
.PushEntityAsync( entity).ConfigureAwait(false);
2493
var tuple_4 = await
readerAdapter
.PushEntityAsync( entity).ConfigureAwait(false);