2 writes to _curNode
System.Data.Common (2)
System\Xml\DataDocumentXPathNavigator.cs (2)
22_curNode = new XPathNodePointer(this, doc, node); 29_curNode = other._curNode.Clone(this);
44 references to _curNode
System.Data.Common (44)
System\Xml\DataDocumentXPathNavigator.cs (44)
29_curNode = other._curNode.Clone(this); 36internal XPathNodePointer CurNode => _curNode; 40public override XPathNodeType NodeType => _curNode.NodeType; 42public override string LocalName => _curNode.LocalName; 44public override string NamespaceURI => _curNode.NamespaceURI; 46public override string Name => _curNode.Name; 48public override string Prefix => _curNode.Prefix; 54XPathNodeType xnt = _curNode.NodeType; 55return xnt == XPathNodeType.Element || xnt == XPathNodeType.Root ? _curNode.InnerText : _curNode.Value!; 59public override string BaseURI => _curNode.BaseURI; 61public override string XmlLang => _curNode.XmlLang; 63public override bool IsEmptyElement => _curNode.IsEmptyElement; 68public override bool HasAttributes => _curNode.AttributeCount > 0; 72if (_curNode.NodeType != XPathNodeType.Element) 77_temp.MoveTo(_curNode); 81public override string GetNamespace(string name) => _curNode.GetNamespace(name); 84_curNode.NodeType != XPathNodeType.Element ? 85false : _curNode.MoveToNamespace(name); 88_curNode.NodeType != XPathNodeType.Element ? 89false : _curNode.MoveToFirstNamespace(namespaceScope); 92_curNode.NodeType != XPathNodeType.Namespace ? 93false : _curNode.MoveToNextNamespace(namespaceScope); 96_curNode.NodeType != XPathNodeType.Element ? 98_curNode.MoveToAttribute(localName, namespaceURI); 101_curNode.NodeType != XPathNodeType.Element ? 103_curNode.MoveToNextAttribute(true); 106_curNode.NodeType != XPathNodeType.Attribute ? 107false : _curNode.MoveToNextAttribute(false); 111_curNode.NodeType == XPathNodeType.Attribute ? 112false : _curNode.MoveToNextSibling(); 115_curNode.NodeType == XPathNodeType.Attribute ? 116false : _curNode.MoveToPreviousSibling(); 119_curNode.NodeType == XPathNodeType.Attribute ? 120false : _curNode.MoveToFirst(); 122public override bool HasChildren => _curNode.HasChildren; 124public override bool MoveToFirstChild() => _curNode.MoveToFirstChild(); 126public override bool MoveToParent() => _curNode.MoveToParent(); 128public override void MoveToRoot() => _curNode.MoveToRoot(); 135if (otherDataDocXPathNav != null && _curNode.MoveTo(otherDataDocXPathNav.CurNode)) 137_doc = _curNode.Document; 153_doc == otherDataDocXPathNav.Document && _curNode.IsSamePosition(otherDataDocXPathNav.CurNode)) 163XmlNode IHasXmlNode.GetNode() => _curNode.Node!; 176_curNode.ComparePosition(otherDataDocXPathNav.CurNode);