System\Xml\Core\XmlTextReaderImpl.cs (8)
4043switch (HandleEntityReference(false, EntityExpandType.OnlyGeneral, out _))
5200switch (HandleEntityReference(true, EntityExpandType.All, out pos))
5646switch (HandleEntityReference(false, EntityExpandType.All, out pos))
5960private EntityType HandleEntityReference(bool isInAttributeValue, EntityExpandType expandType, out int charRefEndPos)
5977charRefEndPos = ParseNumericCharRef(expandType != EntityExpandType.OnlyGeneral, null, out entityType);
5985charRefEndPos = ParseNamedCharRef(expandType != EntityExpandType.OnlyGeneral, null);
5994if (expandType == EntityExpandType.OnlyCharacter ||
8631switch (HandleEntityReference(true, EntityExpandType.OnlyCharacter, out pos))