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

◆ Matches() [2/2]

virtual bool System.Xml.XPath.XPathNavigator.Matches ( XPathExpression expr)
inlinevirtualinherited

Definition at line 1353 of file XPathNavigator.cs.

1354 {
1356 {
1357 throw XPathException.Create(System.SR.Xp_BadQueryObject);
1358 }
1360 try
1361 {
1362 return query.MatchNode(this) != null;
1363 }
1364 catch (XPathException)
1365 {
1366 throw XPathException.Create(System.SR.Xp_InvalidPattern, compiledXpathExpr.Expression);
1367 }
1368 }
static Query Clone(Query input)
Definition Query.cs:66
static string Xp_BadQueryObject
Definition SR.cs:1252
static string Xp_InvalidPattern
Definition SR.cs:1248
Definition SR.cs:7

References MS.Internal.Xml.XPath.Query.Clone(), System.Xml.XPath.XPathException.Create(), System.SR.Xp_BadQueryObject, and System.SR.Xp_InvalidPattern.

Referenced by System.Xml.XPath.XPathNavigator.Matches().