using System; using System.Runtime.InteropServices; using Cpp2IlInjected; namespace System.Collections { /// Defines methods to support the comparison of objects for equality. // Token: 0x020005DA RID: 1498 [Token(Token = "0x20005DA")] [ComVisible(true)] public interface IEqualityComparer { /// Determines whether the specified objects are equal. /// The first object to compare. /// The second object to compare. /// /// if the specified objects are equal; otherwise, . /// /// and are of different types and neither one can handle comparisons with the other. // Token: 0x06002E90 RID: 11920 [Token(Token = "0x6002E90")] [Address(Slot = "0")] bool Equals(object x, object y); /// 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 . // Token: 0x06002E91 RID: 11921 [Token(Token = "0x6002E91")] [Address(Slot = "1")] int GetHashCode(object obj); } }