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)
59
public XmlNodeType NodeType { get { return
_nodeType
== XmlNodeType.Element && 0 < _currentRecord ? XmlNodeType.Attribute :
_nodeType
; } }
122
while (MoveToNextSibling() &&
_nodeType
== XmlNodeType.Whitespace) ;
125
if (
_nodeType
== XmlNodeType.Element)
348
Debug.Assert(
_nodeType
== XmlNodeType.Element, "To call MoveToFirstChild() XsltInut should be positioned on an Element.");
358
Debug.Assert(
_nodeType
!= XmlNodeType.Element || IsEmptyElement, "On non-empty elements we should call MoveToFirstChild()");
359
if (
_nodeType
== XmlNodeType.Element ||
_nodeType
== XmlNodeType.EndElement)
368
if (
_nodeType
== XmlNodeType.Element && MoveToFirstChild())
441
Debug.Assert(
_nodeType
== XmlNodeType.Text ||
_nodeType
== XmlNodeType.Whitespace ||
_nodeType
== XmlNodeType.SignificantWhitespace);
518
Debug.Assert(
_nodeType
== XmlNodeType.Element, "For MoveToElement() we should be positioned on Element or Attribute");
524
Debug.Assert(
_nodeType
== XmlNodeType.Element, "For MoveToLiteralAttribute() we should be positioned on Element or Attribute");
539
Debug.Assert(
_nodeType
== XmlNodeType.Element, "For MoveToLiteralAttribute() we should be positioned on Element or Attribute");
589
Debug.Assert(
_nodeType
== XmlNodeType.Element ||
_nodeType
== XmlNodeType.EndElement, "Input is positioned on element or attribute");
620
Debug.Assert(
_nodeType
!= XmlNodeType.Element || _attributesRead, "Should first read attributes");
628
Debug.Assert(
_nodeType
!= XmlNodeType.Element || _attributesRead, "Should first read attributes");
637
Debug.Assert(
_nodeType
!= XmlNodeType.Element || _attributesRead, "Should first read attributes");