4 writes to _nodeType
System.Private.Xml (4)
System\Xml\Xsl\Xslt\XsltInput.cs (4)
55_nodeType = XmlNodeType.Document; 427_nodeType = ( 472_nodeType = XmlNodeType.EndElement; 492_nodeType = XmlNodeType.Element;
20 references to _nodeType
System.Private.Xml (20)
System\Xml\Xsl\Xslt\XsltInput.cs (20)
59public XmlNodeType NodeType { get { return _nodeType == XmlNodeType.Element && 0 < _currentRecord ? XmlNodeType.Attribute : _nodeType; } } 122while (MoveToNextSibling() && _nodeType == XmlNodeType.Whitespace) ; 125if (_nodeType == XmlNodeType.Element) 348Debug.Assert(_nodeType == XmlNodeType.Element, "To call MoveToFirstChild() XsltInut should be positioned on an Element."); 358Debug.Assert(_nodeType != XmlNodeType.Element || IsEmptyElement, "On non-empty elements we should call MoveToFirstChild()"); 359if (_nodeType == XmlNodeType.Element || _nodeType == XmlNodeType.EndElement) 368if (_nodeType == XmlNodeType.Element && MoveToFirstChild()) 441Debug.Assert(_nodeType == XmlNodeType.Text || _nodeType == XmlNodeType.Whitespace || _nodeType == XmlNodeType.SignificantWhitespace); 518Debug.Assert(_nodeType == XmlNodeType.Element, "For MoveToElement() we should be positioned on Element or Attribute"); 524Debug.Assert(_nodeType == XmlNodeType.Element, "For MoveToLiteralAttribute() we should be positioned on Element or Attribute"); 539Debug.Assert(_nodeType == XmlNodeType.Element, "For MoveToLiteralAttribute() we should be positioned on Element or Attribute"); 589Debug.Assert(_nodeType == XmlNodeType.Element || _nodeType == XmlNodeType.EndElement, "Input is positioned on element or attribute"); 620Debug.Assert(_nodeType != XmlNodeType.Element || _attributesRead, "Should first read attributes"); 628Debug.Assert(_nodeType != XmlNodeType.Element || _attributesRead, "Should first read attributes"); 637Debug.Assert(_nodeType != XmlNodeType.Element || _attributesRead, "Should first read attributes");