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

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: 0x020005DB RID: 1499
[Token(Token = "0x20005DB")]
[Obsolete]
[ComVisible(true)]
[Obsolete("Please use IEqualityComparer instead.")]
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: 0x06002E92 RID: 11922
[Token(Token = "0x6002E92")]
[Address(Slot = "0")]
int GetHashCode(object obj);
}
}