Files
niko c12fbe3fc6 m
2026-04-12 16:51:38 +02:00

35 lines
1.5 KiB
C#

using System;
using System.Runtime.InteropServices;
using Cpp2IlInjected;
namespace System.Collections
{
/// <summary>Defines methods to support the comparison of objects for equality.</summary>
// Token: 0x020005DA RID: 1498
[Token(Token = "0x20005DA")]
[ComVisible(true)]
public interface IEqualityComparer
{
/// <summary>Determines whether the specified objects are equal.</summary>
/// <param name="x">The first object to compare.</param>
/// <param name="y">The second object to compare.</param>
/// <returns>
/// <see langword="true" /> if the specified objects are equal; otherwise, <see langword="false" />.</returns>
/// <exception cref="T:System.ArgumentException">
/// <paramref name="x" /> and <paramref name="y" /> are of different types and neither one can handle comparisons with the other.</exception>
// Token: 0x06002E90 RID: 11920
[Token(Token = "0x6002E90")]
[Address(Slot = "0")]
bool Equals(object x, object y);
/// <summary>Returns a hash code for the specified object.</summary>
/// <param name="obj">The <see cref="T:System.Object" /> for which a hash code is to be returned.</param>
/// <returns>A hash code for the specified object.</returns>
/// <exception cref="T:System.ArgumentNullException">The type of <paramref name="obj" /> is a reference type and <paramref name="obj" /> is <see langword="null" />.</exception>
// Token: 0x06002E91 RID: 11921
[Token(Token = "0x6002E91")]
[Address(Slot = "1")]
int GetHashCode(object obj);
}
}