4 writes to _nav
System.Private.Xml (4)
System\Xml\XPath\XPathNavigatorReader.cs (4)
117
_nav
= XmlEmptyNavigator.Singleton;
980
_nav
= _navToRead;
1066
_nav
= XmlEmptyNavigator.Singleton;
1077
_nav
= XmlEmptyNavigator.Singleton;
55 references to _nav
System.Private.Xml (55)
System\Xml\XPath\XPathNavigatorReader.cs (55)
73
return
_nav
.UnderlyingObject;
120
_nodeType = XPathNavigatorReader.ToXmlNodeType(
_nav
.NodeType);
147
return
_nav
.GetNamespacesInScope(scope);
152
return
_nav
.LookupNamespace(prefix);
157
return
_nav
.LookupPrefix(namespaceName);
184
return
_nav
.SchemaInfo;
190
get { return
_nav
.ValueType; }
203
if (
_nav
.NodeType == XPathNodeType.Namespace)
208
return
_nav
.NamespaceURI;
217
if (
_nav
.NodeType == XPathNodeType.Namespace &&
_nav
.LocalName.Length == 0)
222
return
_nav
.LocalName;
231
if (
_nav
.NodeType == XPathNodeType.Namespace &&
_nav
.LocalName.Length != 0)
236
return
_nav
.Prefix;
247
return
_nav
.BaseURI;
255
return
_nav
.IsEmptyElement;
263
XPathNavigator tempNav =
_nav
.Clone();
289
return
_nav
.XmlLang;
314
return
_nav
.Value;
325
return
_nav
.Clone();
328
tempNav =
_nav
.Clone();
348
nav =
_nav
.Clone();
352
nav =
_nav
.Clone();
357
nav =
_nav
.Clone();
375
_nav
.MoveTo(nav);
417
XPathNavigator nav =
_nav
;
436
if ((object)nav == (object)
_nav
)
445
if ((object)nav == (object)
_nav
)
464
XPathNavigator nav =
_nav
;
489
if ((object)nav == (object)
_nav
)
637
if (XPathNodeType.Attribute ==
_nav
.NodeType)
638
return
_nav
.MoveToNextAttribute();
641
Debug.Assert(XPathNodeType.Namespace ==
_nav
.NodeType);
642
XPathNavigator nav =
_nav
.Clone();
647
if (nav.IsSamePosition(
_nav
))
654
_nav
.MoveTo(nav);
667
if (nav.IsSamePosition(
_nav
))
669
_nav
.MoveTo(prev);
765
if (!
_nav
.MoveToParent())
954
return
_nav
.LookupNamespace(prefix);
982
if (XPathNodeType.Root ==
_nav
.NodeType)
984
if (!
_nav
.MoveToFirstChild())
991
else if (XPathNodeType.Attribute ==
_nav
.NodeType)
995
_nodeType = ToXmlNodeType(
_nav
.NodeType);
999
if (
_nav
.MoveToFirstChild())
1001
_nodeType = ToXmlNodeType(
_nav
.NodeType);
1006
&& !
_nav
.IsEmptyElement)
1021
else if (
_nav
.MoveToNext())
1023
_nodeType = ToXmlNodeType(
_nav
.NodeType);
1026
else if (_depth > 0 &&
_nav
.MoveToParent())
1028
Debug.Assert(
_nav
.NodeType == XPathNodeType.Element, $"{
_nav
.NodeType} == XPathNodeType.Element");
1042
if (!
_nav
.MoveToParent())
1047
_nodeType = ToXmlNodeType(
_nav
.NodeType);