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)
1529
if (_ps.charsUsed - _ps.charPos == 0 && !_ps.
entity
!.IsExternal)
2020
if (_ps.
entity
== null || _ps.
entity
.IsExternal)
2514
if (e.ResString == SR.Xml_UnexpectedEOF && _ps.
entity
!= null)
2568
oldEntity = _ps.
entity
;
5258
Debug.Assert(_ps.
entity
!= null);
5259
entityChunk.SetNamedNode(XmlNodeType.EntityReference, _ps.
entity
.Name);
6138
_lastEntity = _ps.
entity
; // save last entity for the EndEntity node
8088
if (_ps.
entity
!= null)
8090
_currentEntities!.Remove(_ps.
entity
);
System\Xml\Core\XmlTextReaderImplAsync.cs (2)
786
if (e.ResString == SR.Xml_UnexpectedEOF && _ps.
entity
!= null)
2774
entityChunk.SetNamedNode(XmlNodeType.EntityReference, _ps.
entity
!.Name);