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

◆ Matches

virtual bool MS.Internal.Xml.XPath.XPathAxisIterator.Matches
getprotectedinherited

Definition at line 26 of file XPathAxisIterator.cs.

27 {
28 get
29 {
30 if (name == null)
31 {
32 if (type != nav.NodeType && type != XPathNodeType.All)
33 {
34 if (type == XPathNodeType.Text)
35 {
36 if (nav.NodeType != XPathNodeType.Whitespace)
37 {
38 return nav.NodeType == XPathNodeType.SignificantWhitespace;
39 }
40 return true;
41 }
42 return false;
43 }
44 return true;
45 }
46 if (nav.NodeType == XPathNodeType.Element && (name.Length == 0 || name == nav.LocalName))
47 {
48 return uri == nav.NamespaceURI;
49 }
50 return false;
51 }
52 }

Referenced by MS.Internal.Xml.XPath.XPathAncestorIterator.MoveNext(), MS.Internal.Xml.XPath.XPathChildIterator.MoveNext(), and MS.Internal.Xml.XPath.XPathDescendantIterator.MoveNext().