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

◆ CannotBeNodeSet()

bool System.Xml.Xsl.XPath.XPathQilFactory.CannotBeNodeSet ( QilNode n)
inlineinherited

Definition at line 36 of file XPathQilFactory.cs.

37 {
38 XmlQueryType xmlType = n.XmlType;
39 if (xmlType.IsAtomicValue && !xmlType.IsEmpty)
40 {
41 return !(n is QilIterator);
42 }
43 return false;
44 }

References System.Xml.Dictionary, System.Xml.Xsl.XmlQueryType.IsAtomicValue, and System.Xml.Xsl.XmlQueryType.IsEmpty.

Referenced by System.Xml.Xsl.XPath.XPathBuilder.FunctionInfo< T >.CastArguments(), and System.Xml.Xsl.XPath.XPathQilFactory.TryEnsureNodeSet().