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

195 lines
9.0 KiB
C#

using System;
using System.Collections;
using System.Runtime.InteropServices;
using Cpp2IlInjected;
namespace System
{
/// <summary>Represents a value tuple with 2 components.</summary>
/// <typeparam name="T1">The type of the value tuple's first element.</typeparam>
/// <typeparam name="T2">The type of the value tuple's second element.</typeparam>
// Token: 0x02000077 RID: 119
[Token(Token = "0x2000077")]
[Serializable]
[StructLayout(3)]
public struct ValueTuple<T1, T2> : IEquatable<ValueTuple<T1, T2>>, IStructuralEquatable, IStructuralComparable, IComparable, IComparable<ValueTuple<T1, T2>>
{
/// <summary>Initializes a new <see cref="T:System.ValueTuple`2" /> instance.</summary>
/// <param name="item1">The value tuple's first element.</param>
/// <param name="item2">The value tuple's second element.</param>
// Token: 0x06000326 RID: 806 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000326")]
[Address(RVA = "0x479F00", Offset = "0x478D00", VA = "0x180479F00")]
public ValueTuple(T1 item1, T2 item2)
{
}
/// <summary>Returns a value that indicates whether the current <see cref="T:System.ValueTuple`2" /> instance 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: 0x06000327 RID: 807 RVA: 0x00003528 File Offset: 0x00001728
[Token(Token = "0x6000327")]
[Address(RVA = "0x2F50240", Offset = "0x2F4F040", VA = "0x182F50240", Slot = "0")]
public override bool Equals(object obj)
{
return default(bool);
}
/// <summary>Returns a value that indicates whether the current <see cref="T:System.ValueTuple`2" /> instance is equal to a specified <see cref="T:System.ValueTuple`2" /> instance.</summary>
/// <param name="other">The value tuple to compare with this instance.</param>
/// <returns>
/// <see langword="true" /> if the current instance is equal to the specified tuple; otherwise, <see langword="false" />.</returns>
// Token: 0x06000328 RID: 808 RVA: 0x00003540 File Offset: 0x00001740
[Token(Token = "0x6000328")]
[Address(RVA = "0x2F51010", Offset = "0x2F4FE10", VA = "0x182F51010", Slot = "4")]
public bool Equals(ValueTuple<T1, T2> other)
{
return default(bool);
}
/// <summary>Returns a value that indicates whether the current <see cref="T:System.ValueTuple`2" /> instance 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 objects; otherwise, <see langword="false" />.</returns>
// Token: 0x06000329 RID: 809 RVA: 0x00003558 File Offset: 0x00001758
[Token(Token = "0x6000329")]
[Address(RVA = "0x3005150", Offset = "0x3003F50", VA = "0x183005150", Slot = "5")]
bool IStructuralEquatable.Equals(object other, IEqualityComparer comparer)
{
return default(bool);
}
/// <summary>Compares the current <see cref="T:System.ValueTuple`2" /> instance 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">The 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="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>
// Token: 0x0600032A RID: 810 RVA: 0x00003570 File Offset: 0x00001770
[Token(Token = "0x600032A")]
[Address(RVA = "0x3006E90", Offset = "0x3005C90", VA = "0x183006E90", Slot = "8")]
int IComparable.CompareTo(object other)
{
return 0;
}
/// <summary>Compares the current <see cref="T:System.ValueTuple`2" /> instance to a specified <see cref="T:System.ValueTuple`2" /> instance.</summary>
/// <param name="other">The tuple to compare with this instance.</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>
// Token: 0x0600032B RID: 811 RVA: 0x00003588 File Offset: 0x00001788
[Token(Token = "0x600032B")]
[Address(RVA = "0x2F4EE80", Offset = "0x2F4DC80", VA = "0x182F4EE80", Slot = "9")]
public int CompareTo(ValueTuple<T1, T2> other)
{
return 0;
}
/// <summary>Compares the current <see cref="T:System.ValueTuple`2" /> instance 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">The 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>
// Token: 0x0600032C RID: 812 RVA: 0x000035A0 File Offset: 0x000017A0
[Token(Token = "0x600032C")]
[Address(RVA = "0x3002A70", Offset = "0x3001870", VA = "0x183002A70", Slot = "7")]
int IStructuralComparable.CompareTo(object other, IComparer comparer)
{
return 0;
}
/// <summary>Calculates the hash code for the current <see cref="T:System.ValueTuple`2" /> instance.</summary>
/// <returns>The hash code for the current <see cref="T:System.ValueTuple`2" /> instance.</returns>
// Token: 0x0600032D RID: 813 RVA: 0x000035B8 File Offset: 0x000017B8
[Token(Token = "0x600032D")]
[Address(RVA = "0x2F54D60", Offset = "0x2F53B60", VA = "0x182F54D60", Slot = "2")]
public override int GetHashCode()
{
return 0;
}
/// <summary>Calculates the hash code for the current <see cref="T:System.ValueTuple`2" /> instance 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.ValueTuple`2" /> instance.</param>
/// <returns>A 32-bit signed integer hash code.</returns>
// Token: 0x0600032E RID: 814 RVA: 0x000035D0 File Offset: 0x000017D0
[Token(Token = "0x600032E")]
[Address(RVA = "0x30064A0", Offset = "0x30052A0", VA = "0x1830064A0", Slot = "6")]
int IStructuralEquatable.GetHashCode(IEqualityComparer comparer)
{
return 0;
}
// Token: 0x0600032F RID: 815 RVA: 0x000035E8 File Offset: 0x000017E8
[Token(Token = "0x600032F")]
[Address(RVA = "0x3001660", Offset = "0x3000460", VA = "0x183001660")]
private int GetHashCodeCore(IEqualityComparer comparer)
{
return 0;
}
/// <summary>Returns a string that represents the value of this <see cref="T:System.ValueTuple`2" /> instance.</summary>
/// <returns>The string representation of this <see cref="T:System.ValueTuple`2" /> instance.</returns>
// Token: 0x06000330 RID: 816 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6000330")]
[Address(RVA = "0x30087C0", Offset = "0x30075C0", VA = "0x1830087C0", Slot = "3")]
public override string ToString()
{
return null;
}
/// <summary>Gets the value of the current <see cref="T:System.ValueTuple`2" /> instance's first element.</summary>
// Token: 0x040001B1 RID: 433
[global::Cpp2IlInjected.FieldOffset(Offset = "0x0")]
[Token(Token = "0x40001B1")]
public T1 Item1;
/// <summary>Gets the value of the current <see cref="T:System.ValueTuple`2" /> instance's second element.</summary>
// Token: 0x040001B2 RID: 434
[global::Cpp2IlInjected.FieldOffset(Offset = "0x0")]
[Token(Token = "0x40001B2")]
public T2 Item2;
}
}