6 types derived from XPathNavigator
System.Data.Common (1)
System\Xml\DataDocumentXPathNavigator.cs (1)
14internal sealed class DataDocumentXPathNavigator : XPathNavigator, IHasXmlNode
System.Private.Xml (4)
System\Xml\Cache\XPathDocumentNavigator.cs (1)
17internal sealed class XPathDocumentNavigator : XPathNavigator, IXmlLineInfo
System\Xml\Dom\DocumentXPathNavigator.cs (1)
15internal sealed class DocumentXPathNavigator : XPathNavigator, IHasXmlNode
System\Xml\XPath\XPathNavigatorReader.cs (1)
1144internal sealed class XmlEmptyNavigator : XPathNavigator
System\Xml\Xsl\Runtime\RtfNavigator.cs (1)
23internal abstract class RtfNavigator : XPathNavigator
System.Private.Xml.Linq (1)
System\Xml\XPath\XNodeNavigator.cs (1)
11internal sealed class XNodeNavigator : XPathNavigator, IXmlLineInfo
899 references to XPathNavigator
illink (95)
Microsoft.AspNetCore.Grpc.Swagger (7)
Internal\XmlComments\GrpcXmlCommentsDocumentFilter.cs (3)
19private readonly XPathNavigator _xmlNavigator; 56var typeNode = _xmlNavigator.SelectSingleNode(string.Format(CultureInfo.InvariantCulture, MemberXPath, memberName)); 60var summaryNode = typeNode.SelectSingleNode(SummaryTag);
Internal\XmlComments\GrpcXmlCommentsOperationFilter.cs (4)
15private readonly XPathNavigator _xmlNavigator; 73var methodNode = _xmlNavigator.SelectSingleNode($"/doc/members/member[@name='{methodMemberName}']"); 80var summaryNode = methodNode.SelectSingleNode("summary"); 86var remarksNode = methodNode.SelectSingleNode("remarks");
Microsoft.Build.Tasks.Core (2)
XmlPeek.cs (1)
97XPathNavigator nav = xpathdoc.CreateNavigator();
XmlPoke.cs (1)
81XPathNavigator nav = xmlDoc.CreateNavigator();
netstandard (1)
netstandard.cs (1)
2522[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Xml.XPath.XPathNavigator))]
PresentationFramework (14)
System\Windows\Annotations\Storage\XmlStreamStore.cs (14)
142XPathNavigator editor = GetAnnotationNodeForId(newAnnotation.Id); 191XPathNavigator editor = GetAnnotationNodeForId(annotationId); 340XPathNavigator editor = GetAnnotationNodeForId(annotationId); 567XPathNavigator navigator = _document.CreateNavigator(); 573foreach (XPathNavigator node in iterator) 759XPathNavigator navigator = _document.CreateNavigator(); 764_rootNavigator = (XPathNavigator)iterator.Current; 908private XPathNavigator GetAnnotationNodeForId(Guid id) 910XPathNavigator navigator = null; 914XPathNavigator tempNavigator = _document.CreateNavigator(); 925navigator = (XPathNavigator)iterator.Current; 957XPathNavigator editor = GetAnnotationNodeForId(annotation.Id); 960editor = (XPathNavigator)_rootNavigator.CreateNavigator(); 1039private XPathNavigator _rootNavigator;
ReachFramework (2)
PrintConfig\PrintSchemaShim.cs (2)
162XPathNavigator docNavigator = ticket.XmlDoc.DocumentElement.CreateNavigator(); 172XPathNavigator node = docNavigator.SelectSingleNode(xPathString, ticket.NamespaceManager);
System.Data.Common (5)
System\Xml\DataDocumentXPathNavigator.cs (4)
34public override XPathNavigator Clone() => new DataDocumentXPathNavigator(this); 130public override bool MoveTo(XPathNavigator other) 147public override bool IsSamePosition(XPathNavigator other) 165public override XmlNodeOrder ComparePosition(XPathNavigator? other)
System\Xml\XmlDataDocument.cs (1)
2943protected override XPathNavigator? CreateNavigator(XmlNode node)
System.Diagnostics.TextWriterTraceListener (1)
System\Diagnostics\XmlWriterTraceListener.cs (1)
154if (!(data is XPathNavigator xmlBlob))
System.Private.Xml (755)
System\Xml\Cache\XPathDocumentBuilder.cs (1)
668ComputeLineInfo(XPathNavigator.IsText(xptyp), out lineNumOffset, out linePosOffset);
System\Xml\Cache\XPathDocumentIterator.cs (1)
37public override XPathNavigator Current
System\Xml\Cache\XPathDocumentNavigator.cs (7)
147public override XPathNavigator Clone() 469public override bool MoveTo(XPathNavigator other) 511public override bool IsSamePosition(XPathNavigator other) 607public override bool MoveToFollowing(string? localName, string namespaceURI, XPathNavigator? end) 641public override bool MoveToFollowing(XPathNodeType type, XPathNavigator? end) 785public override XmlNodeOrder ComparePosition(XPathNavigator? other) 814public override bool IsDescendant([NotNullWhen(true)] XPathNavigator? other)
System\Xml\Cache\XPathNode.cs (1)
300get { return XPathNavigator.IsText(NodeType); }
System\Xml\Cache\XPathNodeHelper.cs (3)
266mask = XPathNavigator.GetContentKindMask(typ); 298int mask = XPathNavigator.GetContentKindMask(typ); 526int mask = XPathNavigator.GetContentKindMask(typ);
System\Xml\Core\XmlAsyncCheckWriter.cs (2)
326public override void WriteNode(XPathNavigator navigator, bool defattr) 571public override Task WriteNodeAsync(XPathNavigator navigator, bool defattr)
System\Xml\Core\XmlRawWriter.cs (1)
214public override void WriteNode(System.Xml.XPath.XPathNavigator navigator, bool defattr)
System\Xml\Core\XmlRawWriterAsync.cs (1)
158public override Task WriteNodeAsync(System.Xml.XPath.XPathNavigator navigator, bool defattr)
System\Xml\Core\XmlWriter.cs (2)
422public virtual void WriteNode(XPathNavigator navigator, bool defattr) 589private void WriteLocalNamespaces(XPathNavigator nsNav)
System\Xml\Core\XmlWriterAsync.cs (3)
419public virtual Task WriteNodeAsync(XPathNavigator navigator, bool defattr) 424async Task Core(XPathNavigator navigator, bool defattr) 557private async Task WriteLocalNamespacesAsync(XPathNavigator nsNav)
System\Xml\Dom\DocumentXPathNavigator.cs (12)
36public override XPathNavigator Clone() 879public override bool MoveTo(XPathNavigator other) 959public override bool MoveToFollowing(string localName, string namespaceUri, XPathNavigator? end) 1034public override bool MoveToFollowing(XPathNodeType type, XPathNavigator? end) 1213public override bool IsSamePosition(XPathNavigator other) 1226public override bool IsDescendant([NotNullWhen(true)] XPathNavigator? other) 1358public override XmlNodeOrder ComparePosition(XPathNavigator? other) 1595public override XmlWriter ReplaceRange(XPathNavigator lastSiblingToReplace) 1646public override void DeleteRange(XPathNavigator lastSiblingToDelete) 2167private readonly XPathNavigator _nav; 2173public override XPathNavigator Current { get { return _nav; } } 2200public override XPathNavigator Current
System\Xml\Dom\XmlDocument.cs (2)
754public override XPathNavigator? CreateNavigator() 759protected internal virtual XPathNavigator? CreateNavigator(XmlNode node)
System\Xml\Dom\XmlNode.cs (5)
35public virtual XPathNavigator? CreateNavigator() 51if (CreateNavigator() is XPathNavigator navigator) 67XPathNavigator? xn = (this).CreateNavigator(); 81XPathNavigator? n = (this).CreateNavigator(); 93XPathNavigator? xn = (this).CreateNavigator();
System\Xml\Dom\XPathNodeList.cs (1)
36private static XmlNode? GetNode(XPathNavigator n)
System\Xml\Schema\XmlValueConverter.cs (7)
303protected static readonly Type XPathNavigatorArrayType = typeof(XPathNavigator[]); 328protected static readonly Type XPathNavigatorType = typeof(XPathNavigator); 2815if (IsDerivedFrom(sourceType, XPathNavigatorType)) return ((XPathNavigator)value); 2819if (IsDerivedFrom(sourceType, XPathNavigatorType)) return ToNavigator((XPathNavigator)value); 2851private XPathNavigator ToNavigator(XPathNavigator nav) 3003if (itemTypeDst == XPathNavigatorType) return ToArray<XPathNavigator>(value, nsResolver);
System\Xml\XPath\Internal\AbsoluteQuery.cs (2)
23public override XPathNavigator? MatchNode(XPathNavigator? context)
System\Xml\XPath\Internal\AttributeQuery.cs (4)
25public override XPathNavigator? Advance() 58public override XPathNavigator? MatchNode(XPathNavigator? context) 64XPathNavigator temp = context.Clone();
System\Xml\XPath\Internal\BaseAxisQuery.cs (3)
22protected XPathNavigator? currentNode; 75public override XPathNavigator? Current { get { return currentNode; } } 77public virtual bool matches(XPathNavigator e)
System\Xml\XPath\Internal\BooleanFunctions.cs (1)
65Debug.Assert(result is XPathNavigator, "Unknown value type");
System\Xml\XPath\Internal\CacheAxisQuery.cs (5)
13protected List<XPathNavigator> outputBuffer; 17this.outputBuffer = new List<XPathNavigator>(); 22this.outputBuffer = new List<XPathNavigator>(other.outputBuffer); 38public override XPathNavigator? Advance() 48public override XPathNavigator? Current
System\Xml\XPath\Internal\CacheChildrenQuery.cs (6)
8using StackNav = MS.Internal.Xml.XPath.ClonableStack<System.Xml.XPath.XPathNavigator>; 19private XPathNavigator? _nextInput; 24private XPathNavigator? _lastNode; 56public override XPathNavigator? Advance() 123private XPathNavigator? GetNextInput() 125XPathNavigator? result;
System\Xml\XPath\Internal\CacheOutputQuery.cs (5)
16protected List<XPathNavigator> outputBuffer; 21this.outputBuffer = new List<XPathNavigator>(); 27this.outputBuffer = new List<XPathNavigator>(other.outputBuffer); 49public override XPathNavigator? Advance() 59public override XPathNavigator? Current
System\Xml\XPath\Internal\ChildrenQuery.cs (5)
24public override XPathNavigator? Advance() 28XPathNavigator? input = qyInput.Advance(); 55public sealed override XPathNavigator? MatchNode(XPathNavigator? context) 61XPathNavigator temp = context.Clone();
System\Xml\XPath\Internal\CompiledXPathExpr.cs (1)
146public override bool PreserveWhitespace(XPathNavigator node) { return false; }
System\Xml\XPath\Internal\ContextQuery.cs (5)
10protected XPathNavigator? contextNode; 27public override XPathNavigator? Current { get { return contextNode; } } 36public override XPathNavigator? Advance() 46public override XPathNavigator? MatchNode(XPathNavigator? current)
System\Xml\XPath\Internal\DescendantBaseQuery.cs (4)
26public override XPathNavigator? MatchNode(XPathNavigator? context) 34XPathNavigator? result; 45XPathNavigator anc = context.Clone();
System\Xml\XPath\Internal\DescendantoverDescendantQuery.cs (1)
31public override XPathNavigator? Advance()
System\Xml\XPath\Internal\DescendantQuery.cs (2)
27public override XPathNavigator? Advance() 34XPathNavigator? nav = qyInput.Advance();
System\Xml\XPath\Internal\DocumentorderQuery.cs (3)
17XPathNavigator? node; 26public override XPathNavigator? MatchNode(XPathNavigator? context)
System\Xml\XPath\Internal\EmptyQuery.cs (2)
10public override XPathNavigator? Advance() { return null; } 18public override XPathNavigator? Current { get { return null; } }
System\Xml\XPath\Internal\ExtensionQuery.cs (3)
36public override XPathNavigator? Current 52public override XPathNavigator? Advance() 82if (value is XPathNavigator) return value;
System\Xml\XPath\Internal\FilterQuery.cs (8)
51public override XPathNavigator? Advance() 71Debug.Assert(value is XPathNavigator, "Unknown value type"); 75public override XPathNavigator? MatchNode(XPathNavigator? current) 77XPathNavigator? context; 97XPathNavigator result = current.Clone(); 117XPathNavigator result = current.Clone(); 159XPathNavigator? result;
System\Xml\XPath\Internal\FollowingQuery.cs (3)
11private XPathNavigator? _input; 27public override XPathNavigator? Advance() 37XPathNavigator prev;
System\Xml\XPath\Internal\FollSiblingQuery.cs (10)
6using StackNav = MS.Internal.Xml.XPath.ClonableStack<System.Xml.XPath.XPathNavigator>; 13private readonly List<XPathNavigator> _parentStk; 14private XPathNavigator? _nextInput; 19_parentStk = new List<XPathNavigator>(); 24_parentStk = new List<XPathNavigator>(other._parentStk); 36private bool Visited(XPathNavigator nav) 38XPathNavigator parent = nav.Clone(); 51private XPathNavigator? FetchInput() 53XPathNavigator? input; 65public override XPathNavigator? Advance()
System\Xml\XPath\Internal\ForwardPositionQuery.cs (3)
21XPathNavigator? node; 30public override XPathNavigator? MatchNode(XPathNavigator? context)
System\Xml\XPath\Internal\FunctionQuery.cs (3)
96public override XPathNavigator? MatchNode(XPathNavigator? navigator) 103XPathNavigator? nav;
System\Xml\XPath\Internal\GroupQuery.cs (1)
13public override XPathNavigator? Advance()
System\Xml\XPath\Internal\IdQuery.cs (7)
19XPathNavigator contextNode = context.Current.Clone(); 24XPathNavigator? temp; 40ProcessIds(contextNode, ((XPathNavigator)argVal).Value); 46private void ProcessIds(XPathNavigator contextNode, string val) 58public override XPathNavigator? MatchNode(XPathNavigator? context) 61XPathNavigator? result;
System\Xml\XPath\Internal\IteratorFilter.cs (1)
29public override XPathNavigator? Current { get { return _innerIterator.Current; } }
System\Xml\XPath\Internal\LogicalExpr.cs (2)
416private XPathNavigator? _current; 437private static string Rtf(object o) { return ((XPathNavigator)o).Value; }
System\Xml\XPath\Internal\MergeFilterQuery.cs (5)
37XPathNavigator? node; 46public override XPathNavigator? MatchNode(XPathNavigator? current) 48XPathNavigator? context = _child.MatchNode(current); 59XPathNavigator? result = Advance();
System\Xml\XPath\Internal\NamespaceQuery.cs (2)
25public override XPathNavigator? Advance() 56public override bool matches(XPathNavigator e)
System\Xml\XPath\Internal\NodeFunctions.cs (3)
29private XPathNavigator? EvaluateArg(XPathNodeIterator context) 41XPathNavigator? argVal; 75XPathNavigator? nav;
System\Xml\XPath\Internal\NumberFunctions.cs (3)
65XPathNavigator? value = _arg.Advance(); 78return Number(((XPathNavigator)argVal).Value); 88XPathNavigator? nav;
System\Xml\XPath\Internal\ParentQuery.cs (1)
17XPathNavigator? input;
System\Xml\XPath\Internal\PrecedingQuery.cs (4)
6using StackNav = MS.Internal.Xml.XPath.ClonableStack<System.Xml.XPath.XPathNavigator>; 43public override XPathNavigator? Advance() 47XPathNavigator last; 49XPathNavigator? input = qyInput.Advance();
System\Xml\XPath\Internal\PreSiblingQuery.cs (9)
28private static bool NotVisited(XPathNavigator nav, List<XPathNavigator> parentStk) 30XPathNavigator nav1 = nav.Clone(); 48List<XPathNavigator> parentStk = new List<XPathNavigator>(); 49Stack<XPathNavigator> inputStk = new Stack<XPathNavigator>(); 56XPathNavigator input = inputStk.Pop(); 63XPathNavigator prev = input.Clone();
System\Xml\XPath\Internal\Query.cs (11)
57public abstract XPathNavigator? Advance(); 59public virtual XPathNavigator? MatchNode(XPathNavigator? current) 90protected static XPathNavigator? Clone(XPathNavigator? input) 103public static bool Insert(List<XPathNavigator> buffer, XPathNavigator nav) 151public static XmlNodeOrder CompareNodes(XPathNavigator l, XPathNavigator r) 156XPathNavigator copy = l.Clone(); 191Debug.Assert(value is XPathNavigator, "Unknown value type");
System\Xml\XPath\Internal\SortQuery.cs (6)
56XPathNavigator? eNext; 80public override XPathNavigator? Advance() 90public override XPathNavigator? Current 121private readonly XPathNavigator _node; 123public SortKey(int numKeys, int originalPosition, XPathNavigator node) 139public XPathNavigator Node { get { return _node; } }
System\Xml\XPath\Internal\StringFunctions.cs (2)
82XPathNavigator? value = _argList[0].Advance(); 89return ((XPathNavigator)argVal).Value;
System\Xml\XPath\Internal\UnionExpr.cs (16)
15private XPathNavigator? _currentNode; 16private XPathNavigator? _nextNode; 61private XPathNavigator ProcessSamePosition(XPathNavigator result) 68private XPathNavigator ProcessBeforePosition(XPathNavigator res1, XPathNavigator res2) 77private XPathNavigator ProcessAfterPosition(XPathNavigator res1, XPathNavigator res2) 86public override XPathNavigator? Advance() 88XPathNavigator? res1, res2; 142public override XPathNavigator? MatchNode(XPathNavigator? xsltContext) 146XPathNavigator? result = qy1.MatchNode(xsltContext); 160public override XPathNavigator? Current { get { return _currentNode; } }
System\Xml\XPath\Internal\ValueQuery.cs (2)
15public sealed override XPathNavigator Current { get { throw XPathException.Create(SR.Xp_NodeSetExpected); } } 18public sealed override XPathNavigator Advance() { throw XPathException.Create(SR.Xp_NodeSetExpected); }
System\Xml\XPath\Internal\XPathAncestorIterator.cs (2)
10public XPathAncestorIterator(XPathNavigator nav, XPathNodeType type, bool matchSelf) : base(nav, type, matchSelf) { } 11public XPathAncestorIterator(XPathNavigator nav, string name, string namespaceURI, bool matchSelf) : base(nav, name, namespaceURI, matchSelf) { }
System\Xml\XPath\Internal\XPathAncestorQuery.cs (2)
26XPathNavigator? ancestor = null; 27XPathNavigator? input;
System\Xml\XPath\Internal\XPathArrayIterator.cs (3)
50public override XPathNavigator? Current 60return (XPathNavigator?)list[index - 1]; 88private object? debuggerDisplayProxy { get { return index < 1 ? null : (object)new XPathNavigator.DebuggerDisplayProxy(Current!); } }
System\Xml\XPath\Internal\XPathAxisIterator.cs (5)
11internal XPathNavigator nav; 19public XPathAxisIterator(XPathNavigator nav, bool matchSelf) 25public XPathAxisIterator(XPathNavigator nav, XPathNodeType type, bool matchSelf) : this(nav, matchSelf) 30public XPathAxisIterator(XPathNavigator nav, string name, string namespaceURI, bool matchSelf) : this(nav, matchSelf) 50public override XPathNavigator Current
System\Xml\XPath\Internal\XPathChildIterator.cs (2)
10public XPathChildIterator(XPathNavigator nav, XPathNodeType type) : base(nav, type, /*matchSelf:*/false) { } 11public XPathChildIterator(XPathNavigator nav, string name, string namespaceURI) : base(nav, name, namespaceURI, /*matchSelf:*/false) { }
System\Xml\XPath\Internal\XPathDescendantIterator.cs (2)
12public XPathDescendantIterator(XPathNavigator nav, XPathNodeType type, bool matchSelf) : base(nav, type, matchSelf) { } 13public XPathDescendantIterator(XPathNavigator nav, string name, string namespaceURI, bool matchSelf) : base(nav, name, namespaceURI, matchSelf) { }
System\Xml\XPath\Internal\XPathEmptyIterator.cs (1)
13public override XPathNavigator? Current
System\Xml\XPath\Internal\XPathMultyIterator.cs (1)
123public override XPathNavigator? Current
System\Xml\XPath\Internal\XPathSelectionIterator.cs (4)
13private XPathNavigator _nav; 17internal XPathSelectionIterator(XPathNavigator nav, Query query) 37XPathNavigator? n = _query.Advance(); 51public override XPathNavigator Current { get { return _nav; } }
System\Xml\XPath\Internal\XPathSelfQuery.cs (1)
13public override XPathNavigator? Advance()
System\Xml\XPath\Internal\XPathSingletonIterator.cs (4)
11private readonly XPathNavigator _nav; 14public XPathSingletonIterator(XPathNavigator nav) 20public XPathSingletonIterator(XPathNavigator nav, bool moved) : this(nav) 39public override XPathNavigator Current
System\Xml\XPath\IXPathNavigable.cs (1)
8XPathNavigator? CreateNavigator();
System\Xml\XPath\XPathDocument.cs (1)
297public XPathNavigator CreateNavigator()
System\Xml\XPath\XPathNavigator.cs (43)
389public virtual XPathNavigator CreateNavigator() 407XPathNavigator navSave = Clone(); 436XPathNavigator navClone = Clone(); 474XPathNavigator navSave = Clone(); 519public abstract XPathNavigator Clone(); 539XPathNavigator navClone = Clone(); 696public abstract bool MoveTo(XPathNavigator other); 739public virtual bool MoveToFollowing(string localName, string namespaceURI, XPathNavigator? end) 741XPathNavigator navSave = Clone(); 805public virtual bool MoveToFollowing(XPathNodeType type, XPathNavigator? end) 807XPathNavigator navSave = Clone(); 867XPathNavigator navClone = Clone(); 880XPathNavigator navClone = Clone(); 906public abstract bool IsSamePosition(XPathNavigator other); 908public virtual bool IsDescendant([NotNullWhen(true)] XPathNavigator? nav) 920public virtual XmlNodeOrder ComparePosition(XPathNavigator? nav) 930XPathNavigator n1 = this.Clone(); 931XPathNavigator n2 = nav.Clone(); 958XPathNavigator parent1 = n1.Clone(); 959XPathNavigator parent2 = n2.Clone(); 1119public virtual XPathNavigator? SelectSingleNode(string xpath) 1124public virtual XPathNavigator? SelectSingleNode(string xpath, IXmlNamespaceResolver? resolver) 1129public virtual XPathNavigator? SelectSingleNode(XPathExpression expression) 1287public virtual XmlWriter ReplaceRange(XPathNavigator lastSiblingToReplace) 1314public virtual void ReplaceSelf(XPathNavigator newNode) 1426XPathNavigator edit = CreateNavigator(); 1460public virtual void AppendChild(XPathNavigator newChild) 1487public virtual void PrependChild(XPathNavigator newChild) 1514public virtual void InsertBefore(XPathNavigator newSibling) 1541public virtual void InsertAfter(XPathNavigator newSibling) 1553public virtual void DeleteRange(XPathNavigator lastSiblingToDelete) 1629XPathNavigator navClone = Clone(); 1644XPathNavigator navClone = Clone(); 1668XPathNavigator navSave = Clone(); 1705XPathNavigator nav = this.Clone(); 1758XPathNavigator nav = this.Clone(); 1797private static int GetDepth(XPathNavigator nav) 1816private static XmlNodeOrder CompareSiblings(XPathNavigator n1, XPathNavigator n2) 1822XPathNavigator p1 = n1.Clone(), p2 = n2.Clone(); 1999XPathNavigator editor = CreateNavigator(); 2142private readonly XPathNavigator _nav; 2143public DebuggerDisplayProxy(XPathNavigator nav)
System\Xml\XPath\XPathNavigatorKeyComparer.cs (6)
13XPathNavigator? nav1 = obj1 as XPathNavigator; 14XPathNavigator? nav2 = obj2 as XPathNavigator; 28XPathNavigator? nav; 35else if (null != (nav = obj as XPathNavigator))
System\Xml\XPath\XPathNavigatorReader.cs (28)
30private XPathNavigator _nav; 31private readonly XPathNavigator _navToRead; 77public static XPathNavigatorReader Create(XPathNavigator navToRead) 79XPathNavigator nav = navToRead.Clone(); 111protected XPathNavigatorReader(XPathNavigator navToRead, IXmlLineInfo? xli, IXmlSchemaInfo? xsi) 130get { return XPathNavigator.GetNamespaces(this); } 263XPathNavigator tempNav = _nav.Clone(); 319private XPathNavigator? GetElemNav() 321XPathNavigator? tempNav; 334XPathNavigator? nav = GetElemNav(); 341private XPathNavigator? GetElemNav(out int depth) 343XPathNavigator? nav = null; 373private void MoveToAttr(XPathNavigator nav, int depth) 388XPathNavigator? tempNav = GetElemNav(); 417XPathNavigator nav = _nav; 464XPathNavigator nav = _nav; 501private static string? GetNamespaceByIndex(XPathNavigator nav, int index, out int count) 526XPathNavigator? nav = GetElemNav(); 563XPathNavigator? nav = GetElemNav(out depth); 602XPathNavigator? nav = GetElemNav(out depth); 642XPathNavigator nav = _nav.Clone(); 659XPathNavigator prev = nav.Clone(); 707XPathNavigator? nav = GetElemNav(out depth); 1120internal XPathNavigatorReaderWithSI(XPathNavigator navToRead, IXmlLineInfo? xli, IXmlSchemaInfo xsi) 1302public override bool MoveTo(XPathNavigator other) 1308public override XmlNodeOrder ComparePosition(XPathNavigator? other) 1314public override bool IsSamePosition(XPathNavigator other) 1324public override XPathNavigator Clone()
System\Xml\XPath\XPathNodeIterator.cs (2)
18public abstract XPathNavigator? Current { get; } 38private object? debuggerDisplayProxy { get { return Current == null ? null : (object)new XPathNavigator.DebuggerDisplayProxy(Current); } }
System\Xml\Xsl\IlGen\GenerateHelper.cs (20)
99if (storageType == typeof(XPathNavigator)) 146else if (storageType != typeof(XPathItem) && storageType != typeof(XPathNavigator)) 290public static readonly MethodInfo QNameEqualLit = typeof(XmlQueryRuntime).GetMethod("IsQNameEqual", new[] { typeof(XPathNavigator), typeof(int), typeof(int) })!; 291public static readonly MethodInfo QNameEqualNav = typeof(XmlQueryRuntime).GetMethod("IsQNameEqual", new[] { typeof(XPathNavigator), typeof(XPathNavigator) })!; 324public static readonly MethodInfo NavClone = typeof(XPathNavigator).GetMethod("Clone")!; 325public static readonly MethodInfo NavLocalName = typeof(XPathNavigator).GetMethod("get_LocalName")!; 326public static readonly MethodInfo NavMoveAttr = typeof(XPathNavigator).GetMethod("MoveToAttribute", new[] { typeof(string), typeof(string) })!; 327public static readonly MethodInfo NavMoveId = typeof(XPathNavigator).GetMethod("MoveToId")!; 328public static readonly MethodInfo NavMoveParent = typeof(XPathNavigator).GetMethod("MoveToParent")!; 329public static readonly MethodInfo NavMoveRoot = typeof(XPathNavigator).GetMethod("MoveToRoot")!; 330public static readonly MethodInfo NavMoveTo = typeof(XPathNavigator).GetMethod("MoveTo")!; 331public static readonly MethodInfo NavNmsp = typeof(XPathNavigator).GetMethod("get_NamespaceURI")!; 332public static readonly MethodInfo NavPrefix = typeof(XPathNavigator).GetMethod("get_Prefix")!; 333public static readonly MethodInfo NavSamePos = typeof(XPathNavigator).GetMethod("IsSamePosition")!; 334public static readonly MethodInfo NavType = typeof(XPathNavigator).GetMethod("get_NodeType")!; 363public static readonly MethodInfo StartElemCopyName = typeof(XmlQueryOutput).GetMethod("WriteStartElementComputed", new[] { typeof(XPathNavigator) })!; 367public static readonly MethodInfo StartAttrCopyName = typeof(XmlQueryOutput).GetMethod("WriteStartAttributeComputed", new[] { typeof(XPathNavigator) })!; 454{ typeof(XPathNavigator), new XmlILStorageMethods(typeof(XPathNavigator)) },
System\Xml\Xsl\IlGen\IteratorDescriptor.cs (5)
688if (_storage.ItemStorageType == typeof(XPathNavigator)) 696if (storageTypeDest == typeof(XPathNavigator)) 711if (storageTypeDest == typeof(XPathNavigator)) 713_helper.Emit(OpCodes.Castclass, typeof(XPathNavigator)); 722else if (_storage.ItemStorageType == typeof(XPathNavigator))
System\Xml\Xsl\IlGen\XmlIlTypeHelper.cs (18)
33if (!qyTyp.IsStrict && storageType != typeof(XPathNavigator)) 41if (!qyTyp.IsStrict && storageType != typeof(IList<XPathNavigator>)) 51typeof(XPathNavigator), // XmlTypeCode.Node 52typeof(XPathNavigator), // XmlTypeCode.Document 53typeof(XPathNavigator), // XmlTypeCode.Element 54typeof(XPathNavigator), // XmlTypeCode.Attribute 55typeof(XPathNavigator), // XmlTypeCode.Namespace 56typeof(XPathNavigator), // XmlTypeCode.ProcessingInstruction 57typeof(XPathNavigator), // XmlTypeCode.Comment 58typeof(XPathNavigator), // XmlTypeCode.Text 109typeof(IList<XPathNavigator>), // XmlTypeCode.Node 110typeof(IList<XPathNavigator>), // XmlTypeCode.Document 111typeof(IList<XPathNavigator>), // XmlTypeCode.Element 112typeof(IList<XPathNavigator>), // XmlTypeCode.Attribute 113typeof(IList<XPathNavigator>), // XmlTypeCode.Namespace 114typeof(IList<XPathNavigator>), // XmlTypeCode.ProcessingInstruction 115typeof(IList<XPathNavigator>), // XmlTypeCode.Comment 116typeof(IList<XPathNavigator>), // XmlTypeCode.Text
System\Xml\Xsl\IlGen\XmlIlVisitor.cs (30)
411locNav = _helper.DeclareLocal("$$$navDoc", typeof(XPathNavigator)); 418_iterCurr.Storage = StorageDescriptor.Local(locNav, typeof(XPathNavigator), false); 1282locNav = _helper.DeclareLocal("$$$navSet", typeof(XPathNavigator)); 1332_iterCurr.Storage = StorageDescriptor.Current(locIter, methCurrent, typeof(XPathNavigator)); 1337_iterCurr.SetIterator(lblNext, StorageDescriptor.Current(locIter, methCurrent, typeof(XPathNavigator))); 1958GenerateSimpleIterator(typeof(XPathNavigator), locIter, XmlILMethods.ElemContentNext, XmlILMethods.ElemContentCurrent); 1977GenerateSimpleIterator(typeof(XPathNavigator), locIter, XmlILMethods.KindContentNext, XmlILMethods.KindContentCurrent); 2076_iterCurr.EnsureItemStorageType(nodes.XmlType!, typeof(XPathNavigator)); 2094_iterCurr.Storage = StorageDescriptor.Stack(typeof(XPathNavigator), true); 2398NestedVisitEnsureCache(ndDod.Child, typeof(XPathNavigator)); 2536_iterCurr.Storage = StorageDescriptor.Stack(typeof(XPathNavigator), true); 2603LocalBuilder locNav = _helper.DeclareLocal("$$$navAttr", typeof(XPathNavigator)); 2615_iterCurr.Storage = StorageDescriptor.Local(locNav, typeof(XPathNavigator), false); 2625LocalBuilder locNav = _helper.DeclareLocal("$$$navParent", typeof(XPathNavigator)); 2635_iterCurr.Storage = StorageDescriptor.Local(locNav, typeof(XPathNavigator), false); 2645LocalBuilder locNav = _helper.DeclareLocal("$$$navRoot", typeof(XPathNavigator)); 2654_iterCurr.Storage = StorageDescriptor.Local(locNav, typeof(XPathNavigator), false); 2669_iterCurr.Storage = StorageDescriptor.Stack(typeof(XPathNavigator), false); 2767GenerateSimpleIterator(typeof(XPathNavigator), locIter, XmlILMethods.IdNext, XmlILMethods.IdCurrent); 3063_iterCurr.Storage = StorageDescriptor.Stack(typeof(XPathNavigator), false); 3445NestedVisitEnsureStack(ndVal.Child, typeof(XPathNavigator), false); 3520NestedVisitEnsureStack(ndGenId.Child, typeof(XPathNavigator), false); 3533_iterCurr.EnsureItemStorageType(ndGenId.Child.XmlType, typeof(XPathNavigator)); 3932GenerateSimpleIterator(typeof(XPathNavigator), locIter, methNext, methCurrent); 3961GenerateSimpleIterator(typeof(XPathNavigator), locIter, methNext, methCurrent); 4005GenerateContainerIterator(ndDod, locIter, lblOnEndNested, methNext, methCurrent, typeof(XPathNavigator)); 4861if (_iterCurr.Storage.ItemStorageType == typeof(XPathNavigator) || itemStorageType == typeof(XPathNavigator)) 4871cacheType = (GetItemStorageType(nd) == typeof(XPathNavigator)) ? typeof(XPathNavigator) : itemStorageType;
System\Xml\Xsl\Runtime\ContentIterators.cs (22)
20private XPathNavigator _navCurrent; 26public void Create(XPathNavigator context) 49public XPathNavigator Current 63private XPathNavigator _navCurrent; 69public void Create(XPathNavigator context, string localName, string ns) 94public XPathNavigator Current 108private XPathNavigator _navCurrent; 114public void Create(XPathNavigator context, XPathNodeType nodeType) 139public XPathNavigator Current 152private XPathNavigator _navCurrent; 158public void Create(XPathNavigator context) 181public XPathNavigator Current 194private XPathNavigator _navCurrent; 200public void Create(XPathNavigator context) 234public XPathNavigator Current 247private XPathNavigator _navCurrent; 253public void Create(XPathNavigator context) 276public XPathNavigator Current 305private XPathNavigator? _navCurrent, _navNext; 333public IteratorResult MoveNext(XPathNavigator input) 344internal IteratorResult MoveNext(XPathNavigator input, bool isContent) 425public XPathNavigator Current
System\Xml\Xsl\Runtime\DocumentOrderComparer.cs (8)
18internal sealed class DocumentOrderComparer : IComparer<XPathNavigator> 20private List<XPathNavigator>? _roots; 28public int Compare(XPathNavigator? navThis, XPathNavigator? navThat) 38_roots ??= new List<XPathNavigator>(); 51public int GetDocumentIndex(XPathNavigator nav) 53XPathNavigator navRoot; 56_roots ??= new List<XPathNavigator>();
System\Xml\Xsl\Runtime\DodSequenceMerge.cs (8)
19private IList<XPathNavigator>? _firstSequence; 20private List<IEnumerator<XPathNavigator>>? _sequencesToMerge; 38public void AddSequence(IList<XPathNavigator> sequence) 52_sequencesToMerge = new List<IEnumerator<XPathNavigator>>(); 65public IList<XPathNavigator> MergeSequences() 83IEnumerator<XPathNavigator> sequence = _sequencesToMerge[_sequencesToMerge.Count - 1]; 108private void MoveAndInsertSequence(IEnumerator<XPathNavigator> sequence) 118private void InsertSequence(IEnumerator<XPathNavigator> sequence)
System\Xml\Xsl\Runtime\RtfNavigator.cs (10)
37public abstract XPathNavigator ToNavigator(); 185public override bool IsSamePosition(XPathNavigator other) 242public override XPathNavigator ToNavigator() 279public override XPathNavigator Clone() 288public override bool MoveTo(XPathNavigator other) 353public override XPathNavigator ToNavigator() 390public override XPathNavigator Clone() 399public override bool MoveTo(XPathNavigator other) 427public XPathNavigator GetNavigator(XmlEventCache events, XmlNameTable nameTable) 449public XPathNavigator GetNavigator(string text, string baseUri, XmlNameTable nameTable)
System\Xml\Xsl\Runtime\SetIterators.cs (10)
37private XPathNavigator _navCurr, _navOther; 61public SetIteratorResult MoveNext(XPathNavigator nestedNavigator) 131public XPathNavigator Current 141XPathNavigator navTemp = _navCurr; 161private XPathNavigator _navLeft, _navRight; 185public SetIteratorResult MoveNext(XPathNavigator nestedNavigator) 248public XPathNavigator Current 263private XPathNavigator _navLeft, _navRight; 287public SetIteratorResult MoveNext(XPathNavigator nestedNavigator) 351public XPathNavigator Current
System\Xml\Xsl\Runtime\SiblingIterators.cs (11)
21private XPathNavigator _navCurrent; 26public void Create(XPathNavigator context, XmlNavigatorFilter filter) 44public XPathNavigator Current 74public IteratorResult MoveNext(XPathNavigator navigator) 82public XPathNavigator Current 97private XPathNavigator _navCurrent; 102public void Create(XPathNavigator context, XmlNavigatorFilter filter) 119public XPathNavigator Current 133private XPathNavigator _navCurrent, _navEnd; 139public void Create(XPathNavigator context, XmlNavigatorFilter filter) 195public XPathNavigator Current
System\Xml\Xsl\Runtime\TreeIterators.cs (39)
17private XPathNavigator? _navCurrent, _navEnd; 23public void Create(XPathNavigator input, XmlNavigatorFilter filter, bool orSelf) 61public XPathNavigator Current 76private XPathNavigator _navCurrent, _navRoot, _navEnd; 102public IteratorResult MoveNext(XPathNavigator input) 138public XPathNavigator Current 151private XPathNavigator _navCurrent; 157public void Create(XPathNavigator context, XmlNavigatorFilter filter) 185public XPathNavigator Current 200private XPathNavigator _navCurrent; 206public void Create(XPathNavigator context, XmlNavigatorFilter filter, bool orSelf) 243public XPathNavigator Current 257private XPathNavigator _navCurrent; 262public void Create(XPathNavigator context, XmlNavigatorFilter filter, bool orSelf) 288public XPathNavigator Current 304private XPathNavigator _navCurrent; 310public void Create(XPathNavigator input, XmlNavigatorFilter filter) 339public XPathNavigator Current 348internal static bool MoveFirst(XmlNavigatorFilter filter, XPathNavigator nav) 398private XPathNavigator _navCurrent, _navNext; 425public IteratorResult MoveNext(XPathNavigator input) 486public XPathNavigator Current 497XPathNavigator navTemp; 541private XPathNavigator _navCurrent; 546public void Create(XPathNavigator context, XmlNavigatorFilter filter) 581public XPathNavigator Current 597private XPathNavigator _navCurrent; 602public void Create(XPathNavigator context, XmlNavigatorFilter filter) 628public XPathNavigator Current 642private XPathNavigator _navCurrent; 648public void Create(XPathNavigator input, XmlNavigatorFilter filter) 687public XPathNavigator Current 720private XPathNavigator _navCurrent, _navNext; 747public IteratorResult MoveNext(XPathNavigator input) 823public XPathNavigator Current 863private XPathNavigator _navCurrent, _navEnd; 877public void Create(XPathNavigator start, XmlNavigatorFilter filter, XPathNavigator end) 937public XPathNavigator Current
System\Xml\Xsl\Runtime\XmlILIndex.cs (1)
30public void Add(string key, XPathNavigator navigator)
System\Xml\Xsl\Runtime\XmlILStorageConverter.cs (5)
84public static IList<XPathItem> NavigatorsToItems(IList<XPathNavigator> listNavigators) 95public static IList<XPathNavigator> ItemsToNavigators(IList<XPathItem> listItems) 98IList<XPathNavigator>? listNavs = listItems as IList<XPathNavigator>; 105seq.Add((XPathNavigator)listItems[i]);
System\Xml\Xsl\Runtime\XmlIterators.cs (3)
29private XPathNavigator _navCurrent; 33public void Create(XPathNavigator context, string value) 56public XPathNavigator Current
System\Xml\Xsl\Runtime\XmlNavigatorFilter.cs (38)
24public abstract bool MoveToContent(XPathNavigator navigator); 30public abstract bool MoveToNextContent(XPathNavigator navigator); 36public abstract bool MoveToFollowingSibling(XPathNavigator navigator); 42public abstract bool MoveToPreviousSibling(XPathNavigator navigator); 48public abstract bool MoveToFollowing(XPathNavigator navigator, XPathNavigator? navigatorEnd); 53public abstract bool IsFiltered(XPathNavigator navigator); 85public override bool MoveToContent(XPathNavigator navigator) 93public override bool MoveToNextContent(XPathNavigator navigator) 101public override bool MoveToFollowingSibling(XPathNavigator navigator) 109public override bool MoveToPreviousSibling(XPathNavigator navigator) 117public override bool MoveToFollowing(XPathNavigator navigator, XPathNavigator? navEnd) 125public override bool IsFiltered(XPathNavigator navigator) 170_mask = XPathNavigator.GetContentKindMask(nodeType); 176public override bool MoveToContent(XPathNavigator navigator) 184public override bool MoveToNextContent(XPathNavigator navigator) 192public override bool MoveToFollowingSibling(XPathNavigator navigator) 200public override bool MoveToPreviousSibling(XPathNavigator navigator) 208public override bool MoveToFollowing(XPathNavigator navigator, XPathNavigator? navEnd) 216public override bool IsFiltered(XPathNavigator navigator) 248public override bool MoveToContent(XPathNavigator navigator) 256public override bool MoveToNextContent(XPathNavigator navigator) 264public override bool MoveToFollowingSibling(XPathNavigator navigator) 272public override bool MoveToPreviousSibling(XPathNavigator navigator) 280public override bool MoveToFollowing(XPathNavigator navigator, XPathNavigator? navEnd) 288public override bool IsFiltered(XPathNavigator navigator) 320public override bool MoveToContent(XPathNavigator navigator) 328public override bool MoveToNextContent(XPathNavigator navigator) 336public override bool MoveToFollowingSibling(XPathNavigator navigator) 344public override bool MoveToPreviousSibling(XPathNavigator navigator) 352public override bool MoveToFollowing(XPathNavigator navigator, XPathNavigator? navEnd) 360public override bool IsFiltered(XPathNavigator navigator) 369public static bool MoveToFirstAttributeContent(XPathNavigator navigator) 382public static bool MoveToNextAttributeContent(XPathNavigator navigator)
System\Xml\Xsl\Runtime\XmlNavigatorStack.cs (7)
16private XPathNavigator[] _stkNav; // Stack of XPathNavigators 28public void Push(XPathNavigator nav) 32_stkNav = new XPathNavigator[InitialStackSize]; 39XPathNavigator[] stkOld = _stkNav; 40_stkNav = new XPathNavigator[2 * _sp]; 51public XPathNavigator Pop() 60public XPathNavigator Peek()
System\Xml\Xsl\Runtime\XmlQueryContext.cs (6)
32private readonly XPathNavigator? _defaultDataSource; 101public XPathNavigator DefaultDataSource 118public XPathNavigator? GetDataSource(string uriRelative, string? uriBase) 122XPathNavigator? nav = null; 130nav = _dataSourceCache[uriResolved] as XPathNavigator; 165private XPathNavigator? ConstructDocument(object dataSource, string? uriRelative, Uri? uriResolved)
System\Xml\Xsl\Runtime\XmlQueryOutput.cs (13)
648public void WriteStartElementComputed(XPathNavigator navigator) 680public void WriteStartAttributeComputed(XPathNavigator navigator) 873XPathNavigator navigator = (XPathNavigator)item; 895public void XsltCopyOf(XPathNavigator navigator) 930public bool StartCopy(XPathNavigator navigator) 952public void EndCopy(XPathNavigator navigator) 1033private void CopyNode(XPathNavigator navigator) 1096private bool StartCopy(XPathNavigator navigator, bool callChk) 1203private void EndCopy(XPathNavigator navigator, bool callChk) 1217private void CopyNamespaces(XPathNavigator navigator, XPathNamespaceScope nsScope) 1240private void CopyNamespacesHelper(XPathNavigator navigator, XPathNamespaceScope nsScope) 1479private void WriteStartComputed(XPathNodeType nodeType, XPathNavigator navigator)
System\Xml\Xsl\Runtime\XmlQueryRuntime.cs (33)
430public bool IsQNameEqual(XPathNavigator n1, XPathNavigator n2) 444public bool IsQNameEqual(XPathNavigator navigator, int indexLocalName, int indexNamespaceUri) 506else if (destinationType == typeof(XPathNavigator[])) 509IList<XPathNavigator> seq = (IList<XPathNavigator>)value; 510XPathNavigator[] navArray = new XPathNavigator[seq.Count]; 667if (value is XPathNavigator navigator) 688private static XPathNavigator EnsureNavigator(object? value) 690XPathNavigator? nav = value as XPathNavigator; 763switch (((XPathNavigator)item).NodeType) 795XPathNavigator nav = (XPathNavigator)item; 850public int ComparePosition(XPathNavigator navigatorThis, XPathNavigator navigatorThat) 858public IList<XPathNavigator> DocOrderDistinct(IList<XPathNavigator> seq) 872public string GenerateId(XPathNavigator navigator) 886public bool FindIndex(XPathNavigator context, int indexId, out XmlILIndex index) 888XPathNavigator navRoot; 906if (((XPathNavigator)docIndexes[i]!).IsSamePosition(navRoot)) 923public void AddNewIndex(XPathNavigator context, int indexId, XmlILIndex index) 925XPathNavigator navRoot; 1012public XPathNavigator EndRtfConstruction(out XmlQueryOutput output) 1030public XPathNavigator TextRtfConstruction(string text, string baseUri) 1059internal static XPathNavigator SyncToNavigator(XPathNavigator? navigatorThis, XPathNavigator navigatorThat) 1070public static int OnCurrentNodeChanged(XPathNavigator currentNode) 1076private static bool IsInheritedNamespace(XPathNavigator node) 1079XPathNavigator nav = node.Clone();
System\Xml\Xsl\Runtime\XmlQuerySequence.cs (12)
482Add(((XPathNavigator)item).Clone()); 492public sealed class XmlQueryNodeSequence : XmlQuerySequence<XPathNavigator>, IList<XPathItem> 516public static XmlQueryNodeSequence CreateOrReuse(XmlQueryNodeSequence seq, XPathNavigator navigator) 545public XmlQueryNodeSequence(IList<XPathNavigator> list) : base(list.Count) 554public XmlQueryNodeSequence(XPathNavigator[] array, int size) : base(array, size) 561public XmlQueryNodeSequence(XPathNavigator navigator) : base(1) 594public XmlQueryNodeSequence DocOrderDistinct(IComparer<XPathNavigator> comparer) 597XPathNavigator[] sortArray; 606sortArray = new XPathNavigator[Count]; 638public void AddClone(XPathNavigator navigator) 696return IndexOf((XPathNavigator)value) != -1; 739return IndexOf((XPathNavigator)value);
System\Xml\Xsl\Runtime\XmlSequenceWriter.cs (5)
164XPathNavigator nav = (item as XPathNavigator)!; 199private void CopyNode(XPathNavigator nav) 276private bool CopyShallowNode(XPathNavigator nav) 330private void CopyNamespaces(XPathNavigator nav, XPathNamespaceScope nsScope)
System\Xml\Xsl\Runtime\XsltConvert.cs (8)
113public static XPathNavigator ToNode(XPathItem item) 131return (XPathNavigator)item; 134public static XPathNavigator ToNode(IList<XPathItem> listItems) 149public static IList<XPathNavigator> ToNodeSet(XPathItem item) 154public static IList<XPathNavigator> ToNodeSet(IList<XPathItem> listItems) 323public static IList<XPathNavigator> EnsureNodeSet(IList<XPathItem> listItems) 365if (clrType == typeof(XPathNavigator[])) return XmlQueryTypeFactory.NodeSDod; 366if (clrType == typeof(XPathNavigator)) return XmlQueryTypeFactory.NodeNotRtf;
System\Xml\Xsl\Runtime\XsltFunctions.cs (5)
194public static bool Lang(string value, XPathNavigator context) 240public static string BaseUri(XPathNavigator navigator) 245public static string OuterXml(XPathNavigator navigator) 283Debug.Assert(item is XPathNavigator); 498public static string MSNamespaceUri(string name, XPathNavigator currentNode)
System\Xml\Xsl\Runtime\XsltLibrary.cs (6)
397private static bool CompareNodeSetAndValue(ComparisonOperator op, IList<XPathNavigator> nodeset, XPathItem val, TypeCode compType) 419private static bool CompareNodeSetAndNodeSet(ComparisonOperator op, IList<XPathNavigator> left, IList<XPathNavigator> right, TypeCode compType) 524public bool IsSameNodeSort(XPathNavigator nav1, XPathNavigator nav2) 594private static IList<XPathNavigator> ToNodeSetOrRtf(IList<XPathItem> val)
System\Xml\Xsl\XmlIlGenerator.cs (3)
299typeof(XPathNavigator), 300new Type[] { typeof(XPathNavigator), typeof(XPathNavigator) },
System\Xml\Xsl\XsltOld\ActionFrame.cs (4)
59internal XPathNavigator? Node 274XPathNavigator nav = _nodeSet.Current.Clone(); 297XPathNavigator nav = _newNodeSet.Current.Clone(); 323public override XPathNavigator Current
System\Xml\Xsl\XsltOld\Compiler.cs (3)
593else if (input is XPathNavigator) 595return new NavigatorInput((XPathNavigator)input, resolved, _rootScope); 1152XPathNavigator nav = this.Input!.Navigator.Clone();
System\Xml\Xsl\XsltOld\CopyAttributesAction.cs (3)
100private static bool SendBeginEvent(Processor processor, XPathNavigator node) 106private static bool SendTextEvent(Processor processor, XPathNavigator node) 112private static bool SendEndEvent(Processor processor, XPathNavigator node)
System\Xml\Xsl\XsltOld\CopyNodeSetAction.cs (3)
113private static bool SendBeginEvent(Processor processor, XPathNavigator node) 118private static bool SendTextEvent(Processor processor, XPathNavigator node) 123private static bool SendEndEvent(Processor processor, XPathNavigator node)
System\Xml\Xsl\XsltOld\CopyOfAction.cs (2)
62XPathNavigator? nav = result as XPathNavigator;
System\Xml\Xsl\XsltOld\InputScopeManager.cs (3)
15private readonly XPathNavigator _navigator; // We need this nsvigator for document() function implementation 17public InputScopeManager(XPathNavigator navigator, InputScope? rootScope) 46public XPathNavigator Navigator
System\Xml\Xsl\XsltOld\NavigatorInput.cs (4)
15private XPathNavigator? _Navigator; 50internal XPathNavigator Navigator 207internal NavigatorInput(XPathNavigator navigator, string baseUri, InputScope? rootScope) 228internal NavigatorInput(XPathNavigator navigator) : this(navigator, navigator.BaseURI, null) { }
System\Xml\Xsl\XsltOld\NavigatorOutput.cs (1)
15internal XPathNavigator Navigator
System\Xml\Xsl\XsltOld\newinstructionaction.cs (1)
19XPathNavigator nav = compiler.Input.Navigator.Clone();
System\Xml\Xsl\XsltOld\NumberAction.cs (14)
235XPathNavigator endNode = frame.Node!; 241XPathNavigator startNode = endNode.Clone(); 308private bool checkFrom(Processor processor, XPathNavigator nav) 324private bool moveToCount(XPathNavigator nav, Processor processor, XPathNavigator contextNode) 340private int numberCount(XPathNavigator nav, Processor processor, XPathNavigator contextNode) 344XPathNavigator runner = nav.Clone(); 383XPathNavigator? nav = value as XPathNavigator; 417XPathNavigator contextNode = frame.Node!; // context of xsl:number element. We using this node in MatchCountKey() 418XPathNavigator countNode = frame.Node!.Clone(); // node we count for 459private bool MatchCountKey(Processor processor, XPathNavigator contextNode, XPathNavigator nav)
System\Xml\Xsl\XsltOld\Processor.cs (21)
61private readonly XPathNavigator _document; 113internal XPathNavigator? Current 161internal XPathNavigator GetNavigator(Uri ruri) 163XPathNavigator? result; 166result = _documentCache[ruri] as XPathNavigator; 187else if (input is XPathNavigator) 189result = (XPathNavigator)input; 227parameter is XPathNavigator || 268internal XPathNavigator Document 327XPathNavigator doc, XsltArgumentList? args, XmlResolver? resolver, 577XPathNavigator? n = query.Advance(); 589internal string ValueOf(XPathNavigator n) 601private void ElementValueWithoutWS(XPathNavigator nav, StringBuilder builder) 674XPathNavigator? nav = objValue as XPathNavigator; 683internal bool Matches(XPathNavigator? context, int key) 843internal bool CopyBeginEvent(XPathNavigator node, bool emptyflag) 873internal bool CopyTextEvent(XPathNavigator node) 902internal bool CopyEndEvent(XPathNavigator node) 932internal static bool IsRoot(XPathNavigator navigator) 942XPathNavigator clone = navigator.Clone();
System\Xml\Xsl\XsltOld\RootAction.cs (6)
36public void AddKey(XPathNavigator root, Hashtable table) 42public Hashtable? GetKeys(XPathNavigator root) 65private readonly XPathNavigator _rootNav; 68public DocumentKeyList(XPathNavigator rootNav, Hashtable keyTable) 74public XPathNavigator RootNav { get { return _rootNav; } } 258XPathNavigator root = processor.Document.Clone();
System\Xml\Xsl\XsltOld\Stylesheet.cs (5)
122internal bool PreserveWhiteSpace(Processor proc, XPathNavigator node) 281internal TemplateAction? FindTemplate(Processor processor, XPathNavigator navigator, XmlQualifiedName mode) 308internal TemplateAction? FindTemplateImports(Processor processor, XPathNavigator navigator, XmlQualifiedName mode) 340internal TemplateAction? FindTemplate(Processor processor, XPathNavigator navigator) 408internal TemplateAction? FindTemplateImports(Processor processor, XPathNavigator navigator)
System\Xml\Xsl\XsltOld\TemplateLookupAction.cs (1)
57internal Action? BuiltInTemplate(XPathNavigator node)
System\Xml\Xsl\XsltOld\TemplateManager.cs (1)
75internal TemplateAction? FindTemplate(Processor processor, XPathNavigator navigator)
System\Xml\Xsl\XsltOld\XsltCompileContext.cs (32)
104public override bool PreserveWhitespace(XPathNavigator node) 293private Hashtable BuildKeyTable(Key key, XPathNavigator root) 305XPathNavigator node = sel.Current!; 319private static void AddKeyValue(Hashtable keyTable, string key, XPathNavigator value, bool checkDuplicates) 330value.ComparePosition((XPathNavigator?)list[list.Count - 1]) != XmlNodeOrder.Before, 337if (value.ComparePosition((XPathNavigator?)list[list.Count - 1]) == XmlNodeOrder.Same) 345value.ComparePosition((XPathNavigator?)list[list.Count - 1]) != XmlNodeOrder.Same, 353private static void EvaluateKey(XPathNavigator? node, Query matchExpr, string matchStr, Query useExpr, Hashtable keyTable) 496XPathNavigator? nav = _processor!.Current; 553if (typeof(XPathNavigator).IsAssignableFrom(type) || typeof(IXPathNavigable).IsAssignableFrom(type)) 631public abstract object Invoke(XsltContext xsltContext, object[] args, XPathNavigator docContext); 644public static XPathNavigator ToNavigator(object argument) 646XPathNavigator? nav = argument as XPathNavigator; 685XPathNavigator? nav = argument as XPathNavigator; 700XPathNavigator? nav = argument as XPathNavigator; 745public override object Invoke(XsltContext xsltContext, object[] args, XPathNavigator docContext) 754public override object Invoke(XsltContext xsltContext, object[] args, XPathNavigator docContext) 763public override object Invoke(XsltContext xsltContext, object[] args, XPathNavigator docContext) 788public override object Invoke(XsltContext xsltContext, object[] args, XPathNavigator docContext) 798public override object Invoke(XsltContext xsltContext, object[] args, XPathNavigator docContext) 808public override object Invoke(XsltContext xsltContext, object[] args, XPathNavigator docContext) 820public override object Invoke(XsltContext xsltContext, object[] args, XPathNavigator docContext) 856public override object Invoke(XsltContext xsltContext, object[] args, XPathNavigator docContext) 865XPathNavigator root = docContext.Clone(); 900else if (resultCollection[0] is XPathNavigator) 925Debug.Assert(resultCollection[0] is XPathNavigator); 938public override object Invoke(XsltContext xsltContext, object[] args, XPathNavigator docContext) 948public override object Invoke(XsltContext xsltContext, object[] args, XPathNavigator docContext) 993public override object Invoke(XsltContext xsltContext, object[] args, XPathNavigator docContext)
System\Xml\Xsl\XsltOld\XsltDebugger.cs (1)
15void OnInstructionCompile(XPathNavigator styleSheetNavigator);
System\Xml\Xslt\XsltContext.cs (2)
15object Invoke(XsltContext xsltContext, object[] args, XPathNavigator docContext); 36public abstract bool PreserveWhitespace(XPathNavigator node);
System\Xml\Xslt\XslTransform.cs (11)
72public void Load(XPathNavigator stylesheet) 79public void Load(XPathNavigator stylesheet, XmlResolver? resolver) 116public XmlReader Transform(XPathNavigator input, XsltArgumentList? args, XmlResolver? resolver) 123public XmlReader Transform(XPathNavigator input, XsltArgumentList? args) 128public void Transform(XPathNavigator input, XsltArgumentList? args, XmlWriter output, XmlResolver? resolver) 135public void Transform(XPathNavigator input, XsltArgumentList? args, XmlWriter output) 139public void Transform(XPathNavigator input, XsltArgumentList? args, Stream output, XmlResolver? resolver) 146public void Transform(XPathNavigator input, XsltArgumentList? args, Stream output) 151public void Transform(XPathNavigator input, XsltArgumentList? args, TextWriter output, XmlResolver? resolver) 158public void Transform(XPathNavigator input, XsltArgumentList? args, TextWriter output) 243private void Compile(XPathNavigator stylesheet, XmlResolver? resolver)
System.Private.Xml.Linq (12)
System\Xml\XPath\XNodeNavigator.cs (12)
296public override XPathNavigator Clone() 301public override bool IsSamePosition(XPathNavigator navigator) 311public override bool MoveTo(XPathNavigator navigator) 868XPathNavigator navigator = node.CreateNavigator(); 881foreach (XPathNavigator navigator in result) 907/// Creates an <see cref="XPathNavigator"/> for a given <see cref="XNode"/> 910/// <returns>An <see cref="XPathNavigator"/></returns> 911public static XPathNavigator CreateNavigator(this XNode node) 917/// Creates an <see cref="XPathNavigator"/> for a given <see cref="XNode"/> 921/// the <see cref="XPathNavigator"/></param> 922/// <returns>An <see cref="XPathNavigator"/></returns> 923public static XPathNavigator CreateNavigator(this XNode node, XmlNameTable? nameTable)
System.Security.Cryptography.Xml (1)
System\Security\Cryptography\Xml\XmlDsigXPathTransform.cs (1)
164XPathNavigator navigator = _document!.CreateNavigator()!;
System.Xml (1)
System.Xml.cs (1)
184[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Xml.XPath.XPathNavigator))]
System.Xml.ReaderWriter (1)
artifacts\obj\System.Xml.ReaderWriter\Debug\net10.0\System.Xml.ReaderWriter.Forwards.cs (1)
175[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Xml.XPath.XPathNavigator))]
System.Xml.XPath (1)
artifacts\obj\System.Xml.XPath\Debug\net10.0\System.Xml.XPath.Forwards.cs (1)
13[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Xml.XPath.XPathNavigator))]
System.Xml.XPath.XDocument (1)
System\Xml\XPath\XDocumentExtensions.cs (1)
17public XPathNavigator CreateNavigator()