Method
GetHashCode
abstract virtual func GetHashCode(value: T) -> int
Declaring type: EqualityComparer<T>
Module: System.Collections
Assembly: System.Runtime.dll
Source file: EqualityComparer.rvn
Defined by EqualityComparer<T>.GetHashCode · Required implementation (no default).
Interface implementation: Required implementation (no default).
Computes the matching hash code.
Parameters
| Name | Type | Description |
|---|---|---|
value |
T | A value in the supported policy domain. |
Return value
A signed hash code; collisions are allowed.
Remarks
Hashes are not persistent identifiers. The policy defines its supported null domain.