Files
2026-04-10 22:50:51 +02:00

188 lines
8.1 KiB
C#

using System;
using System.Collections;
using System.Text;
using Cpp2IlInjected;
namespace System
{
/// <summary>Represents a 2-tuple, or pair.</summary>
/// <typeparam name="T1">The type of the tuple's first component.</typeparam>
/// <typeparam name="T2">The type of the tuple's second component.</typeparam>
// Token: 0x02000083 RID: 131
[Token(Token = "0x2000083")]
[Serializable]
public class Tuple<T1, T2> : IStructuralEquatable, IStructuralComparable, IComparable, ITupleInternal
{
/// <summary>Gets the value of the current <see cref="T:System.Tuple`2" /> object's first component.</summary>
/// <returns>The value of the current <see cref="T:System.Tuple`2" /> object's first component.</returns>
// Token: 0x17000077 RID: 119
// (get) Token: 0x06000418 RID: 1048 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x17000077")]
public T1 Item1
{
[Token(Token = "0x6000418")]
[Address(RVA = "0x899630", Offset = "0x898430", VA = "0x180899630")]
get
{
return null;
}
}
/// <summary>Gets the value of the current <see cref="T:System.Tuple`2" /> object's second component.</summary>
/// <returns>The value of the current <see cref="T:System.Tuple`2" /> object's second component.</returns>
// Token: 0x17000078 RID: 120
// (get) Token: 0x06000419 RID: 1049 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x17000078")]
public T2 Item2
{
[Token(Token = "0x6000419")]
[Address(RVA = "0x1D64DD0", Offset = "0x1D63BD0", VA = "0x181D64DD0")]
get
{
return null;
}
}
/// <summary>Initializes a new instance of the <see cref="T:System.Tuple`2" /> class.</summary>
/// <param name="item1">The value of the tuple's first component.</param>
/// <param name="item2">The value of the tuple's second component.</param>
// Token: 0x0600041A RID: 1050 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600041A")]
[Address(RVA = "0x2FFC530", Offset = "0x2FFB330", VA = "0x182FFC530")]
public Tuple(T1 item1, T2 item2)
{
}
/// <summary>Returns a value that indicates whether the current <see cref="T:System.Tuple`2" /> object is equal to a specified object.</summary>
/// <param name="obj">The object to compare with this instance.</param>
/// <returns>
/// <see langword="true" /> if the current instance is equal to the specified object; otherwise, <see langword="false" />.</returns>
// Token: 0x0600041B RID: 1051 RVA: 0x00003ED0 File Offset: 0x000020D0
[Token(Token = "0x600041B")]
[Address(RVA = "0x2FF7700", Offset = "0x2FF6500", VA = "0x182FF7700", Slot = "0")]
public override bool Equals(object obj)
{
return default(bool);
}
/// <summary>Returns a value that indicates whether the current <see cref="T:System.Tuple`2" /> object is equal to a specified object based on a specified comparison method.</summary>
/// <param name="other">The object to compare with this instance.</param>
/// <param name="comparer">An object that defines the method to use to evaluate whether the two objects are equal.</param>
/// <returns>
/// <see langword="true" /> if the current instance is equal to the specified object; otherwise, <see langword="false" />.</returns>
// Token: 0x0600041C RID: 1052 RVA: 0x00003EE8 File Offset: 0x000020E8
[Token(Token = "0x600041C")]
[Address(RVA = "0x2FFA270", Offset = "0x2FF9070", VA = "0x182FFA270", Slot = "4")]
bool IStructuralEquatable.Equals(object other, IEqualityComparer comparer)
{
return default(bool);
}
/// <summary>Compares the current <see cref="T:System.Tuple`2" /> object to a specified object and returns an integer that indicates whether the current object is before, after, or in the same position as the specified object in the sort order.</summary>
/// <param name="obj">An object to compare with the current instance.</param>
/// <returns>A signed integer that indicates the relative position of this instance and <paramref name="obj" /> in the sort order, as shown in the following table.
/// Value
///
/// Description
///
/// A negative integer
///
/// This instance precedes <paramref name="obj" />.
///
/// Zero
///
/// This instance and <paramref name="obj" /> have the same position in the sort order.
///
/// A positive integer
///
/// This instance follows <paramref name="obj" />.</returns>
/// <exception cref="T:System.ArgumentException">
/// <paramref name="obj" /> is not a <see cref="T:System.Tuple`2" /> object.</exception>
// Token: 0x0600041D RID: 1053 RVA: 0x00003F00 File Offset: 0x00002100
[Token(Token = "0x600041D")]
[Address(RVA = "0x2FFB370", Offset = "0x2FFA170", VA = "0x182FFB370", Slot = "7")]
int IComparable.CompareTo(object obj)
{
return 0;
}
/// <summary>Compares the current <see cref="T:System.Tuple`2" /> object to a specified object by using a specified comparer, and returns an integer that indicates whether the current object is before, after, or in the same position as the specified object in the sort order.</summary>
/// <param name="other">An object to compare with the current instance.</param>
/// <param name="comparer">An object that provides custom rules for comparison.</param>
/// <returns>A signed integer that indicates the relative position of this instance and <paramref name="other" /> in the sort order, as shown in the following table.
/// Value
///
/// Description
///
/// A negative integer
///
/// This instance precedes <paramref name="other" />.
///
/// Zero
///
/// This instance and <paramref name="other" /> have the same position in the sort order.
///
/// A positive integer
///
/// This instance follows <paramref name="other" />.</returns>
/// <exception cref="T:System.ArgumentException">
/// <paramref name="other" /> is not a <see cref="T:System.Tuple`2" /> object.</exception>
// Token: 0x0600041E RID: 1054 RVA: 0x00003F18 File Offset: 0x00002118
[Token(Token = "0x600041E")]
[Address(RVA = "0x2FF8900", Offset = "0x2FF7700", VA = "0x182FF8900", Slot = "6")]
int IStructuralComparable.CompareTo(object other, IComparer comparer)
{
return 0;
}
/// <summary>Returns the hash code for the current <see cref="T:System.Tuple`2" /> object.</summary>
/// <returns>A 32-bit signed integer hash code.</returns>
// Token: 0x0600041F RID: 1055 RVA: 0x00003F30 File Offset: 0x00002130
[Token(Token = "0x600041F")]
[Address(RVA = "0x2FF80A0", Offset = "0x2FF6EA0", VA = "0x182FF80A0", Slot = "2")]
public override int GetHashCode()
{
return 0;
}
/// <summary>Calculates the hash code for the current <see cref="T:System.Tuple`2" /> object by using a specified computation method.</summary>
/// <param name="comparer">An object whose <see cref="M:System.Collections.IEqualityComparer.GetHashCode(System.Object)" /> method calculates the hash code of the current <see cref="T:System.Tuple`2" /> object.</param>
/// <returns>A 32-bit signed integer hash code.</returns>
// Token: 0x06000420 RID: 1056 RVA: 0x00003F48 File Offset: 0x00002148
[Token(Token = "0x6000420")]
[Address(RVA = "0x2FFA9F0", Offset = "0x2FF97F0", VA = "0x182FFA9F0", Slot = "5")]
int IStructuralEquatable.GetHashCode(IEqualityComparer comparer)
{
return 0;
}
/// <summary>Returns a string that represents the value of this <see cref="T:System.Tuple`2" /> instance.</summary>
/// <returns>The string representation of this <see cref="T:System.Tuple`2" /> object.</returns>
// Token: 0x06000421 RID: 1057 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6000421")]
[Address(RVA = "0x2FFC130", Offset = "0x2FFAF30", VA = "0x182FFC130", Slot = "3")]
public override string ToString()
{
return null;
}
// Token: 0x06000422 RID: 1058 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6000422")]
[Address(RVA = "0x2FFB710", Offset = "0x2FFA510", VA = "0x182FFB710", Slot = "8")]
string ITupleInternal.ToString(StringBuilder sb)
{
return null;
}
// Token: 0x040001CC RID: 460
[FieldOffset(Offset = "0x0")]
[Token(Token = "0x40001CC")]
private readonly T1 m_Item1;
// Token: 0x040001CD RID: 461
[FieldOffset(Offset = "0x0")]
[Token(Token = "0x40001CD")]
private readonly T2 m_Item2;
}
}