a
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Collections
|
||||
{
|
||||
/// <summary>Defines methods to support the comparison of objects for equality.</summary>
|
||||
// Token: 0x020005BB RID: 1467
|
||||
[Token(Token = "0x20005BB")]
|
||||
[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: 0x06002C7A RID: 11386
|
||||
[Token(Token = "0x6002C7A")]
|
||||
[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: 0x06002C7B RID: 11387
|
||||
[Token(Token = "0x6002C7B")]
|
||||
[Address(Slot = "1")]
|
||||
int GetHashCode(object obj);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user