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

◆ IsSameNodeSort()

bool System.Xml.Xsl.Runtime.XsltLibrary.IsSameNodeSort ( XPathNavigator nav1,
XPathNavigator nav2 )
inline

Definition at line 373 of file XsltLibrary.cs.

374 {
375 XPathNodeType nodeType = nav1.NodeType;
376 XPathNodeType nodeType2 = nav2.NodeType;
377 if (XPathNodeType.Text <= nodeType && nodeType <= XPathNodeType.Whitespace)
378 {
379 if (XPathNodeType.Text <= nodeType2)
380 {
381 return nodeType2 <= XPathNodeType.Whitespace;
382 }
383 return false;
384 }
385 if (nodeType == nodeType2 && Ref.Equal(nav1.LocalName, nav2.LocalName))
386 {
387 return Ref.Equal(nav1.NamespaceURI, nav2.NamespaceURI);
388 }
389 return false;
390 }

References System.Xml.Ref.Equal().