17 writes to fragmentType
System.Xml (17)
System\Xml\Core\XmlTextReaderImpl.cs (10)
470
fragmentType
= XmlNodeType.None;
476
fragmentType
= XmlNodeType.Element;
482
fragmentType
= XmlNodeType.Document;
2787
this.
fragmentType
= fragmentType;
3603
fragmentType
= XmlNodeType.Element;
3618
fragmentType
= XmlNodeType.Document;
3645
fragmentType
= XmlNodeType.Element;
3660
fragmentType
= XmlNodeType.Element;
3700
fragmentType
= XmlNodeType.Element;
3738
fragmentType
= rootElementParsed ? XmlNodeType.Document : XmlNodeType.Element;
System\Xml\Core\XmlTextReaderImplAsync.cs (7)
1432
fragmentType
= XmlNodeType.Document;
1456
fragmentType
= XmlNodeType.Element;
1487
fragmentType
= XmlNodeType.Element;
1502
fragmentType
= XmlNodeType.Element;
1536
fragmentType
= XmlNodeType.Element;
1552
fragmentType
= XmlNodeType.Element;
1586
fragmentType
= rootElementParsed ? XmlNodeType.Document : XmlNodeType.Element;
34 references to fragmentType
System.Xml (34)
System\Xml\Core\XmlTextReaderImpl.cs (19)
842
switch (
fragmentType
) {
3594
if (
fragmentType
!= XmlNodeType.Document ) {
3602
if (
fragmentType
== XmlNodeType.None ) {
3617
if (
fragmentType
== XmlNodeType.Document ||
fragmentType
== XmlNodeType.None ) {
3641
if (
fragmentType
== XmlNodeType.Document ) {
3644
if (
fragmentType
== XmlNodeType.None ) {
3655
if (
fragmentType
== XmlNodeType.Document ) {
3659
if (
fragmentType
== XmlNodeType.None ) {
3692
if (
fragmentType
== XmlNodeType.Document ) {
3699
if (
fragmentType
== XmlNodeType.None && curNode.type == XmlNodeType.Text ) {
3733
if ( !rootElementParsed &&
fragmentType
== XmlNodeType.Document ) {
3737
if (
fragmentType
== XmlNodeType.None ) {
3853
if ( index == 0 &&
fragmentType
!= XmlNodeType.Document ) {
4861
if (
fragmentType
== XmlNodeType.Attribute ) {
7406
nextParsingFunction = ( index > 0 ||
fragmentType
!= XmlNodeType.Document ) ? ParsingFunction.ElementContent
7659
Debug.Assert(
fragmentType
== XmlNodeType.Attribute );
8143
return
fragmentType
;
8198
return
fragmentType
== XmlNodeType.Element ? ConformanceLevel.Fragment : ConformanceLevel.Document;
System\Xml\Core\XmlTextReaderImplAsync.cs (15)
1412
if (
fragmentType
!= XmlNodeType.Document) {
1431
if (
fragmentType
== XmlNodeType.Document ||
fragmentType
== XmlNodeType.None) {
1452
if (
fragmentType
== XmlNodeType.Document) {
1455
if (
fragmentType
== XmlNodeType.None) {
1473
if (
fragmentType
== XmlNodeType.Document) {
1486
if (
fragmentType
== XmlNodeType.None) {
1496
if (
fragmentType
== XmlNodeType.Document) {
1501
if (
fragmentType
== XmlNodeType.None) {
1535
if (
fragmentType
== XmlNodeType.None && curNode.type == XmlNodeType.Text) {
1551
if (
fragmentType
== XmlNodeType.None && curNode.type == XmlNodeType.Text) {
1582
if (!rootElementParsed &&
fragmentType
== XmlNodeType.Document) {
1585
if (
fragmentType
== XmlNodeType.None) {
1684
if (index == 0 &&
fragmentType
!= XmlNodeType.Document) {
2648
if (
fragmentType
== XmlNodeType.Attribute ) {