7 overrides of Clone
System.Data.Common (1)
System\Xml\DataDocumentXPathNavigator.cs (1)
34public override XPathNavigator Clone() => new DataDocumentXPathNavigator(this);
System.Private.Xml (5)
System\Xml\Cache\XPathDocumentNavigator.cs (1)
147public override XPathNavigator Clone()
System\Xml\Dom\DocumentXPathNavigator.cs (1)
36public override XPathNavigator Clone()
System\Xml\XPath\XPathNavigatorReader.cs (1)
1324public override XPathNavigator Clone()
System\Xml\Xsl\Runtime\RtfNavigator.cs (2)
279public override XPathNavigator Clone() 390public override XPathNavigator Clone()
System.Private.Xml.Linq (1)
System\Xml\XPath\XNodeNavigator.cs (1)
296public override XPathNavigator Clone()
122 references to Clone
System.Private.Xml (122)
System\Xml\Core\XmlWriter.cs (1)
428navigator = navigator.Clone();
System\Xml\Core\XmlWriterAsync.cs (1)
428navigator = navigator.Clone();
System\Xml\Dom\DocumentXPathNavigator.cs (1)
2170internal DocumentXPathNodeIterator_Empty(DocumentXPathNodeIterator_Empty other) { _nav = other._nav.Clone(); }
System\Xml\XPath\Internal\AbsoluteQuery.cs (1)
17base.contextNode = context.Current.Clone();
System\Xml\XPath\Internal\AttributeQuery.cs (2)
37currentNode = currentNode.Clone(); 64XPathNavigator temp = context.Clone();
System\Xml\XPath\Internal\CacheChildrenQuery.cs (1)
136result = result.Clone();
System\Xml\XPath\Internal\ChildrenQuery.cs (1)
61XPathNavigator temp = context.Clone();
System\Xml\XPath\Internal\DescendantBaseQuery.cs (1)
45XPathNavigator anc = context.Clone();
System\Xml\XPath\Internal\DescendantoverDescendantQuery.cs (1)
48currentNode = currentNode.Clone();
System\Xml\XPath\Internal\FilterQuery.cs (2)
97XPathNavigator result = current.Clone(); 117XPathNavigator result = current.Clone();
System\Xml\XPath\Internal\FollowingQuery.cs (1)
40prev = _input.Clone();
System\Xml\XPath\Internal\FollSiblingQuery.cs (3)
38XPathNavigator parent = nav.Clone(); 62return input.Clone(); 94_nextInput = _nextInput.Clone();
System\Xml\XPath\Internal\ForwardPositionQuery.cs (1)
24outputBuffer.Add(node.Clone());
System\Xml\XPath\Internal\IdQuery.cs (1)
19XPathNavigator contextNode = context.Current.Clone();
System\Xml\XPath\Internal\MergeFilterQuery.cs (1)
58Evaluate(new XPathSingletonIterator(context.Clone(), /*moved:*/true));
System\Xml\XPath\Internal\NamespaceQuery.cs (1)
37currentNode = currentNode.Clone();
System\Xml\XPath\Internal\ParentQuery.cs (1)
20input = input.Clone();
System\Xml\XPath\Internal\PrecedingQuery.cs (2)
54last = input.Clone(); 68_ancestorStk.Push(last.Clone());
System\Xml\XPath\Internal\PreSiblingQuery.cs (3)
30XPathNavigator nav1 = nav.Clone(); 52inputStk.Push(currentNode.Clone()); 63XPathNavigator prev = input.Clone();
System\Xml\XPath\Internal\Query.cs (5)
94return input.Clone(); 118buffer.Add(nav.Clone()); 141buffer.Insert(l, nav.Clone()); 156XPathNavigator copy = l.Clone(); 161copy = r.Clone();
System\Xml\XPath\Internal\SortQuery.cs (1)
59SortKey key = new SortKey(numSorts, /*originalPosition:*/_results.Count, eNext.Clone());
System\Xml\XPath\Internal\XPathAncestorQuery.cs (1)
43ancestor = input.Clone();
System\Xml\XPath\Internal\XPathArrayIterator.cs (1)
36this.list.Add(nodeIterator.Current.Clone());
System\Xml\XPath\Internal\XPathAxisIterator.cs (1)
41this.nav = it.nav.Clone();
System\Xml\XPath\Internal\XPathSelectionIterator.cs (3)
19_nav = nav.Clone(); 25_nav = it._nav.Clone(); 43_nav = n.Clone();
System\Xml\XPath\Internal\XPathSingletonIterator.cs (1)
30_nav = it._nav.Clone();
System\Xml\XPath\XPathNavigator.cs (37)
382return Clone(); 391return Clone(); 407XPathNavigator navSave = Clone(); 436XPathNavigator navClone = Clone(); 474XPathNavigator navSave = Clone(); 539XPathNavigator navClone = Clone(); 741XPathNavigator navSave = Clone(); 751end = end.Clone(); 807XPathNavigator navSave = Clone(); 818end = end.Clone(); 867XPathNavigator navClone = Clone(); 880XPathNavigator navClone = Clone(); 912nav = nav.Clone(); 930XPathNavigator n1 = this.Clone(); 931XPathNavigator n2 = nav.Clone(); 933int depth1 = GetDepth(n1.Clone()); 934int depth2 = GetDepth(n2.Clone()); 958XPathNavigator parent1 = n1.Clone(); 959XPathNavigator parent2 = n2.Clone(); 970Debug.Assert(CompareSiblings(n1.Clone(), n2.Clone()) != CompareSiblings(n2.Clone(), n1.Clone()), "IsSamePosition() on custom navigator returns inconsistent results"); 1185context ??= new XPathSingletonIterator(this.Clone(), moved: true); 1226return new XPathChildIterator(this.Clone(), type); 1231return new XPathChildIterator(this.Clone(), name, namespaceURI); 1236return new XPathAncestorIterator(this.Clone(), type, matchSelf); 1241return new XPathAncestorIterator(this.Clone(), name, namespaceURI, matchSelf); 1246return new XPathDescendantIterator(this.Clone(), type, matchSelf); 1251return new XPathDescendantIterator(this.Clone(), name, namespaceURI, matchSelf); 1629XPathNavigator navClone = Clone(); 1644XPathNavigator navClone = Clone(); 1668XPathNavigator navSave = Clone(); 1705XPathNavigator nav = this.Clone(); 1758XPathNavigator nav = this.Clone(); 1822XPathNavigator p1 = n1.Clone(), p2 = n2.Clone();
System\Xml\XPath\XPathNavigatorReader.cs (14)
79XPathNavigator nav = navToRead.Clone(); 263XPathNavigator tempNav = _nav.Clone(); 325return _nav.Clone(); 328tempNav = _nav.Clone(); 348nav = _nav.Clone(); 352nav = _nav.Clone(); 357nav = _nav.Clone(); 423nav = nav.Clone(); 437nav = nav.Clone(); 446nav = nav.Clone(); 470nav = nav.Clone(); 490nav = nav.Clone(); 642XPathNavigator nav = _nav.Clone(); 659XPathNavigator prev = nav.Clone();
System\Xml\XPath\XPathNodeIterator.cs (1)
67return _current.Current.Clone();
System\Xml\Xsl\Runtime\ContentIterators.cs (1)
211_navStack.Push(context.Clone());
System\Xml\Xsl\Runtime\DocumentOrderComparer.cs (1)
59navRoot = nav.Clone();
System\Xml\Xsl\Runtime\TreeIterators.cs (6)
270_stack.Push(wrapped.Current.Clone()); 558_stack.Push(_navCurrent.Clone()); 562_stack.Push(_navCurrent.Clone()); 610_stack.Push(wrapped.Current.Clone()); 701_navStack.Push(_navCurrent.Clone()); 839_navStack.Push(_navCurrent.Clone());
System\Xml\Xsl\Runtime\XmlQueryRuntime.cs (4)
893navRoot = context.Clone(); 930navRoot = context.Clone(); 1062return navigatorThat.Clone(); 1079XPathNavigator nav = node.Clone();
System\Xml\Xsl\Runtime\XmlQuerySequence.cs (2)
482Add(((XPathNavigator)item).Clone()); 640Add(navigator.Clone());
System\Xml\Xsl\XsltOld\ActionFrame.cs (3)
162SortKey key = new SortKey(numSorts, /*originalPosition:*/results.Count, _newNodeSet!.Current!.Clone()); 274XPathNavigator nav = _nodeSet.Current.Clone(); 297XPathNavigator nav = _newNodeSet.Current.Clone();
System\Xml\Xsl\XsltOld\Compiler.cs (1)
1152XPathNavigator nav = this.Input!.Navigator.Clone();
System\Xml\Xsl\XsltOld\newinstructionaction.cs (1)
19XPathNavigator nav = compiler.Input.Navigator.Clone();
System\Xml\Xsl\XsltOld\NumberAction.cs (4)
238endNode = endNode.Clone(); 241XPathNavigator startNode = endNode.Clone(); 344XPathNavigator runner = nav.Clone(); 418XPathNavigator countNode = frame.Node!.Clone(); // node we count for
System\Xml\Xsl\XsltOld\Processor.cs (3)
169return result.Clone(); 196_documentCache[ruri] = result!.Clone(); 942XPathNavigator clone = navigator.Clone();
System\Xml\Xsl\XsltOld\RootAction.cs (1)
258XPathNavigator root = processor.Document.Clone();
System\Xml\Xsl\XsltOld\XsltCompileContext.cs (4)
106node = node.Clone(); 350list.Add(value.Clone()); 499return new XPathSingletonIterator(nav.Clone()); 865XPathNavigator root = docContext.Clone();