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

◆ CompareTo() [4/48]

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

Definition at line 728 of file ValueTuple.cs.

729 {
730 int num = Comparer<T1>.Default.Compare(Item1, other.Item1);
731 if (num != 0)
732 {
733 return num;
734 }
735 num = Comparer<T2>.Default.Compare(Item2, other.Item2);
736 if (num != 0)
737 {
738 return num;
739 }
740 num = Comparer<T3>.Default.Compare(Item3, other.Item3);
741 if (num != 0)
742 {
743 return num;
744 }
745 num = Comparer<T4>.Default.Compare(Item4, other.Item4);
746 if (num != 0)
747 {
748 return num;
749 }
750 return Comparer<T5>.Default.Compare(Item5, other.Item5);
751 }

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, System.ValueTuple< T1, T2, T3, T4, T5, T6, T7, TRest >.Item5, and System.other.