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);
36
internal XPathNodePointer CurNode =>
_curNode
;
40
public override XPathNodeType NodeType =>
_curNode
.NodeType;
42
public override string LocalName =>
_curNode
.LocalName;
44
public override string NamespaceURI =>
_curNode
.NamespaceURI;
46
public override string Name =>
_curNode
.Name;
48
public override string Prefix =>
_curNode
.Prefix;
54
XPathNodeType xnt =
_curNode
.NodeType;
55
return xnt == XPathNodeType.Element || xnt == XPathNodeType.Root ?
_curNode
.InnerText :
_curNode
.Value!;
59
public override string BaseURI =>
_curNode
.BaseURI;
61
public override string XmlLang =>
_curNode
.XmlLang;
63
public override bool IsEmptyElement =>
_curNode
.IsEmptyElement;
68
public override bool HasAttributes =>
_curNode
.AttributeCount > 0;
72
if (
_curNode
.NodeType != XPathNodeType.Element)
77
_temp.MoveTo(
_curNode
);
81
public override string GetNamespace(string name) =>
_curNode
.GetNamespace(name);
84
_curNode
.NodeType != XPathNodeType.Element ?
85
false :
_curNode
.MoveToNamespace(name);
88
_curNode
.NodeType != XPathNodeType.Element ?
89
false :
_curNode
.MoveToFirstNamespace(namespaceScope);
92
_curNode
.NodeType != XPathNodeType.Namespace ?
93
false :
_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 ?
107
false :
_curNode
.MoveToNextAttribute(false);
111
_curNode
.NodeType == XPathNodeType.Attribute ?
112
false :
_curNode
.MoveToNextSibling();
115
_curNode
.NodeType == XPathNodeType.Attribute ?
116
false :
_curNode
.MoveToPreviousSibling();
119
_curNode
.NodeType == XPathNodeType.Attribute ?
120
false :
_curNode
.MoveToFirst();
122
public override bool HasChildren =>
_curNode
.HasChildren;
124
public override bool MoveToFirstChild() =>
_curNode
.MoveToFirstChild();
126
public override bool MoveToParent() =>
_curNode
.MoveToParent();
128
public override void MoveToRoot() =>
_curNode
.MoveToRoot();
135
if (otherDataDocXPathNav != null &&
_curNode
.MoveTo(otherDataDocXPathNav.CurNode))
137
_doc =
_curNode
.Document;
153
_doc == otherDataDocXPathNav.Document &&
_curNode
.IsSamePosition(otherDataDocXPathNav.CurNode))
163
XmlNode IHasXmlNode.GetNode() =>
_curNode
.Node!;
176
_curNode
.ComparePosition(otherDataDocXPathNav.CurNode);