using System; using System.Runtime.InteropServices; namespace System.Collections { /// Defines methods to support the comparison of objects for equality. // Token: 0x02000135 RID: 309 [ComVisible(true)] public interface IEqualityComparer { /// Determines whether the specified objects are equal. /// true if the specified objects are equal; otherwise, false. /// The first object to compare. /// The second object to compare. /// /// and are of different types and neither one can handle comparisons with the other. // Token: 0x06000FEE RID: 4078 bool Equals(object x, object y); /// Returns a hash code for the specified object. /// A hash code for the specified object. /// The for which a hash code is to be returned. /// The type of is a reference type and is null. // Token: 0x06000FEF RID: 4079 int GetHashCode(object obj); } }