System\Xml\Core\XmlTextReaderImplAsync.cs (42)
1510case EntityType.Unexpanded:
1517case EntityType.CharacterDec:
1518case EntityType.CharacterHex:
1519case EntityType.CharacterNamed:
2532case EntityType.CharacterDec:
2533case EntityType.CharacterHex:
2534case EntityType.CharacterNamed:
2537case EntityType.Unexpanded:
2578case EntityType.ExpandedInAttribute:
3132EntityType entityType;
3142(v1Compat && entityType == EntityType.CharacterDec)) {
3159case EntityType.Unexpanded:
3168case EntityType.CharacterDec:
3170goto case EntityType.CharacterHex;
3174case EntityType.CharacterHex:
3175case EntityType.CharacterNamed:
3466private async Task< Tuple<int, EntityType> > HandleEntityReferenceAsync(bool isInAttributeValue, EntityExpandType expandType) {
3479EntityType entityType;
3486Debug.Assert( entityType == EntityType.CharacterDec || entityType == EntityType.CharacterHex );
3488return new Tuple<int, EntityType>(charRefEndPos, entityType);
3497return new Tuple<int, EntityType>(charRefEndPos, EntityType.CharacterNamed);
3509return new Tuple<int, EntityType>(charRefEndPos, EntityType.Unexpanded);
3523return new Tuple<int, EntityType>(charRefEndPos, EntityType.Skipped);
3537EntityType entType = await HandleGeneralEntityReferenceAsync( entityName, isInAttributeValue, false, entityLinePos ).ConfigureAwait(false);
3541return new Tuple<int, EntityType>(charRefEndPos, entType);
3548private async Task< EntityType > HandleGeneralEntityReferenceAsync( string name, bool isInAttributeValue, bool pushFakeEntityIfNullResolver, int entityStartLinePos ) {
3587return EntityType.Skipped;
3591return EntityType.Skipped;
3598return EntityType.FakeExpanded;
3600return EntityType.Skipped;
3608return (isInAttributeValue && validatingReaderCompatFlag) ? EntityType.ExpandedInAttribute : EntityType.Expanded;
3614return EntityType.Skipped;
3623return ( isInAttributeValue && validatingReaderCompatFlag ) ? EntityType.ExpandedInAttribute : EntityType.Expanded;
4525private async Task< Tuple<EntityType, int> > ParseNumericCharRefAsync(bool expand, BufferBuilder internalSubsetBuilder) {
4526EntityType entityType;
4544return new Tuple<EntityType, int>(entityType, newPos);