9 writes to type
System.Private.Xml (9)
System\Xml\Core\XmlTextReaderImpl.cs (4)
4689startTagNode.type = XmlNodeType.EndElement; 6227_curNode.type = XmlNodeType.EndEntity; 8581_curNode.type = XmlNodeType.Attribute; 9165_curNode.type = newNodeType;
System\Xml\Core\XmlTextReaderImplAsync.cs (1)
2289startTagNode.type = XmlNodeType.EndElement;
System\Xml\Core\XmlTextReaderImplHelpers.cs (4)
480this.type = type; 514this.type = type; 522this.type = type; 541this.type = type;
70 references to type
System.Private.Xml (70)
System\Xml\Core\XmlTextReaderImpl.cs (42)
862return _curNode.type; 965return _curNode.type == XmlNodeType.Attribute ? _curNode.quoteChar : '"'; 1183else if (_curNode.type != XmlNodeType.Attribute) 1271Debug.Assert(_curNode.type == XmlNodeType.Element); 1383switch (_curNode.type) 1395Debug.Assert(_curNode.type == XmlNodeType.EndElement); 1425if (_curNode.type != XmlNodeType.Attribute) 1494if (_curNode.type != XmlNodeType.EntityReference) 1621if (!XmlReader.CanReadContentAs(_curNode.type)) 1668if (!XmlReader.CanReadContentAs(_curNode.type)) 1714if (_curNode.type != XmlNodeType.Element) 1761if (_curNode.type != XmlNodeType.Element) 1791if (!XmlReader.HasValueInternal(_curNode.type)) 1793throw new InvalidOperationException(SR.Format(SR.Xml_InvalidReadValueChunk, _curNode.type)); 2222if (_curNode.type != XmlNodeType.Element) 2256if (_curNode.type != XmlNodeType.Element) 2290if (_curNode.type != XmlNodeType.Element) 4115if (_fragmentType == XmlNodeType.None && _curNode.type == XmlNodeType.Text) 4308if (_index == 0 && _curNode.type != XmlNodeType.Element) 4319if (el.type != XmlNodeType.Element) 4500Debug.Assert(_curNode.type == XmlNodeType.Element); 4699if (startTag.type == XmlNodeType.Element) 4714Debug.Assert(startTag.type == XmlNodeType.EntityReference); 4776Debug.Assert(_curNode.type == XmlNodeType.Element); 4784Debug.Assert(_curNode.type == XmlNodeType.Element); 5010Debug.Assert(_curNode.type == XmlNodeType.Element); 5026if (at.type == XmlNodeType.Attribute && at.prefix.Length > 0) 5931if (_curNode.type != XmlNodeType.EndElement) 5933Throw(SR.Xml_InvalidNodeType, _curNode.type.ToString()); 6223Debug.Assert(_curNode.type == XmlNodeType.EntityReference); 7755Debug.Assert(attr.type == XmlNodeType.Attribute); 8579if (_curNode.type == XmlNodeType.None) 8944if (!XmlReader.IsTextualNode(_curNode.type)) 8960Debug.Assert(_curNode.type == XmlNodeType.Element); 8975if (_curNode.type != XmlNodeType.EndElement) 8977Throw(SR.Xml_InvalidNodeType, _curNode.type.ToString()); 8994switch (_curNode.type) 9164Debug.Assert(_curNode.type == XmlNodeType.Whitespace && newNodeType == XmlNodeType.SignificantWhitespace, "Incorrect node type change!"); 9340Debug.Assert(_nodes[_index].type == XmlNodeType.Element); 9358Debug.Assert(_nodes[_index].type == XmlNodeType.Element); 9498if (_curNode.type != XmlNodeType.EndElement) 9500throw new XmlException(SR.Xml_InvalidNodeType, _curNode.type.ToString(), this as IXmlLineInfo);
System\Xml\Core\XmlTextReaderImplAsync.cs (24)
203Debug.Assert(_curNode.type == XmlNodeType.Element); 344switch (_curNode.type) 356Debug.Assert(_curNode.type == XmlNodeType.EndElement); 416if (!XmlReader.CanReadContentAs(_curNode.type)) 472if (!XmlReader.CanReadContentAs(_curNode.type)) 537if (_curNode.type != XmlNodeType.Element) 593if (_curNode.type != XmlNodeType.Element) 615if (!XmlReader.HasValueInternal(_curNode.type)) 617throw new InvalidOperationException(SR.Format(SR.Xml_InvalidReadValueChunk, _curNode.type)); 1689if (_fragmentType == XmlNodeType.None && _curNode.type == XmlNodeType.Text) 1710if (_fragmentType == XmlNodeType.None && _curNode.type == XmlNodeType.Text) 2312if (startTag.type == XmlNodeType.Element) 2329Debug.Assert(startTag.type == XmlNodeType.EntityReference); 2391Debug.Assert(_curNode.type == XmlNodeType.Element); 2399Debug.Assert(_curNode.type == XmlNodeType.Element); 3697if (_curNode.type != XmlNodeType.EndElement) 3699Throw(SR.Xml_InvalidNodeType, _curNode.type.ToString()); 5311if (!XmlReader.IsTextualNode(_curNode.type)) 5327Debug.Assert(_curNode.type == XmlNodeType.Element); 5341if (_curNode.type != XmlNodeType.EndElement) 5343Throw(SR.Xml_InvalidNodeType, _curNode.type.ToString()); 5358switch (_curNode.type) 5495if (_curNode.type != XmlNodeType.EndElement) 5497throw new XmlException(SR.Xml_InvalidNodeType, _curNode.type.ToString(), this as IXmlLineInfo);
System\Xml\Core\XmlTextReaderImplHelpers.cs (4)
414return type == XmlNodeType.Element && _isEmptyOrDefault; 418Debug.Assert(type == XmlNodeType.Element); 427return type == XmlNodeType.Attribute && _isEmptyOrDefault; 431Debug.Assert(type == XmlNodeType.Attribute);