Files
27Aug2021-Cpp2IL-Dump/mscorlib/System/ValueTuple.4.cs
T
niko c12fbe3fc6 m
2026-04-12 16:51:38 +02:00

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: 0x0200007F RID: 127
[Token(Token = "0x200007F")]
[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: 0x06000355 RID: 853 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000355")]
[Address(RVA = "0x34FE1F0", Offset = "0x34FD1F0", VA = "0x1834FE1F0")]
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: 0x06000356 RID: 854 RVA: 0x000037C8 File Offset: 0x000019C8
[Token(Token = "0x6000356")]
[Address(RVA = "0x34F8870", Offset = "0x34F7870", VA = "0x1834F8870", 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: 0x06000357 RID: 855 RVA: 0x000037E0 File Offset: 0x000019E0
[Token(Token = "0x6000357")]
[Address(RVA = "0x34F8500", Offset = "0x34F7500", VA = "0x1834F8500", 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: 0x06000358 RID: 856 RVA: 0x000037F8 File Offset: 0x000019F8
[Token(Token = "0x6000358")]
[Address(RVA = "0x34FB3B0", Offset = "0x34FA3B0", VA = "0x1834FB3B0", 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: 0x06000359 RID: 857 RVA: 0x00003810 File Offset: 0x00001A10
[Token(Token = "0x6000359")]
[Address(RVA = "0x34FCA40", Offset = "0x34FBA40", VA = "0x1834FCA40", 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: 0x0600035A RID: 858 RVA: 0x00003828 File Offset: 0x00001A28
[Token(Token = "0x600035A")]
[Address(RVA = "0x34F8060", Offset = "0x34F7060", VA = "0x1834F8060", 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: 0x0600035B RID: 859 RVA: 0x00003840 File Offset: 0x00001A40
[Token(Token = "0x600035B")]
[Address(RVA = "0x34FA7E0", Offset = "0x34F97E0", VA = "0x1834FA7E0", 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: 0x0600035C RID: 860 RVA: 0x00003858 File Offset: 0x00001A58
[Token(Token = "0x600035C")]
[Address(RVA = "0x34F9D90", Offset = "0x34F8D90", VA = "0x1834F9D90", 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: 0x0600035D RID: 861 RVA: 0x00003870 File Offset: 0x00001A70
[Token(Token = "0x600035D")]
[Address(RVA = "0x34FC2D0", Offset = "0x34FB2D0", VA = "0x1834FC2D0", Slot = "6")]
int IStructuralEquatable.GetHashCode(IEqualityComparer comparer)
{
return 0;
}
// Token: 0x0600035E RID: 862 RVA: 0x00003888 File Offset: 0x00001A88
[Token(Token = "0x600035E")]
[Address(RVA = "0x34F9C10", Offset = "0x34F8C10", VA = "0x1834F9C10")]
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: 0x0600035F RID: 863 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x600035F")]
[Address(RVA = "0x34FD620", Offset = "0x34FC620", VA = "0x1834FD620", 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: 0x040001C0 RID: 448
[global::Cpp2IlInjected.FieldOffset(Offset = "0x0")]
[Token(Token = "0x40001C0")]
public T1 Item1;
/// <summary>Gets the value of the current <see cref="T:System.ValueTuple`4" /> instance's second element.</summary>
// Token: 0x040001C1 RID: 449
[global::Cpp2IlInjected.FieldOffset(Offset = "0x0")]
[Token(Token = "0x40001C1")]
public T2 Item2;
/// <summary>Gets the value of the current <see cref="T:System.ValueTuple`4" /> instance's third element.</summary>
// Token: 0x040001C2 RID: 450
[global::Cpp2IlInjected.FieldOffset(Offset = "0x0")]
[Token(Token = "0x40001C2")]
public T3 Item3;
/// <summary>Gets the value of the current <see cref="T:System.ValueTuple`4" /> instance's fourth element.</summary>
// Token: 0x040001C3 RID: 451
[global::Cpp2IlInjected.FieldOffset(Offset = "0x0")]
[Token(Token = "0x40001C3")]
public T4 Item4;
}
}