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)
833switch (_fragmentType) 838default: Debug.Fail($"Unexpected fragment type {_fragmentType}"); goto case XmlNodeType.None; 3939if (_fragmentType != XmlNodeType.Document) 3950if (_fragmentType == XmlNodeType.None) 3969if (_fragmentType == XmlNodeType.Document || _fragmentType == XmlNodeType.None) 3999if (_fragmentType == XmlNodeType.Document) 4003if (_fragmentType == XmlNodeType.None) 4016if (_fragmentType == XmlNodeType.Document) 4022if (_fragmentType == XmlNodeType.None) 4056if (_fragmentType == XmlNodeType.Document) 4067if (_fragmentType == XmlNodeType.None && _curNode.type == XmlNodeType.Text) 4099if (!_rootElementParsed && _fragmentType == XmlNodeType.Document) 4104if (_fragmentType == XmlNodeType.None) 4242if (_index == 0 && _fragmentType != XmlNodeType.Document) 5321if (_fragmentType == XmlNodeType.Attribute) 8246_nextParsingFunction = (_index > 0 || _fragmentType != XmlNodeType.Document) ? ParsingFunction.ElementContent 8534Debug.Assert(_fragmentType == XmlNodeType.Attribute); 9116return _fragmentType; 9186return _fragmentType == XmlNodeType.Element ? ConformanceLevel.Fragment : ConformanceLevel.Document;
System\Xml\Core\XmlTextReaderImplAsync.cs (15)
1510if (_fragmentType != XmlNodeType.Document) 1535if (_fragmentType == XmlNodeType.Document || _fragmentType == XmlNodeType.None) 1561if (_fragmentType == XmlNodeType.Document) 1565if (_fragmentType == XmlNodeType.None) 1587if (_fragmentType == XmlNodeType.Document) 1603if (_fragmentType == XmlNodeType.None) 1614if (_fragmentType == XmlNodeType.Document) 1621if (_fragmentType == XmlNodeType.None) 1659if (_fragmentType == XmlNodeType.None && _curNode.type == XmlNodeType.Text) 1680if (_fragmentType == XmlNodeType.None && _curNode.type == XmlNodeType.Text) 1714if (!_rootElementParsed && _fragmentType == XmlNodeType.Document) 1718if (_fragmentType == XmlNodeType.None) 1839if (_index == 0 && _fragmentType != XmlNodeType.Document) 2836if (_fragmentType == XmlNodeType.Attribute)