using System;
using System.Runtime.CompilerServices;
using Cpp2IlInjected;
namespace System.Collections.Generic
{
/// Provides a base class for implementations of the generic interface.
/// The type of objects to compare.
// Token: 0x02000621 RID: 1569
[Token(Token = "0x2000621")]
[TypeDependency("System.Collections.Generic.ObjectEqualityComparer`1")]
[Serializable]
public abstract class EqualityComparer : IEqualityComparer, IEqualityComparer
{
/// Returns a default equality comparer for the type specified by the generic argument.
/// The default instance of the class for type .
// Token: 0x170007C7 RID: 1991
// (get) Token: 0x060030D1 RID: 12497 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x170007C7")]
public static EqualityComparer Default
{
[Token(Token = "0x60030D1")]
[Address(RVA = "0x2274810", Offset = "0x2273810", VA = "0x182274810")]
get
{
return null;
}
}
// Token: 0x060030D2 RID: 12498 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x60030D2")]
[Address(RVA = "0x364A250", Offset = "0x3649250", VA = "0x18364A250")]
private static EqualityComparer CreateComparer()
{
return null;
}
/// When overridden in a derived class, determines whether two objects of type are equal.
/// The first object to compare.
/// The second object to compare.
///
/// if the specified objects are equal; otherwise, .
// Token: 0x060030D3 RID: 12499
[Token(Token = "0x60030D3")]
[Address(Slot = "8")]
public abstract bool Equals(T x, T y);
/// When overridden in a derived class, serves as a hash function for the specified object for hashing algorithms and data structures, such as a hash table.
/// The object for which to get a hash code.
/// A hash code for the specified object.
/// The type of is a reference type and is .
// Token: 0x060030D4 RID: 12500
[Token(Token = "0x60030D4")]
[Address(Slot = "9")]
public abstract int GetHashCode(T obj);
// Token: 0x060030D5 RID: 12501 RVA: 0x0001AA48 File Offset: 0x00018C48
[Token(Token = "0x60030D5")]
[Address(RVA = "0x35FB380", Offset = "0x35FA380", VA = "0x1835FB380", Slot = "10")]
internal virtual int IndexOf(T[] array, T value, int startIndex, int count)
{
return 0;
}
// Token: 0x060030D6 RID: 12502 RVA: 0x0001AA60 File Offset: 0x00018C60
[Token(Token = "0x60030D6")]
[Address(RVA = "0x35FBFE0", Offset = "0x35FAFE0", VA = "0x1835FBFE0", Slot = "11")]
internal virtual int LastIndexOf(T[] array, T value, int startIndex, int count)
{
return 0;
}
/// Returns a hash code for the specified object.
/// The for which a hash code is to be returned.
/// A hash code for the specified object.
/// The type of is a reference type and is .
/// -or-
/// is of a type that cannot be cast to type .
// Token: 0x060030D7 RID: 12503 RVA: 0x0001AA78 File Offset: 0x00018C78
[Token(Token = "0x60030D7")]
[Address(RVA = "0x35FE720", Offset = "0x35FD720", VA = "0x1835FE720", Slot = "5")]
int IEqualityComparer.GetHashCode(object obj)
{
return 0;
}
/// Determines whether the specified objects are equal.
/// The first object to compare.
/// The second object to compare.
///
/// if the specified objects are equal; otherwise, .
///
/// or is of a type that cannot be cast to type .
// Token: 0x060030D8 RID: 12504 RVA: 0x0001AA90 File Offset: 0x00018C90
[Token(Token = "0x60030D8")]
[Address(RVA = "0x35FCDC0", Offset = "0x35FBDC0", VA = "0x1835FCDC0", Slot = "4")]
bool IEqualityComparer.Equals(object x, object y)
{
return default(bool);
}
/// Initializes a new instance of the class.
// Token: 0x060030D9 RID: 12505 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60030D9")]
[Address(RVA = "0x1CC5E40", Offset = "0x1CC4E40", VA = "0x181CC5E40")]
protected EqualityComparer()
{
}
// Token: 0x04001B0F RID: 6927
[Token(Token = "0x4001B0F")]
private static EqualityComparer defaultComparer;
}
}