Files
niko c12fbe3fc6 m
2026-04-12 16:51:38 +02:00

210 lines
8.9 KiB
C#

using System;
using System.Collections;
using System.Text;
using Cpp2IlInjected;
namespace System
{
/// <summary>Represents a 3-tuple, or triple.</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>
/// <typeparam name="T3">The type of the tuple's third component.</typeparam>
// Token: 0x0200008A RID: 138
[Token(Token = "0x200008A")]
[Serializable]
public class Tuple<T1, T2, T3> : IStructuralEquatable, IStructuralComparable, IComparable, ITupleInternal
{
/// <summary>Gets the value of the current <see cref="T:System.Tuple`3" /> object's first component.</summary>
/// <returns>The value of the current <see cref="T:System.Tuple`3" /> object's first component.</returns>
// Token: 0x1700007D RID: 125
// (get) Token: 0x0600043C RID: 1084 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x1700007D")]
public T1 Item1
{
[Token(Token = "0x600043C")]
[Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530")]
get
{
return null;
}
}
/// <summary>Gets the value of the current <see cref="T:System.Tuple`3" /> object's second component.</summary>
/// <returns>The value of the current <see cref="T:System.Tuple`3" /> object's second component.</returns>
// Token: 0x1700007E RID: 126
// (get) Token: 0x0600043D RID: 1085 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x1700007E")]
public T2 Item2
{
[Token(Token = "0x600043D")]
[Address(RVA = "0x4157B0", Offset = "0x4147B0", VA = "0x1804157B0")]
get
{
return null;
}
}
/// <summary>Gets the value of the current <see cref="T:System.Tuple`3" /> object's third component.</summary>
/// <returns>The value of the current <see cref="T:System.Tuple`3" /> object's third component.</returns>
// Token: 0x1700007F RID: 127
// (get) Token: 0x0600043E RID: 1086 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x1700007F")]
public T3 Item3
{
[Token(Token = "0x600043E")]
[Address(RVA = "0x470B70", Offset = "0x46FB70", VA = "0x180470B70")]
get
{
return null;
}
}
/// <summary>Initializes a new instance of the <see cref="T:System.Tuple`3" /> 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>
/// <param name="item3">The value of the tuple's third component.</param>
// Token: 0x0600043F RID: 1087 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600043F")]
[Address(RVA = "0x26ED330", Offset = "0x26EC330", VA = "0x1826ED330")]
public Tuple(T1 item1, T2 item2, T3 item3)
{
}
/// <summary>Returns a value that indicates whether the current <see cref="T:System.Tuple`3" /> 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: 0x06000440 RID: 1088 RVA: 0x00004050 File Offset: 0x00002250
[Token(Token = "0x6000440")]
[Address(RVA = "0x3380EA0", Offset = "0x337FEA0", VA = "0x183380EA0", 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`3" /> 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: 0x06000441 RID: 1089 RVA: 0x00004068 File Offset: 0x00002268
[Token(Token = "0x6000441")]
[Address(RVA = "0x33813A0", Offset = "0x33803A0", VA = "0x1833813A0", Slot = "4")]
bool IStructuralEquatable.Equals(object other, IEqualityComparer comparer)
{
return default(bool);
}
/// <summary>Compares the current <see cref="T:System.Tuple`3" /> 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`3" /> object.</exception>
// Token: 0x06000442 RID: 1090 RVA: 0x00004080 File Offset: 0x00002280
[Token(Token = "0x6000442")]
[Address(RVA = "0x33817B0", Offset = "0x33807B0", VA = "0x1833817B0", Slot = "7")]
int IComparable.CompareTo(object obj)
{
return 0;
}
/// <summary>Compares the current <see cref="T:System.Tuple`3" /> 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`3" /> object.</exception>
// Token: 0x06000443 RID: 1091 RVA: 0x00004098 File Offset: 0x00002298
[Token(Token = "0x6000443")]
[Address(RVA = "0x33811B0", Offset = "0x33801B0", VA = "0x1833811B0", Slot = "6")]
int IStructuralComparable.CompareTo(object other, IComparer comparer)
{
return 0;
}
/// <summary>Returns the hash code for the current <see cref="T:System.Tuple`3" /> object.</summary>
/// <returns>A 32-bit signed integer hash code.</returns>
// Token: 0x06000444 RID: 1092 RVA: 0x000040B0 File Offset: 0x000022B0
[Token(Token = "0x6000444")]
[Address(RVA = "0x3380FB0", Offset = "0x337FFB0", VA = "0x183380FB0", Slot = "2")]
public override int GetHashCode()
{
return 0;
}
/// <summary>Calculates the hash code for the current <see cref="T:System.Tuple`3" /> 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`3" /> object.</param>
/// <returns>A 32-bit signed integer hash code.</returns>
// Token: 0x06000445 RID: 1093 RVA: 0x000040C8 File Offset: 0x000022C8
[Token(Token = "0x6000445")]
[Address(RVA = "0x33816C0", Offset = "0x33806C0", VA = "0x1833816C0", Slot = "5")]
int IStructuralEquatable.GetHashCode(IEqualityComparer comparer)
{
return 0;
}
/// <summary>Returns a string that represents the value of this <see cref="T:System.Tuple`3" /> instance.</summary>
/// <returns>The string representation of this <see cref="T:System.Tuple`3" /> object.</returns>
// Token: 0x06000446 RID: 1094 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6000446")]
[Address(RVA = "0x3381A90", Offset = "0x3380A90", VA = "0x183381A90", Slot = "3")]
public override string ToString()
{
return null;
}
// Token: 0x06000447 RID: 1095 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6000447")]
[Address(RVA = "0x33818D0", Offset = "0x33808D0", VA = "0x1833818D0", Slot = "8")]
string ITupleInternal.ToString(StringBuilder sb)
{
return null;
}
// Token: 0x040001D8 RID: 472
[FieldOffset(Offset = "0x0")]
[Token(Token = "0x40001D8")]
private readonly T1 m_Item1;
// Token: 0x040001D9 RID: 473
[FieldOffset(Offset = "0x0")]
[Token(Token = "0x40001D9")]
private readonly T2 m_Item2;
// Token: 0x040001DA RID: 474
[FieldOffset(Offset = "0x0")]
[Token(Token = "0x40001DA")]
private readonly T3 m_Item3;
}
}