195 lines
9.0 KiB
C#
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: 0x0200007D RID: 125
|
|
[Token(Token = "0x200007D")]
|
|
[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: 0x0600033F RID: 831 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x600033F")]
|
|
[Address(RVA = "0x8F0510", Offset = "0x8EF510", VA = "0x1808F0510")]
|
|
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: 0x06000340 RID: 832 RVA: 0x00003618 File Offset: 0x00001818
|
|
[Token(Token = "0x6000340")]
|
|
[Address(RVA = "0x33493B0", Offset = "0x33483B0", VA = "0x1833493B0", 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: 0x06000341 RID: 833 RVA: 0x00003630 File Offset: 0x00001830
|
|
[Token(Token = "0x6000341")]
|
|
[Address(RVA = "0x334A180", Offset = "0x3349180", VA = "0x18334A180", 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: 0x06000342 RID: 834 RVA: 0x00003648 File Offset: 0x00001848
|
|
[Token(Token = "0x6000342")]
|
|
[Address(RVA = "0x338AC70", Offset = "0x3389C70", VA = "0x18338AC70", 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: 0x06000343 RID: 835 RVA: 0x00003660 File Offset: 0x00001860
|
|
[Token(Token = "0x6000343")]
|
|
[Address(RVA = "0x338DD40", Offset = "0x338CD40", VA = "0x18338DD40", 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: 0x06000344 RID: 836 RVA: 0x00003678 File Offset: 0x00001878
|
|
[Token(Token = "0x6000344")]
|
|
[Address(RVA = "0x3347FF0", Offset = "0x3346FF0", VA = "0x183347FF0", 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: 0x06000345 RID: 837 RVA: 0x00003690 File Offset: 0x00001890
|
|
[Token(Token = "0x6000345")]
|
|
[Address(RVA = "0x3388DC0", Offset = "0x3387DC0", VA = "0x183388DC0", 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: 0x06000346 RID: 838 RVA: 0x000036A8 File Offset: 0x000018A8
|
|
[Token(Token = "0x6000346")]
|
|
[Address(RVA = "0x334DEB0", Offset = "0x334CEB0", VA = "0x18334DEB0", 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: 0x06000347 RID: 839 RVA: 0x000036C0 File Offset: 0x000018C0
|
|
[Token(Token = "0x6000347")]
|
|
[Address(RVA = "0x338C320", Offset = "0x338B320", VA = "0x18338C320", Slot = "6")]
|
|
int IStructuralEquatable.GetHashCode(IEqualityComparer comparer)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
// Token: 0x06000348 RID: 840 RVA: 0x000036D8 File Offset: 0x000018D8
|
|
[Token(Token = "0x6000348")]
|
|
[Address(RVA = "0x3386F70", Offset = "0x3385F70", VA = "0x183386F70")]
|
|
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: 0x06000349 RID: 841 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x6000349")]
|
|
[Address(RVA = "0x338E860", Offset = "0x338D860", VA = "0x18338E860", 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: 0x040001BB RID: 443
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x0")]
|
|
[Token(Token = "0x40001BB")]
|
|
public T1 Item1;
|
|
|
|
/// <summary>Gets the value of the current <see cref="T:System.ValueTuple`2" /> instance's second element.</summary>
|
|
// Token: 0x040001BC RID: 444
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x0")]
|
|
[Token(Token = "0x40001BC")]
|
|
public T2 Item2;
|
|
}
|
|
}
|