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