using System;
using System.Runtime.InteropServices;
using Cpp2IlInjected;
namespace System.Collections
{
/// Defines methods to support the comparison of objects for equality.
// Token: 0x020005BB RID: 1467
[Token(Token = "0x20005BB")]
[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: 0x06002C7A RID: 11386
[Token(Token = "0x6002C7A")]
[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: 0x06002C7B RID: 11387
[Token(Token = "0x6002C7B")]
[Address(Slot = "1")]
int GetHashCode(object obj);
}
}