Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ MatchNode()

override XPathNavigator MS.Internal.Xml.XPath.FunctionQuery.MatchNode ( XPathNavigator navigator)
inlinevirtual

Reimplemented from MS.Internal.Xml.XPath.Query.

Definition at line 98 of file FunctionQuery.cs.

99 {
100 if (name != "key" && prefix.Length != 0)
101 {
103 }
104 Evaluate(new XPathSingletonIterator(navigator, moved: true));
106 while ((xPathNavigator = Advance()) != null)
107 {
108 if (xPathNavigator.IsSamePosition(navigator))
109 {
110 return xPathNavigator;
111 }
112 }
113 return xPathNavigator;
114 }
override XPathNavigator Advance()
override object Evaluate(XPathNodeIterator nodeIterator)
static string Xp_InvalidPattern
Definition SR.cs:1248
Definition SR.cs:7
static XPathException Create(string res)

References MS.Internal.Xml.XPath.ExtensionQuery.Advance(), System.Xml.XPath.XPathException.Create(), MS.Internal.Xml.XPath.FunctionQuery.Evaluate(), MS.Internal.Xml.XPath.ExtensionQuery.name, MS.Internal.Xml.XPath.ExtensionQuery.prefix, and System.SR.Xp_InvalidPattern.