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

◆ CompareTo() [48/48]

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

Definition at line 1309 of file ValueTuple.cs.

1310 {
1311 int num = Comparer<T1>.Default.Compare(Item1, other.Item1);
1312 if (num != 0)
1313 {
1314 return num;
1315 }
1316 num = Comparer<T2>.Default.Compare(Item2, other.Item2);
1317 if (num != 0)
1318 {
1319 return num;
1320 }
1321 num = Comparer<T3>.Default.Compare(Item3, other.Item3);
1322 if (num != 0)
1323 {
1324 return num;
1325 }
1326 num = Comparer<T4>.Default.Compare(Item4, other.Item4);
1327 if (num != 0)
1328 {
1329 return num;
1330 }
1331 num = Comparer<T5>.Default.Compare(Item5, other.Item5);
1332 if (num != 0)
1333 {
1334 return num;
1335 }
1336 num = Comparer<T6>.Default.Compare(Item6, other.Item6);
1337 if (num != 0)
1338 {
1339 return num;
1340 }
1341 num = Comparer<T7>.Default.Compare(Item7, other.Item7);
1342 if (num != 0)
1343 {
1344 return num;
1345 }
1346 return Comparer<TRest>.Default.Compare(Rest, other.Rest);
1347 }

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