30 lines
1.2 KiB
C#
30 lines
1.2 KiB
C#
using System;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.Collections
|
|
{
|
|
/// <summary>Defines methods to support the comparison of objects for structural equality.</summary>
|
|
// Token: 0x020005BF RID: 1471
|
|
[Token(Token = "0x20005BF")]
|
|
public interface IStructuralEquatable
|
|
{
|
|
/// <summary>Determines whether an object is structurally equal to the current instance.</summary>
|
|
/// <param name="other">The object to compare with the current instance.</param>
|
|
/// <param name="comparer">An object that determines whether the current instance and <paramref name="other" /> are equal.</param>
|
|
/// <returns>
|
|
/// <see langword="true" /> if the two objects are equal; otherwise, <see langword="false" />.</returns>
|
|
// Token: 0x06002C89 RID: 11401
|
|
[Token(Token = "0x6002C89")]
|
|
[Address(Slot = "0")]
|
|
bool Equals(object other, IEqualityComparer comparer);
|
|
|
|
/// <summary>Returns a hash code for the current instance.</summary>
|
|
/// <param name="comparer">An object that computes the hash code of the current object.</param>
|
|
/// <returns>The hash code for the current instance.</returns>
|
|
// Token: 0x06002C8A RID: 11402
|
|
[Token(Token = "0x6002C8A")]
|
|
[Address(Slot = "1")]
|
|
int GetHashCode(IEqualityComparer comparer);
|
|
}
|
|
}
|