18 overrides of Current
System.Private.Xml (18)
System\Xml\Cache\XPathDocumentIterator.cs (1)
37public override XPathNavigator Current
System\Xml\Dom\DocumentXPathNavigator.cs (2)
2173public override XPathNavigator Current { get { return _nav; } } 2200public override XPathNavigator Current
System\Xml\XPath\Internal\BaseAxisQuery.cs (1)
75public override XPathNavigator? Current { get { return currentNode; } }
System\Xml\XPath\Internal\CacheOutputQuery.cs (1)
59public override XPathNavigator? Current
System\Xml\XPath\Internal\ContextQuery.cs (1)
27public override XPathNavigator? Current { get { return contextNode; } }
System\Xml\XPath\Internal\EmptyQuery.cs (1)
18public override XPathNavigator? Current { get { return null; } }
System\Xml\XPath\Internal\ExtensionQuery.cs (1)
36public override XPathNavigator? Current
System\Xml\XPath\Internal\IteratorFilter.cs (1)
29public override XPathNavigator? Current { get { return _innerIterator.Current; } }
System\Xml\XPath\Internal\SortQuery.cs (1)
90public override XPathNavigator? Current
System\Xml\XPath\Internal\UnionExpr.cs (1)
160public override XPathNavigator? Current { get { return _currentNode; } }
System\Xml\XPath\Internal\ValueQuery.cs (1)
15public sealed override XPathNavigator Current { get { throw XPathException.Create(SR.Xp_NodeSetExpected); } }
System\Xml\XPath\Internal\XPathArrayIterator.cs (1)
50public override XPathNavigator? Current
System\Xml\XPath\Internal\XPathAxisIterator.cs (1)
50public override XPathNavigator Current
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 (1)
51public override XPathNavigator Current { get { return _nav; } }
System\Xml\XPath\Internal\XPathSingletonIterator.cs (1)
39public override XPathNavigator Current
86 references to Current
illink (1)
Microsoft.AspNetCore.Grpc.Swagger (2)
Internal\XmlComments\GrpcXmlCommentsOperationFilter.cs (2)
102var code = responseNodes.Current!.GetAttribute("code", ""); 108response.Description = XmlCommentsTextHelper.Humanize(responseNodes.Current.InnerXml);
Microsoft.Build.Tasks.Core (6)
XmlPeek.cs (4)
138if (iter.Current.NodeType == XPathNodeType.Attribute 139|| iter.Current.NodeType == XPathNodeType.Text) 141peekValues.Add(iter.Current.Value); 145peekValues.Add(iter.Current.OuterXml);
XmlPoke.cs (2)
127iter.Current.InnerXml = Value.ItemSpec; 128Log.LogMessageFromResources(MessageImportance.Low, "XmlPoke.Replaced", iter.Current.Name, Value.ItemSpec);
PresentationFramework (2)
System\Windows\Annotations\Storage\XmlStreamStore.cs (2)
753_rootNavigator = (XPathNavigator)iterator.Current; 914navigator = (XPathNavigator)iterator.Current;
System.Private.Xml (72)
System\Xml\Dom\XmlNode.cs (2)
56Debug.Assert(nodeIterator.Current != null); 57return ((IHasXmlNode)nodeIterator.Current).GetNode();
System\Xml\Dom\XPathNodeList.cs (2)
49Debug.Assert(_nodeIterator.Current != null); 50XmlNode? n = GetNode(_nodeIterator.Current);
System\Xml\XPath\Internal\AbsoluteQuery.cs (2)
16Debug.Assert(context.Current != null); 17base.contextNode = context.Current.Clone();
System\Xml\XPath\Internal\BooleanFunctions.cs (2)
79Debug.Assert(nodeIterator.Current != null); 80string lang = nodeIterator.Current.XmlLang;
System\Xml\XPath\Internal\ChildrenQuery.cs (1)
51currentNode = _iterator.Current;
System\Xml\XPath\Internal\ContextQuery.cs (1)
31contextNode = context.Current; // We don't clone here. Because we never move it.
System\Xml\XPath\Internal\DescendantQuery.cs (1)
59currentNode = _nodeIterator.Current;
System\Xml\XPath\Internal\ExtensionQuery.cs (2)
48return _queryIterator.Current; 60return _queryIterator.Current;
System\Xml\XPath\Internal\FollowingQuery.cs (1)
77currentNode = _iterator.Current;
System\Xml\XPath\Internal\FunctionQuery.cs (3)
77Debug.Assert(nodeIterator.Current != null); 78argVals[i] = new XPathSelectionIterator(nodeIterator.Current, _args[i]); 84object? retVal = ProcessResult(_function.Invoke(xsltContext, argVals, nodeIterator.Current!));
System\Xml\XPath\Internal\IdQuery.cs (2)
18Debug.Assert(context.Current != null); 19XPathNavigator contextNode = context.Current.Clone();
System\Xml\XPath\Internal\IteratorFilter.cs (3)
29public override XPathNavigator? Current { get { return _innerIterator.Current; } } 36Debug.Assert(_innerIterator.Current != null); 37if (_innerIterator.Current.LocalName == _name)
System\Xml\XPath\Internal\NodeFunctions.cs (1)
33return context.Current;
System\Xml\XPath\Internal\NumberFunctions.cs (2)
58Debug.Assert(nodeIterator!.Current != null); 59return XmlConvert.ToXPathDouble(nodeIterator.Current.Value);
System\Xml\XPath\Internal\PrecedingQuery.cs (1)
77currentNode = _workIterator.Current!;
System\Xml\XPath\Internal\StringFunctions.cs (6)
95Debug.Assert(nodeIterator.Current != null); 96return nodeIterator.Current.Value; 212Debug.Assert(nodeIterator!.Current != null); 213return nodeIterator.Current.Value.Length; 225Debug.Assert(nodeIterator!.Current != null); 226value = nodeIterator.Current.Value;
System\Xml\XPath\Internal\XPathArrayIterator.cs (2)
35Debug.Assert(nodeIterator.Current != null); 36this.list.Add(nodeIterator.Current.Clone());
System\Xml\XPath\Internal\XPathMultyIterator.cs (5)
74Debug.Assert(it.Current != null && itNext.Current != null); 75XmlNodeOrder order = Query.CompareNodes(it.Current, itNext.Current); 129return arr[firstNotEmpty].Current;
System\Xml\XPath\XPathNavigator.cs (3)
1135return iter.Current; 1191Debug.Assert(context.Current != null); 1192return new XPathSelectionIterator(context.Current, query);
System\Xml\XPath\XPathNodeIterator.cs (4)
38private object? debuggerDisplayProxy { get { return Current == null ? null : (object)new XPathNavigator.DebuggerDisplayProxy(Current); } } 66Debug.Assert(_current.Current != null); 67return _current.Current.Clone();
System\Xml\Xsl\XsltOld\ActionFrame.cs (10)
65return _nodeSet.Current; 162SortKey key = new SortKey(numSorts, /*originalPosition:*/results.Count, _newNodeSet!.Current!.Clone()); 271XPathNodeType type = _nodeSet.Current!.NodeType; 274XPathNavigator nav = _nodeSet.Current.Clone(); 278nav.MoveTo(_nodeSet.Current); 281type = _nodeSet.Current.NodeType; 294XPathNodeType type = _newNodeSet.Current!.NodeType; 297XPathNavigator nav = _newNodeSet.Current.Clone(); 301nav.MoveTo(_newNodeSet.Current); 304type = _newNodeSet.Current.NodeType;
System\Xml\Xsl\XsltOld\NumberAction.cs (6)
266if (processor.Matches(sel.Current, _fromKey)) 271else if (MatchCountKey(processor, frame.Node!, sel.Current!)) 275if (sel.Current!.IsSamePosition(endNode)) 293if (MatchCountKey(processor, frame.Node!, sel.Current!)) 297if (sel.Current!.IsSamePosition(endNode)) 379return nodeset.Current!.Value;
System\Xml\Xsl\XsltOld\Processor.cs (1)
636return new XPathSelectionIterator(context.Current!, query);
System\Xml\Xsl\XsltOld\ValueOfAction.cs (1)
103string value = processor.ValueOf(frame.NodeSet.Current!);
System\Xml\Xsl\XsltOld\XsltCompileContext.cs (8)
274Uri uri = ComposeUri(it.Current!.Value, baseUri ?? it.Current.BaseURI); 305XPathNavigator node = sel.Current!; 373AddKeyValue(keyTable, /*key:*/it.Current!.Value!, /*value:*/node!, checkDuplicates); 659return it.Current!.Value; 770return it.Current!.UniqueId; 828baseUri = it.Current!.BaseURI; 887resultCollection = AddToList(resultCollection, (ArrayList?)keyTable[it.Current!.Value]);
System.Security.Cryptography.Xml (3)
System\Security\Cryptography\Xml\XmlDsigXPathTransform.cs (3)
172XmlNode node = ((IHasXmlNode)it.Current!).GetNode(); 174bool include = (bool)it.Current.Evaluate(xpathExpr); 183XmlNode node = ((IHasXmlNode)it.Current!).GetNode();