record value · System

ValueTuple<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12>

public record value ValueTuple<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12> : IToString, IHashable<(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12)>

12 items in a value: Item1…Item12, which can be changed.

Kind
record value
Namespace
System
Assembly
System.Core
Access
public, record
Source file
Tuples.ant

Type parameters

NameConstraints
T1any type
T2any type
T3any type
T4any type
T5any type
T6any type
T7any type
T8any type
T9any type
T10any type
T11any type
T12any type

Inheritance

Interfaces
IToString IHashable<TSelf>

Constructors

new(T1 Item1, T2 Item2, T3 Item3, T4 Item4, T5 Item5, T6 Item6, T7 Item7, T8 Item8, T9 Item9, T10 Item10, T11 Item11, T12 Item12)
#

Methods

ToTuple() : Tuple<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12>
#

The same items in a Tuple (a class).

ToString() : str
#
Hash() : u64
#
Equals((T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) other) : bool
#

Fields

T1 Item1
#
T2 Item2
#
T3 Item3
#
T4 Item4
#
T5 Item5
#
T6 Item6
#
T7 Item7
#
T8 Item8
#
T9 Item9
#
T10 Item10
#
T11 Item11
#
T12 Item12
#

Source

ValueTuple<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12> as Antril, decompiled from its Larva HIR.

System.ValueTuple`12.ant
// System.ValueTuple — System.Core (decompiled from Larva HIR)

into namespace System
{
	/// 12 items in a value: Item1…Item12, which can be changed.
	public record value ValueTuple<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12> : IToString, IHashable<(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12)>
	{
		public:
			T1 Item1;
			T2 Item2;
			T3 Item3;
			T4 Item4;
			T5 Item5;
			T6 Item6;
			T7 Item7;
			T8 Item8;
			T9 Item9;
			T10 Item10;
			T11 Item11;
			T12 Item12;

			new(T1 Item1, T2 Item2, T3 Item3, T4 Item4, T5 Item5, T6 Item6, T7 Item7, T8 Item8, T9 Item9, T10 Item10, T11 Item11, T12 Item12)
			{
				this.Item1 = Item1;
				this.Item2 = Item2;
				this.Item3 = Item3;
				this.Item4 = Item4;
				this.Item5 = Item5;
				this.Item6 = Item6;
				this.Item7 = Item7;
				this.Item8 = Item8;
				this.Item9 = Item9;
				this.Item10 = Item10;
				this.Item11 = Item11;
				this.Item12 = Item12;
			}

			/// The same items in a Tuple (a class).
			ToTuple() : Tuple<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12>
			{
				return new Tuple<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12>(Item1, Item2, Item3, Item4, Item5, Item6, Item7, Item8, Item9, Item10, Item11, Item12);
			}
	}
}
Esc