4 writes to entity
System.Private.Xml (4)
System\Xml\Core\XmlTextReaderImpl.cs (3)
2595_ps.entity = null; 2622_ps.entity = null; 8073_ps.entity = entity;
System\Xml\Core\XmlTextReaderImplAsync.cs (1)
843_ps.entity = null;
12 references to entity
System.Private.Xml (12)
System\Xml\Core\XmlTextReaderImpl.cs (10)
1529if (_ps.charsUsed - _ps.charPos == 0 && !_ps.entity!.IsExternal) 2020if (_ps.entity == null || _ps.entity.IsExternal) 2514if (e.ResString == SR.Xml_UnexpectedEOF && _ps.entity != null) 2568oldEntity = _ps.entity; 5258Debug.Assert(_ps.entity != null); 5259entityChunk.SetNamedNode(XmlNodeType.EntityReference, _ps.entity.Name); 6138_lastEntity = _ps.entity; // save last entity for the EndEntity node 8088if (_ps.entity != null) 8090_currentEntities!.Remove(_ps.entity);
System\Xml\Core\XmlTextReaderImplAsync.cs (2)
786if (e.ResString == SR.Xml_UnexpectedEOF && _ps.entity != null) 2774entityChunk.SetNamedNode(XmlNodeType.EntityReference, _ps.entity!.Name);