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

◆ ElementMatch()

bool MS.Internal.Xml.Cache.XPathNode.ElementMatch ( string localName,
string namespaceName )
inline

Definition at line 148 of file XPathNode.cs.

149 {
150 if (NodeType == XPathNodeType.Element && (object)_info.LocalName == localName)
151 {
152 return _info.NamespaceUri == namespaceName;
153 }
154 return false;
155 }
XPathNodeInfoAtom _info
Definition XPathNode.cs:7

References MS.Internal.Xml.Cache.XPathNode._info, MS.Internal.Xml.Cache.XPathNodeInfoAtom.LocalName, and MS.Internal.Xml.Cache.XPathNode.NodeType.

Referenced by MS.Internal.Xml.Cache.XPathDocumentNavigator.IsElementMatch().