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

◆ CompareTo() [3/48]

int System.ValueTuple< T1, T2, T3, T4, T5, T6, T7, TRest >.CompareTo ( (T1, T2, T3, T4) other)
inline

Definition at line 574 of file ValueTuple.cs.

575 {
576 int num = Comparer<T1>.Default.Compare(Item1, other.Item1);
577 if (num != 0)
578 {
579 return num;
580 }
581 num = Comparer<T2>.Default.Compare(Item2, other.Item2);
582 if (num != 0)
583 {
584 return num;
585 }
586 num = Comparer<T3>.Default.Compare(Item3, other.Item3);
587 if (num != 0)
588 {
589 return num;
590 }
591 return Comparer<T4>.Default.Compare(Item4, other.Item4);
592 }

References System.ValueTuple< T1, T2, T3, T4, T5, T6, T7, TRest >.Item1, System.ValueTuple< T1, T2, T3, T4, T5, T6, T7, TRest >.Item2, System.ValueTuple< T1, T2, T3, T4, T5, T6, T7, TRest >.Item3, System.ValueTuple< T1, T2, T3, T4, T5, T6, T7, TRest >.Item4, and System.other.