m
This commit is contained in:
@@ -0,0 +1,187 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Text;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System
|
||||
{
|
||||
/// <summary>Represents a 2-tuple, or pair.</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>
|
||||
// Token: 0x02000089 RID: 137
|
||||
[Token(Token = "0x2000089")]
|
||||
[Serializable]
|
||||
public class Tuple<T1, T2> : IStructuralEquatable, IStructuralComparable, IComparable, ITupleInternal
|
||||
{
|
||||
/// <summary>Gets the value of the current <see cref="T:System.Tuple`2" /> object's first component.</summary>
|
||||
/// <returns>The value of the current <see cref="T:System.Tuple`2" /> object's first component.</returns>
|
||||
// Token: 0x1700007B RID: 123
|
||||
// (get) Token: 0x06000431 RID: 1073 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x1700007B")]
|
||||
public T1 Item1
|
||||
{
|
||||
[Token(Token = "0x6000431")]
|
||||
[Address(RVA = "0x9B5640", Offset = "0x9B4640", VA = "0x1809B5640")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Gets the value of the current <see cref="T:System.Tuple`2" /> object's second component.</summary>
|
||||
/// <returns>The value of the current <see cref="T:System.Tuple`2" /> object's second component.</returns>
|
||||
// Token: 0x1700007C RID: 124
|
||||
// (get) Token: 0x06000432 RID: 1074 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x1700007C")]
|
||||
public T2 Item2
|
||||
{
|
||||
[Token(Token = "0x6000432")]
|
||||
[Address(RVA = "0xF6F570", Offset = "0xF6E570", VA = "0x180F6F570")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.Tuple`2" /> 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>
|
||||
// Token: 0x06000433 RID: 1075 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6000433")]
|
||||
[Address(RVA = "0x3380C40", Offset = "0x337FC40", VA = "0x183380C40")]
|
||||
public Tuple(T1 item1, T2 item2)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Returns a value that indicates whether the current <see cref="T:System.Tuple`2" /> 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: 0x06000434 RID: 1076 RVA: 0x00003FC0 File Offset: 0x000021C0
|
||||
[Token(Token = "0x6000434")]
|
||||
[Address(RVA = "0x337C200", Offset = "0x337B200", VA = "0x18337C200", 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`2" /> 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: 0x06000435 RID: 1077 RVA: 0x00003FD8 File Offset: 0x000021D8
|
||||
[Token(Token = "0x6000435")]
|
||||
[Address(RVA = "0x337DF40", Offset = "0x337CF40", VA = "0x18337DF40", Slot = "4")]
|
||||
bool IStructuralEquatable.Equals(object other, IEqualityComparer comparer)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
/// <summary>Compares the current <see cref="T:System.Tuple`2" /> 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`2" /> object.</exception>
|
||||
// Token: 0x06000436 RID: 1078 RVA: 0x00003FF0 File Offset: 0x000021F0
|
||||
[Token(Token = "0x6000436")]
|
||||
[Address(RVA = "0x337F9F0", Offset = "0x337E9F0", VA = "0x18337F9F0", Slot = "7")]
|
||||
int IComparable.CompareTo(object obj)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
/// <summary>Compares the current <see cref="T:System.Tuple`2" /> 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`2" /> object.</exception>
|
||||
// Token: 0x06000437 RID: 1079 RVA: 0x00004008 File Offset: 0x00002208
|
||||
[Token(Token = "0x6000437")]
|
||||
[Address(RVA = "0x337D430", Offset = "0x337C430", VA = "0x18337D430", Slot = "6")]
|
||||
int IStructuralComparable.CompareTo(object other, IComparer comparer)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
/// <summary>Returns the hash code for the current <see cref="T:System.Tuple`2" /> object.</summary>
|
||||
/// <returns>A 32-bit signed integer hash code.</returns>
|
||||
// Token: 0x06000438 RID: 1080 RVA: 0x00004020 File Offset: 0x00002220
|
||||
[Token(Token = "0x6000438")]
|
||||
[Address(RVA = "0x337C830", Offset = "0x337B830", VA = "0x18337C830", Slot = "2")]
|
||||
public override int GetHashCode()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
/// <summary>Calculates the hash code for the current <see cref="T:System.Tuple`2" /> 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`2" /> object.</param>
|
||||
/// <returns>A 32-bit signed integer hash code.</returns>
|
||||
// Token: 0x06000439 RID: 1081 RVA: 0x00004038 File Offset: 0x00002238
|
||||
[Token(Token = "0x6000439")]
|
||||
[Address(RVA = "0x337F100", Offset = "0x337E100", VA = "0x18337F100", Slot = "5")]
|
||||
int IStructuralEquatable.GetHashCode(IEqualityComparer comparer)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
/// <summary>Returns a string that represents the value of this <see cref="T:System.Tuple`2" /> instance.</summary>
|
||||
/// <returns>The string representation of this <see cref="T:System.Tuple`2" /> object.</returns>
|
||||
// Token: 0x0600043A RID: 1082 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x600043A")]
|
||||
[Address(RVA = "0x3380960", Offset = "0x337F960", VA = "0x183380960", Slot = "3")]
|
||||
public override string ToString()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x0600043B RID: 1083 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x600043B")]
|
||||
[Address(RVA = "0x337FE20", Offset = "0x337EE20", VA = "0x18337FE20", Slot = "8")]
|
||||
string ITupleInternal.ToString(StringBuilder sb)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x040001D6 RID: 470
|
||||
[FieldOffset(Offset = "0x0")]
|
||||
[Token(Token = "0x40001D6")]
|
||||
private readonly T1 m_Item1;
|
||||
|
||||
// Token: 0x040001D7 RID: 471
|
||||
[FieldOffset(Offset = "0x0")]
|
||||
[Token(Token = "0x40001D7")]
|
||||
private readonly T2 m_Item2;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user