211 lines
9.8 KiB
C#
211 lines
9.8 KiB
C#
using System;
|
|
using System.Collections;
|
|
using System.Runtime.InteropServices;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System
|
|
{
|
|
/// <summary>Represents a value tuple with 4 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>
|
|
/// <typeparam name="T4">The type of the value tuple's fourth element.</typeparam>
|
|
// Token: 0x02000079 RID: 121
|
|
[Token(Token = "0x2000079")]
|
|
[Serializable]
|
|
[StructLayout(3)]
|
|
public struct ValueTuple<T1, T2, T3, T4> : IEquatable<ValueTuple<T1, T2, T3, T4>>, IStructuralEquatable, IStructuralComparable, IComparable, IComparable<ValueTuple<T1, T2, T3, T4>>
|
|
{
|
|
/// <summary>Initializes a new <see cref="T:System.ValueTuple`4" /> 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>
|
|
/// <param name="item4">The value tuple's fourth element.</param>
|
|
// Token: 0x0600033C RID: 828 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x600033C")]
|
|
[Address(RVA = "0x31B0710", Offset = "0x31AF510", VA = "0x1831B0710")]
|
|
public ValueTuple(T1 item1, T2 item2, T3 item3, T4 item4)
|
|
{
|
|
}
|
|
|
|
/// <summary>Returns a value that indicates whether the current <see cref="T:System.ValueTuple`4" /> 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: 0x0600033D RID: 829 RVA: 0x000036D8 File Offset: 0x000018D8
|
|
[Token(Token = "0x600033D")]
|
|
[Address(RVA = "0x31AAD90", Offset = "0x31A9B90", VA = "0x1831AAD90", 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`4" /> instance is equal to a specified <see cref="T:System.ValueTuple`4" /> 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: 0x0600033E RID: 830 RVA: 0x000036F0 File Offset: 0x000018F0
|
|
[Token(Token = "0x600033E")]
|
|
[Address(RVA = "0x31AAA20", Offset = "0x31A9820", VA = "0x1831AAA20", Slot = "4")]
|
|
public bool Equals(ValueTuple<T1, T2, T3, T4> other)
|
|
{
|
|
return default(bool);
|
|
}
|
|
|
|
/// <summary>Returns a value that indicates whether the current <see cref="T:System.ValueTuple`4" /> 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: 0x0600033F RID: 831 RVA: 0x00003708 File Offset: 0x00001908
|
|
[Token(Token = "0x600033F")]
|
|
[Address(RVA = "0x31AD8D0", Offset = "0x31AC6D0", VA = "0x1831AD8D0", Slot = "5")]
|
|
bool IStructuralEquatable.Equals(object other, IEqualityComparer comparer)
|
|
{
|
|
return default(bool);
|
|
}
|
|
|
|
/// <summary>Compares the current <see cref="T:System.ValueTuple`4" /> 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: 0x06000340 RID: 832 RVA: 0x00003720 File Offset: 0x00001920
|
|
[Token(Token = "0x6000340")]
|
|
[Address(RVA = "0x31AEF60", Offset = "0x31ADD60", VA = "0x1831AEF60", Slot = "8")]
|
|
int IComparable.CompareTo(object other)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
/// <summary>Compares the current <see cref="T:System.ValueTuple`4" /> instance to a specified <see cref="T:System.ValueTuple`4" /> 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.
|
|
/// Vaue
|
|
///
|
|
/// 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: 0x06000341 RID: 833 RVA: 0x00003738 File Offset: 0x00001938
|
|
[Token(Token = "0x6000341")]
|
|
[Address(RVA = "0x31AA580", Offset = "0x31A9380", VA = "0x1831AA580", Slot = "9")]
|
|
public int CompareTo(ValueTuple<T1, T2, T3, T4> other)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
/// <summary>Compares the current <see cref="T:System.ValueTuple`4" /> 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.
|
|
/// Vaue
|
|
///
|
|
/// 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: 0x06000342 RID: 834 RVA: 0x00003750 File Offset: 0x00001950
|
|
[Token(Token = "0x6000342")]
|
|
[Address(RVA = "0x31ACD00", Offset = "0x31ABB00", VA = "0x1831ACD00", Slot = "7")]
|
|
int IStructuralComparable.CompareTo(object other, IComparer comparer)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
/// <summary>Calculates the hash code for the current <see cref="T:System.ValueTuple`4" /> instance.</summary>
|
|
/// <returns>The hash code for the current <see cref="T:System.ValueTuple`4" /> instance.</returns>
|
|
// Token: 0x06000343 RID: 835 RVA: 0x00003768 File Offset: 0x00001968
|
|
[Token(Token = "0x6000343")]
|
|
[Address(RVA = "0x31AC2B0", Offset = "0x31AB0B0", VA = "0x1831AC2B0", Slot = "2")]
|
|
public override int GetHashCode()
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
/// <summary>Calculates the hash code for the current <see cref="T:System.ValueTuple`4" /> 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`4" /> instance.</param>
|
|
/// <returns>A 32-bit signed integer hash code.</returns>
|
|
// Token: 0x06000344 RID: 836 RVA: 0x00003780 File Offset: 0x00001980
|
|
[Token(Token = "0x6000344")]
|
|
[Address(RVA = "0x31AE7F0", Offset = "0x31AD5F0", VA = "0x1831AE7F0", Slot = "6")]
|
|
int IStructuralEquatable.GetHashCode(IEqualityComparer comparer)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
// Token: 0x06000345 RID: 837 RVA: 0x00003798 File Offset: 0x00001998
|
|
[Token(Token = "0x6000345")]
|
|
[Address(RVA = "0x31AC130", Offset = "0x31AAF30", VA = "0x1831AC130")]
|
|
private int GetHashCodeCore(IEqualityComparer comparer)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
/// <summary>Returns a string that represents the value of this <see cref="T:System.ValueTuple`4" /> instance.</summary>
|
|
/// <returns>The string representation of this <see cref="T:System.ValueTuple`4" /> instance.</returns>
|
|
// Token: 0x06000346 RID: 838 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x6000346")]
|
|
[Address(RVA = "0x31AFB40", Offset = "0x31AE940", VA = "0x1831AFB40", Slot = "3")]
|
|
public override string ToString()
|
|
{
|
|
return null;
|
|
}
|
|
|
|
/// <summary>Gets the value of the current <see cref="T:System.ValueTuple`4" /> instance's first element.</summary>
|
|
// Token: 0x040001B6 RID: 438
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x0")]
|
|
[Token(Token = "0x40001B6")]
|
|
public T1 Item1;
|
|
|
|
/// <summary>Gets the value of the current <see cref="T:System.ValueTuple`4" /> instance's second element.</summary>
|
|
// Token: 0x040001B7 RID: 439
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x0")]
|
|
[Token(Token = "0x40001B7")]
|
|
public T2 Item2;
|
|
|
|
/// <summary>Gets the value of the current <see cref="T:System.ValueTuple`4" /> instance's third element.</summary>
|
|
// Token: 0x040001B8 RID: 440
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x0")]
|
|
[Token(Token = "0x40001B8")]
|
|
public T3 Item3;
|
|
|
|
/// <summary>Gets the value of the current <see cref="T:System.ValueTuple`4" /> instance's fourth element.</summary>
|
|
// Token: 0x040001B9 RID: 441
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x0")]
|
|
[Token(Token = "0x40001B9")]
|
|
public T4 Item4;
|
|
}
|
|
}
|