class · System

Tuple<T1>

public class System.Tuple<T1> : System.Any, System.IToString, System.IHashable<System.Tuple<T1>>

1 item in an object: Item1, fixed when it is made.

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

Type parameters

NameConstraints
T1any type

Inheritance

Base classes
Any Tuple<T1>
Interfaces
IToString IHashable<TSelf>

Constructors

constructor Tuple(Item1: T1)
#

Methods

method ToValueTuple() -> System.ValueTuple<T1>
#

The same items in a ValueTuple.

method ToString() -> System.String<u8>
#

override

method Hash() -> u64
#

override

method Equals(other: System.Tuple<T1>) -> bool
#

Fields

field Item1: T1
#

Inherited members (3)

Source

Tuple<T1> as Larva HIR, decompiled from its Larva HIR.

System.Tuple`1.hir
// 1 item in an object: Item1, fixed when it is made.
public class System.Tuple<T1> : System.Any, System.IToString, System.IHashable<System.Tuple<T1>>
{
    field Item1: T1
    constructor Tuple(Item1: T1)
    // The same items in a ValueTuple.
    method ToValueTuple() -> System.ValueTuple<T1>
    method ToString() -> System.String<u8>
    method Hash() -> u64
    method Equals(other: System.Tuple<T1>) -> bool
}
Esc