203 lines
9.4 KiB
C#
203 lines
9.4 KiB
C#
using System;
|
|
using System.Collections;
|
|
using System.Runtime.InteropServices;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System
|
|
{
|
|
/// <summary>Represents a value tuple with 3 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>
|
|
/// <typeparam name="T3">The type of the value tuple's third element.</typeparam>
|
|
// Token: 0x0200007E RID: 126
|
|
[Token(Token = "0x200007E")]
|
|
[Serializable]
|
|
[StructLayout(3)]
|
|
public struct ValueTuple<T1, T2, T3> : IEquatable<ValueTuple<T1, T2, T3>>, IStructuralEquatable, IStructuralComparable, IComparable, IComparable<ValueTuple<T1, T2, T3>>
|
|
{
|
|
/// <summary>Initializes a new <see cref="T:System.ValueTuple`3" /> instance.</summary>
|
|
/// <param name="item1">The value tuple's first element.</param>
|
|
/// <param name="item2">The value tuple's second element.</param>
|
|
/// <param name="item3">The value tuple's third element.</param>
|
|
// Token: 0x0600034A RID: 842 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x600034A")]
|
|
[Address(RVA = "0xA052E0", Offset = "0xA042E0", VA = "0x180A052E0")]
|
|
public ValueTuple(T1 item1, T2 item2, T3 item3)
|
|
{
|
|
}
|
|
|
|
/// <summary>Returns a value that indicates whether the current <see cref="T:System.ValueTuple`3" /> 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: 0x0600034B RID: 843 RVA: 0x000036F0 File Offset: 0x000018F0
|
|
[Token(Token = "0x600034B")]
|
|
[Address(RVA = "0x3360000", Offset = "0x335F000", VA = "0x183360000", 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`3" /> instance is equal to a specified <see cref="T:System.ValueTuple`3" /> 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: 0x0600034C RID: 844 RVA: 0x00003708 File Offset: 0x00001908
|
|
[Token(Token = "0x600034C")]
|
|
[Address(RVA = "0x335FC50", Offset = "0x335EC50", VA = "0x18335FC50", Slot = "4")]
|
|
public bool Equals(ValueTuple<T1, T2, T3> other)
|
|
{
|
|
return default(bool);
|
|
}
|
|
|
|
/// <summary>Returns a value that indicates whether the current <see cref="T:System.ValueTuple`3" /> 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: 0x0600034D RID: 845 RVA: 0x00003720 File Offset: 0x00001920
|
|
[Token(Token = "0x600034D")]
|
|
[Address(RVA = "0x3361560", Offset = "0x3360560", VA = "0x183361560", Slot = "5")]
|
|
bool IStructuralEquatable.Equals(object other, IEqualityComparer comparer)
|
|
{
|
|
return default(bool);
|
|
}
|
|
|
|
/// <summary>Compares the current <see cref="T:System.ValueTuple`3" /> 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: 0x0600034E RID: 846 RVA: 0x00003738 File Offset: 0x00001938
|
|
[Token(Token = "0x600034E")]
|
|
[Address(RVA = "0x3362370", Offset = "0x3361370", VA = "0x183362370", Slot = "8")]
|
|
int IComparable.CompareTo(object other)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
/// <summary>Compares the current <see cref="T:System.ValueTuple`3" /> instance to a specified <see cref="T:System.ValueTuple`3" /> 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: 0x0600034F RID: 847 RVA: 0x00003750 File Offset: 0x00001950
|
|
[Token(Token = "0x600034F")]
|
|
[Address(RVA = "0x335F5B0", Offset = "0x335E5B0", VA = "0x18335F5B0", Slot = "9")]
|
|
public int CompareTo(ValueTuple<T1, T2, T3> other)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
/// <summary>Compares the current <see cref="T:System.ValueTuple`3" /> 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: 0x06000350 RID: 848 RVA: 0x00003768 File Offset: 0x00001968
|
|
[Token(Token = "0x6000350")]
|
|
[Address(RVA = "0x3360D10", Offset = "0x335FD10", VA = "0x183360D10", Slot = "7")]
|
|
int IStructuralComparable.CompareTo(object other, IComparer comparer)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
/// <summary>Calculates the hash code for the current <see cref="T:System.ValueTuple`3" /> instance.</summary>
|
|
/// <returns>The hash code for the current <see cref="T:System.ValueTuple`3" /> instance.</returns>
|
|
// Token: 0x06000351 RID: 849 RVA: 0x00003780 File Offset: 0x00001980
|
|
[Token(Token = "0x6000351")]
|
|
[Address(RVA = "0x33609C0", Offset = "0x335F9C0", VA = "0x1833609C0", Slot = "2")]
|
|
public override int GetHashCode()
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
/// <summary>Calculates the hash code for the current <see cref="T:System.ValueTuple`3" /> 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`3" /> instance.</param>
|
|
/// <returns>A 32-bit signed integer hash code.</returns>
|
|
// Token: 0x06000352 RID: 850 RVA: 0x00003798 File Offset: 0x00001998
|
|
[Token(Token = "0x6000352")]
|
|
[Address(RVA = "0x3361E60", Offset = "0x3360E60", VA = "0x183361E60", Slot = "6")]
|
|
int IStructuralEquatable.GetHashCode(IEqualityComparer comparer)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
// Token: 0x06000353 RID: 851 RVA: 0x000037B0 File Offset: 0x000019B0
|
|
[Token(Token = "0x6000353")]
|
|
[Address(RVA = "0x3360480", Offset = "0x335F480", VA = "0x183360480")]
|
|
private int GetHashCodeCore(IEqualityComparer comparer)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
/// <summary>Returns a string that represents the value of this <see cref="T:System.ValueTuple`3" /> instance.</summary>
|
|
/// <returns>The string representation of this <see cref="T:System.ValueTuple`2" /> instance.</returns>
|
|
// Token: 0x06000354 RID: 852 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x6000354")]
|
|
[Address(RVA = "0x33625E0", Offset = "0x33615E0", VA = "0x1833625E0", Slot = "3")]
|
|
public override string ToString()
|
|
{
|
|
return null;
|
|
}
|
|
|
|
/// <summary>Gets the value of the current <see cref="T:System.ValueTuple`3" /> instance's first element.</summary>
|
|
// Token: 0x040001BD RID: 445
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x0")]
|
|
[Token(Token = "0x40001BD")]
|
|
public T1 Item1;
|
|
|
|
/// <summary>Gets the value of the current <see cref="T:System.ValueTuple`3" /> instance's second element.</summary>
|
|
// Token: 0x040001BE RID: 446
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x0")]
|
|
[Token(Token = "0x40001BE")]
|
|
public T2 Item2;
|
|
|
|
/// <summary>Gets the value of the current <see cref="T:System.ValueTuple`3" /> instance's third element.</summary>
|
|
// Token: 0x040001BF RID: 447
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x0")]
|
|
[Token(Token = "0x40001BF")]
|
|
public T3 Item3;
|
|
}
|
|
}
|