31 references to LiteralType
System.Xml (31)
System\Xml\Schema\DtdParser.cs (16)
2235
ScanLiteral(
LiteralType
.AttributeValue );
2293
ScanLiteral(
LiteralType
.AttributeValue );
2302
private Token ScanLiteral(
LiteralType
literalType ) {
2306
char replaceChar = ( literalType ==
LiteralType
.AttributeValue ) ? (char)0x20 : (char)0xA;
2367
if ( literalType ==
LiteralType
.AttributeValue ) {
2394
if ( literalType ==
LiteralType
.AttributeValue && Normalize ) {
2402
if ( literalType ==
LiteralType
.AttributeValue ) {
2409
if ( literalType !=
LiteralType
.EntityReplText ) {
2413
HandleEntityReference( true, true, literalType ==
LiteralType
.AttributeValue );
2418
if ( literalType ==
LiteralType
.SystemOrPublicID ) {
2439
if ( literalType ==
LiteralType
.AttributeValue ) {
2504
if ( literalType ==
LiteralType
.SystemOrPublicID || !HandleEntityEnd( true ) ) {
2556
ScanLiteral(
LiteralType
.SystemOrPublicID );
2595
ScanLiteral(
LiteralType
.EntityReplText );
2629
ScanLiteral(
LiteralType
.SystemOrPublicID );
2641
ScanLiteral(
LiteralType
.SystemOrPublicID );
System\Xml\Schema\DtdParserAsync.cs (15)
1705
await ScanLiteralAsync(
LiteralType
.AttributeValue ).ConfigureAwait(false);
1759
private async Task< Token > ScanLiteralAsync(
LiteralType
literalType ) {
1763
char replaceChar = ( literalType ==
LiteralType
.AttributeValue ) ? (char)0x20 : (char)0xA;
1824
if ( literalType ==
LiteralType
.AttributeValue ) {
1851
if ( literalType ==
LiteralType
.AttributeValue && Normalize ) {
1859
if ( literalType ==
LiteralType
.AttributeValue ) {
1866
if ( literalType !=
LiteralType
.EntityReplText ) {
1870
await HandleEntityReferenceAsync( true, true, literalType ==
LiteralType
.AttributeValue ).ConfigureAwait(false);
1875
if ( literalType ==
LiteralType
.SystemOrPublicID ) {
1896
if ( literalType ==
LiteralType
.AttributeValue ) {
1961
if ( literalType ==
LiteralType
.SystemOrPublicID || !HandleEntityEnd( true ) ) {
1996
await ScanLiteralAsync(
LiteralType
.SystemOrPublicID ).ConfigureAwait(false);
2035
await ScanLiteralAsync(
LiteralType
.EntityReplText ).ConfigureAwait(false);
2069
await ScanLiteralAsync(
LiteralType
.SystemOrPublicID ).ConfigureAwait(false);
2081
await ScanLiteralAsync(
LiteralType
.SystemOrPublicID ).ConfigureAwait(false);