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

◆ CompareTo() [6/48]

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

Definition at line 1078 of file ValueTuple.cs.

1079 {
1080 int num = Comparer<T1>.Default.Compare(Item1, other.Item1);
1081 if (num != 0)
1082 {
1083 return num;
1084 }
1085 num = Comparer<T2>.Default.Compare(Item2, other.Item2);
1086 if (num != 0)
1087 {
1088 return num;
1089 }
1090 num = Comparer<T3>.Default.Compare(Item3, other.Item3);
1091 if (num != 0)
1092 {
1093 return num;
1094 }
1095 num = Comparer<T4>.Default.Compare(Item4, other.Item4);
1096 if (num != 0)
1097 {
1098 return num;
1099 }
1100 num = Comparer<T5>.Default.Compare(Item5, other.Item5);
1101 if (num != 0)
1102 {
1103 return num;
1104 }
1105 num = Comparer<T6>.Default.Compare(Item6, other.Item6);
1106 if (num != 0)
1107 {
1108 return num;
1109 }
1110 return Comparer<T7>.Default.Compare(Item7, other.Item7);
1111 }

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