System\Xml\Core\XmlTextReaderImpl.cs (8)
4026switch (HandleEntityReference(false, EntityExpandType.OnlyGeneral, out _))
5190switch (HandleEntityReference(true, EntityExpandType.All, out pos))
5636switch (HandleEntityReference(false, EntityExpandType.All, out pos))
5950private EntityType HandleEntityReference(bool isInAttributeValue, EntityExpandType expandType, out int charRefEndPos)
5967charRefEndPos = ParseNumericCharRef(expandType != EntityExpandType.OnlyGeneral, null, out entityType);
5975charRefEndPos = ParseNamedCharRef(expandType != EntityExpandType.OnlyGeneral, null);
5984if (expandType == EntityExpandType.OnlyCharacter ||
8621switch (HandleEntityReference(true, EntityExpandType.OnlyCharacter, out pos))