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

◆ CompareNodeSetAndNodeSet()

static bool System.Xml.Xsl.Runtime.XsltLibrary.CompareNodeSetAndNodeSet ( ComparisonOperator op,
IList< XPathNavigator > left,
IList< XPathNavigator > right,
TypeCode compType )
inlinestaticprivate

Definition at line 299 of file XsltLibrary.cs.

300 {
301 int count = left.Count;
302 int count2 = right.Count;
303 for (int i = 0; i < count; i++)
304 {
305 for (int j = 0; j < count2; j++)
306 {
307 if (CompareValues(op, left[i], right[j], compType))
308 {
309 return true;
310 }
311 }
312 }
313 return false;
314 }
static bool CompareValues(ComparisonOperator op, XPathItem left, XPathItem right, TypeCode compType)

References System.Xml.Xsl.Runtime.XsltLibrary.CompareValues(), System.count, System.Collections.Generic.Dictionary< TKey, TValue >.Count, and System.Xml.Dictionary.

Referenced by System.Xml.Xsl.Runtime.XsltLibrary.EqualityOperator(), and System.Xml.Xsl.Runtime.XsltLibrary.RelationalOperator().