3 writes to rootElementParsed
System.Xml (3)
System\Xml\Core\XmlTextReaderImpl.cs (2)
2015
rootElementParsed
= false;
3649
rootElementParsed
= true;
System\Xml\Core\XmlTextReaderImplAsync.cs (1)
1460
rootElementParsed
= true;
10 references to rootElementParsed
System.Xml (10)
System\Xml\Core\XmlTextReaderImpl.cs (5)
3640
if (
rootElementParsed
) {
3733
if ( !
rootElementParsed
&& fragmentType == XmlNodeType.Document ) {
3738
fragmentType =
rootElementParsed
? XmlNodeType.Document : XmlNodeType.Element;
6054
ThrowUnexpectedToken( ( !
rootElementParsed
&& dtdInfo == null ) ? "DOCTYPE" : "<!--" );
6063
if (
rootElementParsed
) {
System\Xml\Core\XmlTextReaderImplAsync.cs (5)
1451
if (
rootElementParsed
) {
1582
if (!
rootElementParsed
&& fragmentType == XmlNodeType.Document) {
1586
fragmentType =
rootElementParsed
? XmlNodeType.Document : XmlNodeType.Element;
4106
ThrowUnexpectedToken( ( !
rootElementParsed
&& dtdInfo == null ) ? "DOCTYPE" : "<!--" );
4115
if (
rootElementParsed
) {