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: 0x02000600 RID: 1536 [Token(Token = "0x2000600")] [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: 0x1700074F RID: 1871 // (get) Token: 0x06002EB9 RID: 11961 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x1700074F")] public static EqualityComparer Default { [Token(Token = "0x6002EB9")] [Address(RVA = "0x2332230", Offset = "0x2331030", VA = "0x182332230")] get { return null; } } // Token: 0x06002EBA RID: 11962 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x6002EBA")] [Address(RVA = "0x3220AB0", Offset = "0x321F8B0", VA = "0x183220AB0")] 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: 0x06002EBB RID: 11963 [Token(Token = "0x6002EBB")] [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: 0x06002EBC RID: 11964 [Token(Token = "0x6002EBC")] [Address(Slot = "9")] public abstract int GetHashCode(T obj); // Token: 0x06002EBD RID: 11965 RVA: 0x00018618 File Offset: 0x00016818 [Token(Token = "0x6002EBD")] [Address(RVA = "0x2F10F40", Offset = "0x2F0FD40", VA = "0x182F10F40", Slot = "10")] internal virtual int IndexOf(T[] array, T value, int startIndex, int count) { return 0; } // Token: 0x06002EBE RID: 11966 RVA: 0x00018630 File Offset: 0x00016830 [Token(Token = "0x6002EBE")] [Address(RVA = "0x2F115B0", Offset = "0x2F103B0", VA = "0x182F115B0", 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: 0x06002EBF RID: 11967 RVA: 0x00018648 File Offset: 0x00016848 [Token(Token = "0x6002EBF")] [Address(RVA = "0x2F12DD0", Offset = "0x2F11BD0", VA = "0x182F12DD0", 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: 0x06002EC0 RID: 11968 RVA: 0x00018660 File Offset: 0x00016860 [Token(Token = "0x6002EC0")] [Address(RVA = "0x2F12450", Offset = "0x2F11250", VA = "0x182F12450", Slot = "4")] bool IEqualityComparer.Equals(object x, object y) { return default(bool); } /// Initializes a new instance of the class. // Token: 0x06002EC1 RID: 11969 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6002EC1")] [Address(RVA = "0x118F5A0", Offset = "0x118E3A0", VA = "0x18118F5A0")] protected EqualityComparer() { } // Token: 0x04001A4C RID: 6732 [Token(Token = "0x4001A4C")] private static EqualityComparer defaultComparer; } }