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