Files
Dec2017-Script-Dump/mscorlib/System/Collections/IHashCodeProvider.cs
T
2026-06-04 11:42:34 +02:00

22 lines
874 B
C#

using System;
using System.Runtime.InteropServices;
namespace System.Collections
{
/// <summary>Supplies a hash code for an object, using a custom hash function.</summary>
/// <filterpriority>2</filterpriority>
// Token: 0x02000136 RID: 310
[Obsolete("Please use IEqualityComparer instead.")]
[ComVisible(true)]
public interface IHashCodeProvider
{
/// <summary>Returns a hash code for the specified object.</summary>
/// <returns>A hash code for the specified object.</returns>
/// <param name="obj">The <see cref="T:System.Object" /> for which a hash code is to be returned. </param>
/// <exception cref="T:System.ArgumentNullException">The type of <paramref name="obj" /> is a reference type and <paramref name="obj" /> is null. </exception>
/// <filterpriority>2</filterpriority>
// Token: 0x06000FF0 RID: 4080
int GetHashCode(object obj);
}
}