17 writes to _fragmentType
System.Private.Xml (17)
System\Xml\Core\XmlTextReaderImpl.cs (10)
431
_fragmentType
= XmlNodeType.None;
435
_fragmentType
= XmlNodeType.Element;
439
_fragmentType
= XmlNodeType.Document;
3028
_fragmentType
= fragmentType;
3952
_fragmentType
= XmlNodeType.Element;
3971
_fragmentType
= XmlNodeType.Document;
4005
_fragmentType
= XmlNodeType.Element;
4024
_fragmentType
= XmlNodeType.Element;
4069
_fragmentType
= XmlNodeType.Element;
4106
_fragmentType
= _rootElementParsed ? XmlNodeType.Document : XmlNodeType.Element;
System\Xml\Core\XmlTextReaderImplAsync.cs (7)
1537
_fragmentType
= XmlNodeType.Document;
1567
_fragmentType
= XmlNodeType.Element;
1605
_fragmentType
= XmlNodeType.Element;
1623
_fragmentType
= XmlNodeType.Element;
1661
_fragmentType
= XmlNodeType.Element;
1682
_fragmentType
= XmlNodeType.Element;
1720
_fragmentType
= _rootElementParsed ? XmlNodeType.Document : XmlNodeType.Element;
35 references to _fragmentType
System.Private.Xml (35)
System\Xml\Core\XmlTextReaderImpl.cs (20)
833
switch (
_fragmentType
)
838
default: Debug.Fail($"Unexpected fragment type {
_fragmentType
}"); goto case XmlNodeType.None;
3939
if (
_fragmentType
!= XmlNodeType.Document)
3950
if (
_fragmentType
== XmlNodeType.None)
3969
if (
_fragmentType
== XmlNodeType.Document ||
_fragmentType
== XmlNodeType.None)
3999
if (
_fragmentType
== XmlNodeType.Document)
4003
if (
_fragmentType
== XmlNodeType.None)
4016
if (
_fragmentType
== XmlNodeType.Document)
4022
if (
_fragmentType
== XmlNodeType.None)
4056
if (
_fragmentType
== XmlNodeType.Document)
4067
if (
_fragmentType
== XmlNodeType.None && _curNode.type == XmlNodeType.Text)
4099
if (!_rootElementParsed &&
_fragmentType
== XmlNodeType.Document)
4104
if (
_fragmentType
== XmlNodeType.None)
4242
if (_index == 0 &&
_fragmentType
!= XmlNodeType.Document)
5321
if (
_fragmentType
== XmlNodeType.Attribute)
8246
_nextParsingFunction = (_index > 0 ||
_fragmentType
!= XmlNodeType.Document) ? ParsingFunction.ElementContent
8534
Debug.Assert(
_fragmentType
== XmlNodeType.Attribute);
9116
return
_fragmentType
;
9186
return
_fragmentType
== XmlNodeType.Element ? ConformanceLevel.Fragment : ConformanceLevel.Document;
System\Xml\Core\XmlTextReaderImplAsync.cs (15)
1510
if (
_fragmentType
!= XmlNodeType.Document)
1535
if (
_fragmentType
== XmlNodeType.Document ||
_fragmentType
== XmlNodeType.None)
1561
if (
_fragmentType
== XmlNodeType.Document)
1565
if (
_fragmentType
== XmlNodeType.None)
1587
if (
_fragmentType
== XmlNodeType.Document)
1603
if (
_fragmentType
== XmlNodeType.None)
1614
if (
_fragmentType
== XmlNodeType.Document)
1621
if (
_fragmentType
== XmlNodeType.None)
1659
if (
_fragmentType
== XmlNodeType.None && _curNode.type == XmlNodeType.Text)
1680
if (
_fragmentType
== XmlNodeType.None && _curNode.type == XmlNodeType.Text)
1714
if (!_rootElementParsed &&
_fragmentType
== XmlNodeType.Document)
1718
if (
_fragmentType
== XmlNodeType.None)
1839
if (_index == 0 &&
_fragmentType
!= XmlNodeType.Document)
2836
if (
_fragmentType
== XmlNodeType.Attribute)