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

◆ CompareTo() [5/48]

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

Definition at line 896 of file ValueTuple.cs.

897 {
898 int num = Comparer<T1>.Default.Compare(Item1, other.Item1);
899 if (num != 0)
900 {
901 return num;
902 }
903 num = Comparer<T2>.Default.Compare(Item2, other.Item2);
904 if (num != 0)
905 {
906 return num;
907 }
908 num = Comparer<T3>.Default.Compare(Item3, other.Item3);
909 if (num != 0)
910 {
911 return num;
912 }
913 num = Comparer<T4>.Default.Compare(Item4, other.Item4);
914 if (num != 0)
915 {
916 return num;
917 }
918 num = Comparer<T5>.Default.Compare(Item5, other.Item5);
919 if (num != 0)
920 {
921 return num;
922 }
923 return Comparer<T6>.Default.Compare(Item6, other.Item6);
924 }

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