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

◆ matches()

override bool MS.Internal.Xml.XPath.NamespaceQuery.matches ( XPathNavigator e)
inlinevirtual

Reimplemented from MS.Internal.Xml.XPath.BaseAxisQuery.

Definition at line 51 of file NamespaceQuery.cs.

52 {
53 if (e.Value.Length == 0)
54 {
55 return false;
56 }
57 if (base.NameTest)
58 {
59 return base.Name.Equals(e.LocalName);
60 }
61 return true;
62 }

References System.Xml.XPath.XPathNavigator.LocalName, and System.Xml.XPath.XPathItem.Value.

Referenced by MS.Internal.Xml.XPath.NamespaceQuery.Advance().