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;