25 lines
931 B
C#
25 lines
931 B
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.Collections
|
|
{
|
|
/// <summary>Supplies a hash code for an object, using a custom hash function.</summary>
|
|
// Token: 0x020005BC RID: 1468
|
|
[Token(Token = "0x20005BC")]
|
|
[Obsolete]
|
|
[Obsolete("Please use IEqualityComparer instead.")]
|
|
[ComVisible(true)]
|
|
public interface IHashCodeProvider
|
|
{
|
|
/// <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: 0x06002C7C RID: 11388
|
|
[Token(Token = "0x6002C7C")]
|
|
[Address(Slot = "0")]
|
|
int GetHashCode(object obj);
|
|
}
|
|
}
|