86 references to EntityType
System.Private.Xml (86)
System\Xml\Core\XmlTextReaderImpl.cs (51)
1506case EntityType.ExpandedInAttribute: 1507case EntityType.Expanded: 1513case EntityType.FakeExpanded: 1526case EntityType.ExpandedInAttribute: 1527case EntityType.Expanded: 1538case EntityType.FakeExpanded: 4028case EntityType.Unexpanded: 4035case EntityType.CharacterDec: 4036case EntityType.CharacterHex: 4037case EntityType.CharacterNamed: 5192case EntityType.CharacterDec: 5193case EntityType.CharacterHex: 5194case EntityType.CharacterNamed: 5196case EntityType.Unexpanded: 5240case EntityType.ExpandedInAttribute: 5613EntityType entityType; 5625(_v1Compat && entityType == EntityType.CharacterDec)) 5638case EntityType.Unexpanded: 5644case EntityType.CharacterDec: 5647goto case EntityType.CharacterHex; 5651case EntityType.CharacterHex: 5652case EntityType.CharacterNamed: 5950private EntityType HandleEntityReference(bool isInAttributeValue, EntityExpandType expandType, out int charRefEndPos) 5966EntityType entityType; 5968Debug.Assert(entityType == EntityType.CharacterDec || entityType == EntityType.CharacterHex); 5978return EntityType.CharacterNamed; 5988return EntityType.Unexpanded; 6001return EntityType.Skipped; 6015EntityType entType = HandleGeneralEntityReference(entityName, isInAttributeValue, false, entityLinePos); 6024private EntityType HandleGeneralEntityReference(string name, bool isInAttributeValue, bool pushFakeEntityIfNullResolver, int entityStartLinePos) 6070return EntityType.Skipped; 6075return EntityType.Skipped; 6084return EntityType.FakeExpanded; 6086return EntityType.Skipped; 6092return EntityType.Expanded; 6099return EntityType.Skipped; 6105return (isInAttributeValue && _validatingReaderCompatFlag) ? EntityType.ExpandedInAttribute : EntityType.Expanded; 7156private int ParseCharRefInline(int startPos, out int charCount, out EntityType entityType) 7167entityType = EntityType.CharacterNamed; 7177private int ParseNumericCharRef(bool expand, StringBuilder? internalSubsetBuilder, out EntityType entityType) 7211private int ParseNumericCharRefInline(int startPos, bool expand, StringBuilder? internalSubsetBuilder, out int charCount, out EntityType entityType) 7242entityType = EntityType.CharacterHex; 7253entityType = EntityType.CharacterDec; 7258entityType = EntityType.Skipped; 7265entityType = EntityType.Skipped; 8623case EntityType.CharacterDec: 8624case EntityType.CharacterHex: 8625case EntityType.CharacterNamed: 8632case EntityType.Unexpanded:
System\Xml\Core\XmlTextReaderImplAsync.cs (35)
1631case EntityType.Unexpanded: 1638case EntityType.CharacterDec: 1639case EntityType.CharacterHex: 1640case EntityType.CharacterNamed: 2707case EntityType.CharacterDec: 2708case EntityType.CharacterHex: 2709case EntityType.CharacterNamed: 2712case EntityType.Unexpanded: 2756case EntityType.ExpandedInAttribute: 3354EntityType entityType; 3366(_v1Compat && entityType == EntityType.CharacterDec)) 3386case EntityType.Unexpanded: 3394case EntityType.CharacterDec: 3397goto case EntityType.CharacterHex; 3401case EntityType.CharacterHex: 3402case EntityType.CharacterNamed: 3725private async Task<(int, EntityType)> HandleEntityReferenceAsync(bool isInAttributeValue, EntityExpandType expandType) 3742EntityType entityType; 3749Debug.Assert(entityType == EntityType.CharacterDec || entityType == EntityType.CharacterHex); 3760return (charRefEndPos, EntityType.CharacterNamed); 3771return (charRefEndPos, EntityType.Unexpanded); 3785return (charRefEndPos, EntityType.Skipped); 3799EntityType entType = await HandleGeneralEntityReferenceAsync(entityName, isInAttributeValue, false, entityLinePos).ConfigureAwait(false); 3809private async Task<EntityType> HandleGeneralEntityReferenceAsync(string name, bool isInAttributeValue, bool pushFakeEntityIfNullResolver, int entityStartLinePos) 3855return EntityType.Skipped; 3860return EntityType.Skipped; 3869return EntityType.FakeExpanded; 3871return EntityType.Skipped; 3877return EntityType.Expanded; 3884return EntityType.Skipped; 3890return (isInAttributeValue && _validatingReaderCompatFlag) ? EntityType.ExpandedInAttribute : EntityType.Expanded; 4904private async Task<(EntityType, int)> ParseNumericCharRefAsync(bool expand, StringBuilder? internalSubsetBuilder) 4906EntityType entityType;