System\Xml\Core\XmlTextReaderImpl.cs (8)
4043switch (HandleEntityReference(false, EntityExpandType.OnlyGeneral, out _))
5207switch (HandleEntityReference(true, EntityExpandType.All, out pos))
5653switch (HandleEntityReference(false, EntityExpandType.All, out pos))
5967private EntityType HandleEntityReference(bool isInAttributeValue, EntityExpandType expandType, out int charRefEndPos)
5984charRefEndPos = ParseNumericCharRef(expandType != EntityExpandType.OnlyGeneral, null, out entityType);
5992charRefEndPos = ParseNamedCharRef(expandType != EntityExpandType.OnlyGeneral, null);
6001if (expandType == EntityExpandType.OnlyCharacter ||
8638switch (HandleEntityReference(true, EntityExpandType.OnlyCharacter, out pos))