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

◆ ToStringEnd() [9/9]

string IValueTupleInternal. System.ValueTuple< T1, T2, T3, T4, T5, T6, T7, TRest >.ToStringEnd ( )
inline

Implements System.IValueTupleInternal.

Definition at line 2354 of file ValueTuple.cs.

2355 {
2356 string[] array;
2357 T1 val;
2358 object obj;
2359 if (Rest is IValueTupleInternal)
2360 {
2361 array = new string[15];
2362 ref T1 reference = ref Item1;
2363 val = default(T1);
2364 if (val == null)
2365 {
2366 val = reference;
2367 reference = ref val;
2368 if (val == null)
2369 {
2370 obj = null;
2371 goto IL_0053;
2372 }
2373 }
2374 obj = reference.ToString();
2375 goto IL_0053;
2376 }
2377 string[] array2 = new string[16];
2378 ref T1 reference2 = ref Item1;
2379 val = default(T1);
2380 object obj2;
2381 if (val == null)
2382 {
2383 val = reference2;
2384 reference2 = ref val;
2385 if (val == null)
2386 {
2387 obj2 = null;
2388 goto IL_0247;
2389 }
2390 }
2391 obj2 = reference2.ToString();
2392 goto IL_0247;
2393 IL_0156:
2394 object obj3;
2395 array[8] = (string)obj3;
2396 array[9] = ", ";
2397 ref T6 reference3 = ref Item6;
2398 T6 val2 = default(T6);
2399 object obj4;
2400 if (val2 == null)
2401 {
2402 val2 = reference3;
2404 if (val2 == null)
2405 {
2406 obj4 = null;
2407 goto IL_019b;
2408 }
2409 }
2410 obj4 = reference3.ToString();
2411 goto IL_019b;
2412 IL_0307:
2413 object obj5;
2414 array2[6] = (string)obj5;
2415 array2[7] = ", ";
2416 ref T5 reference4 = ref Item5;
2417 T5 val3 = default(T5);
2418 object obj6;
2419 if (val3 == null)
2420 {
2421 val3 = reference4;
2423 if (val3 == null)
2424 {
2425 obj6 = null;
2426 goto IL_034a;
2427 }
2428 }
2429 obj6 = reference4.ToString();
2430 goto IL_034a;
2431 IL_0093:
2432 object obj7;
2433 array[2] = (string)obj7;
2434 array[3] = ", ";
2435 ref T3 reference5 = ref Item3;
2436 T3 val4 = default(T3);
2437 object obj8;
2438 if (val4 == null)
2439 {
2440 val4 = reference5;
2442 if (val4 == null)
2443 {
2444 obj8 = null;
2445 goto IL_00d3;
2446 }
2447 }
2448 obj8 = reference5.ToString();
2449 goto IL_00d3;
2450 IL_0053:
2451 array[0] = (string)obj;
2452 array[1] = ", ";
2453 ref T2 reference6 = ref Item2;
2454 T2 val5 = default(T2);
2455 if (val5 == null)
2456 {
2457 val5 = reference6;
2459 if (val5 == null)
2460 {
2461 obj7 = null;
2462 goto IL_0093;
2463 }
2464 }
2465 obj7 = reference6.ToString();
2466 goto IL_0093;
2467 IL_0247:
2468 array2[0] = (string)obj2;
2469 array2[1] = ", ";
2470 ref T2 reference7 = ref Item2;
2471 val5 = default(T2);
2472 object obj9;
2473 if (val5 == null)
2474 {
2475 val5 = reference7;
2477 if (val5 == null)
2478 {
2479 obj9 = null;
2480 goto IL_0287;
2481 }
2482 }
2483 obj9 = reference7.ToString();
2484 goto IL_0287;
2485 IL_00d3:
2486 array[4] = (string)obj8;
2487 array[5] = ", ";
2488 ref T4 reference8 = ref Item4;
2489 T4 val6 = default(T4);
2490 object obj10;
2491 if (val6 == null)
2492 {
2493 val6 = reference8;
2495 if (val6 == null)
2496 {
2497 obj10 = null;
2498 goto IL_0113;
2499 }
2500 }
2501 obj10 = reference8.ToString();
2502 goto IL_0113;
2503 IL_038f:
2504 object obj11;
2505 array2[10] = (string)obj11;
2506 array2[11] = ", ";
2507 ref T7 reference9 = ref Item7;
2508 T7 val7 = default(T7);
2509 object obj12;
2510 if (val7 == null)
2511 {
2512 val7 = reference9;
2514 if (val7 == null)
2515 {
2516 obj12 = null;
2517 goto IL_03d4;
2518 }
2519 }
2520 obj12 = reference9.ToString();
2521 goto IL_03d4;
2522 IL_034a:
2523 array2[8] = (string)obj6;
2524 array2[9] = ", ";
2525 ref T6 reference10 = ref Item6;
2526 val2 = default(T6);
2527 if (val2 == null)
2528 {
2529 val2 = reference10;
2531 if (val2 == null)
2532 {
2533 obj11 = null;
2534 goto IL_038f;
2535 }
2536 }
2537 obj11 = reference10.ToString();
2538 goto IL_038f;
2539 IL_0287:
2540 array2[2] = (string)obj9;
2541 array2[3] = ", ";
2542 ref T3 reference11 = ref Item3;
2543 val4 = default(T3);
2544 object obj13;
2545 if (val4 == null)
2546 {
2547 val4 = reference11;
2549 if (val4 == null)
2550 {
2551 obj13 = null;
2552 goto IL_02c7;
2553 }
2554 }
2555 obj13 = reference11.ToString();
2556 goto IL_02c7;
2557 IL_01e0:
2558 object obj14;
2559 array[12] = (string)obj14;
2560 array[13] = ", ";
2561 array[14] = ((IValueTupleInternal)(object)Rest).ToStringEnd();
2562 return string.Concat(array);
2563 IL_019b:
2564 array[10] = (string)obj4;
2565 array[11] = ", ";
2566 ref T7 reference12 = ref Item7;
2567 val7 = default(T7);
2568 if (val7 == null)
2569 {
2570 val7 = reference12;
2572 if (val7 == null)
2573 {
2574 obj14 = null;
2575 goto IL_01e0;
2576 }
2577 }
2578 obj14 = reference12.ToString();
2579 goto IL_01e0;
2580 IL_0113:
2581 array[6] = (string)obj10;
2582 array[7] = ", ";
2583 ref T5 reference13 = ref Item5;
2584 val3 = default(T5);
2585 if (val3 == null)
2586 {
2587 val3 = reference13;
2589 if (val3 == null)
2590 {
2591 obj3 = null;
2592 goto IL_0156;
2593 }
2594 }
2595 obj3 = reference13.ToString();
2596 goto IL_0156;
2597 IL_02c7:
2598 array2[4] = (string)obj13;
2599 array2[5] = ", ";
2600 ref T4 reference14 = ref Item4;
2601 val6 = default(T4);
2602 if (val6 == null)
2603 {
2604 val6 = reference14;
2606 if (val6 == null)
2607 {
2608 obj5 = null;
2609 goto IL_0307;
2610 }
2611 }
2612 obj5 = reference14.ToString();
2613 goto IL_0307;
2614 IL_03d4:
2615 array2[12] = (string)obj12;
2616 array2[13] = ", ";
2617 array2[14] = Rest.ToString();
2618 array2[15] = ")";
2619 return string.Concat(array2);
2620 }
string IValueTupleInternal. ToStringEnd()
Definition ValueTuple.cs:90

References System.array, 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.obj, System.ValueTuple< T1, T2, T3, T4, T5, T6, T7, TRest >.Rest, and System.ValueTuple< T1, T2, T3, T4, T5, T6, T7, TRest >.ToStringEnd().