3 writes to _rootElementParsed
System.Private.Xml (3)
System\Xml\Core\XmlTextReaderImpl.cs (2)
2154_rootElementParsed = false; 4009_rootElementParsed = true;
System\Xml\Core\XmlTextReaderImplAsync.cs (1)
1571_rootElementParsed = true;
10 references to _rootElementParsed
System.Private.Xml (10)
System\Xml\Core\XmlTextReaderImpl.cs (5)
3997if (_rootElementParsed) 4099if (!_rootElementParsed && _fragmentType == XmlNodeType.Document) 4106_fragmentType = _rootElementParsed ? XmlNodeType.Document : XmlNodeType.Element; 6683ThrowUnexpectedToken((!_rootElementParsed && _dtdInfo == null) ? "DOCTYPE" : "<!--"); 6697if (_rootElementParsed)
System\Xml\Core\XmlTextReaderImplAsync.cs (5)
1559if (_rootElementParsed) 1714if (!_rootElementParsed && _fragmentType == XmlNodeType.Document) 1720_fragmentType = _rootElementParsed ? XmlNodeType.Document : XmlNodeType.Element; 4426ThrowUnexpectedToken((!_rootElementParsed && _dtdInfo == null) ? "DOCTYPE" : "<!--"); 4437if (_rootElementParsed)