31 references to LiteralType
System.Private.Xml (31)
System\Xml\Schema\DtdParser.cs (16)
2317
ScanLiteral(
LiteralType
.AttributeValue);
2382
ScanLiteral(
LiteralType
.AttributeValue);
2391
private Token ScanLiteral(
LiteralType
literalType)
2396
char replaceChar = (literalType ==
LiteralType
.AttributeValue) ? (char)0x20 : (char)0xA;
2453
if (literalType ==
LiteralType
.AttributeValue)
2485
if (literalType ==
LiteralType
.AttributeValue && Normalize)
2494
if (literalType ==
LiteralType
.AttributeValue)
2502
if (literalType !=
LiteralType
.EntityReplText)
2507
HandleEntityReference(true, true, literalType ==
LiteralType
.AttributeValue);
2512
if (literalType ==
LiteralType
.SystemOrPublicID)
2537
if (literalType ==
LiteralType
.AttributeValue)
2614
if (literalType ==
LiteralType
.SystemOrPublicID || !HandleEntityEnd(true))
2677
ScanLiteral(
LiteralType
.SystemOrPublicID);
2723
ScanLiteral(
LiteralType
.EntityReplText);
2764
ScanLiteral(
LiteralType
.SystemOrPublicID);
2778
ScanLiteral(
LiteralType
.SystemOrPublicID);
System\Xml\Schema\DtdParserAsync.cs (15)
1778
await ScanLiteralAsync(
LiteralType
.AttributeValue).ConfigureAwait(false);
1837
private async Task<Token> ScanLiteralAsync(
LiteralType
literalType)
1842
char replaceChar = (literalType ==
LiteralType
.AttributeValue) ? (char)0x20 : (char)0xA;
1899
if (literalType ==
LiteralType
.AttributeValue)
1931
if (literalType ==
LiteralType
.AttributeValue && Normalize)
1940
if (literalType ==
LiteralType
.AttributeValue)
1948
if (literalType !=
LiteralType
.EntityReplText)
1953
await HandleEntityReferenceAsync(true, true, literalType ==
LiteralType
.AttributeValue).ConfigureAwait(false);
1958
if (literalType ==
LiteralType
.SystemOrPublicID)
1983
if (literalType ==
LiteralType
.AttributeValue)
2060
if (literalType ==
LiteralType
.SystemOrPublicID || !HandleEntityEnd(true))
2102
await ScanLiteralAsync(
LiteralType
.SystemOrPublicID).ConfigureAwait(false);
2148
await ScanLiteralAsync(
LiteralType
.EntityReplText).ConfigureAwait(false);
2189
await ScanLiteralAsync(
LiteralType
.SystemOrPublicID).ConfigureAwait(false);
2203
await ScanLiteralAsync(
LiteralType
.SystemOrPublicID).ConfigureAwait(false);