9 writes to type
System.Private.Xml (9)
System\Xml\Core\XmlTextReaderImpl.cs (4)
4658startTagNode.type = XmlNodeType.EndElement; 6203_curNode.type = XmlNodeType.EndEntity; 8556_curNode.type = XmlNodeType.Attribute; 9140_curNode.type = newNodeType;
System\Xml\Core\XmlTextReaderImplAsync.cs (1)
2259startTagNode.type = XmlNodeType.EndElement;
System\Xml\Core\XmlTextReaderImplHelpers.cs (4)
479this.type = type; 513this.type = type; 521this.type = type; 540this.type = type;
70 references to type
System.Private.Xml (70)
System\Xml\Core\XmlTextReaderImpl.cs (42)
861return _curNode.type; 964return _curNode.type == XmlNodeType.Attribute ? _curNode.quoteChar : '"'; 1182else if (_curNode.type != XmlNodeType.Attribute) 1270Debug.Assert(_curNode.type == XmlNodeType.Element); 1382switch (_curNode.type) 1394Debug.Assert(_curNode.type == XmlNodeType.EndElement); 1424if (_curNode.type != XmlNodeType.Attribute) 1493if (_curNode.type != XmlNodeType.EntityReference) 1620if (!XmlReader.CanReadContentAs(_curNode.type)) 1667if (!XmlReader.CanReadContentAs(_curNode.type)) 1713if (_curNode.type != XmlNodeType.Element) 1760if (_curNode.type != XmlNodeType.Element) 1790if (!XmlReader.HasValueInternal(_curNode.type)) 1792throw new InvalidOperationException(SR.Format(SR.Xml_InvalidReadValueChunk, _curNode.type)); 2221if (_curNode.type != XmlNodeType.Element) 2255if (_curNode.type != XmlNodeType.Element) 2289if (_curNode.type != XmlNodeType.Element) 4084if (_fragmentType == XmlNodeType.None && _curNode.type == XmlNodeType.Text) 4277if (_index == 0 && _curNode.type != XmlNodeType.Element) 4288if (el.type != XmlNodeType.Element) 4469Debug.Assert(_curNode.type == XmlNodeType.Element); 4668if (startTag.type == XmlNodeType.Element) 4683Debug.Assert(startTag.type == XmlNodeType.EntityReference); 4745Debug.Assert(_curNode.type == XmlNodeType.Element); 4753Debug.Assert(_curNode.type == XmlNodeType.Element); 4979Debug.Assert(_curNode.type == XmlNodeType.Element); 4995if (at.type == XmlNodeType.Attribute && at.prefix.Length > 0) 5907if (_curNode.type != XmlNodeType.EndElement) 5909Throw(SR.Xml_InvalidNodeType, _curNode.type.ToString()); 6199Debug.Assert(_curNode.type == XmlNodeType.EntityReference); 7731Debug.Assert(attr.type == XmlNodeType.Attribute); 8554if (_curNode.type == XmlNodeType.None) 8919if (!XmlReader.IsTextualNode(_curNode.type)) 8935Debug.Assert(_curNode.type == XmlNodeType.Element); 8950if (_curNode.type != XmlNodeType.EndElement) 8952Throw(SR.Xml_InvalidNodeType, _curNode.type.ToString()); 8969switch (_curNode.type) 9139Debug.Assert(_curNode.type == XmlNodeType.Whitespace && newNodeType == XmlNodeType.SignificantWhitespace, "Incorrect node type change!"); 9315Debug.Assert(_nodes[_index].type == XmlNodeType.Element); 9333Debug.Assert(_nodes[_index].type == XmlNodeType.Element); 9473if (_curNode.type != XmlNodeType.EndElement) 9475throw 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)); 1659if (_fragmentType == XmlNodeType.None && _curNode.type == XmlNodeType.Text) 1680if (_fragmentType == XmlNodeType.None && _curNode.type == XmlNodeType.Text) 2282if (startTag.type == XmlNodeType.Element) 2299Debug.Assert(startTag.type == XmlNodeType.EntityReference); 2361Debug.Assert(_curNode.type == XmlNodeType.Element); 2369Debug.Assert(_curNode.type == XmlNodeType.Element); 3667if (_curNode.type != XmlNodeType.EndElement) 3669Throw(SR.Xml_InvalidNodeType, _curNode.type.ToString()); 5281if (!XmlReader.IsTextualNode(_curNode.type)) 5297Debug.Assert(_curNode.type == XmlNodeType.Element); 5311if (_curNode.type != XmlNodeType.EndElement) 5313Throw(SR.Xml_InvalidNodeType, _curNode.type.ToString()); 5328switch (_curNode.type) 5465if (_curNode.type != XmlNodeType.EndElement) 5467throw new XmlException(SR.Xml_InvalidNodeType, _curNode.type.ToString(), this as IXmlLineInfo);
System\Xml\Core\XmlTextReaderImplHelpers.cs (4)
413return type == XmlNodeType.Element && _isEmptyOrDefault; 417Debug.Assert(type == XmlNodeType.Element); 426return type == XmlNodeType.Attribute && _isEmptyOrDefault; 430Debug.Assert(type == XmlNodeType.Attribute);