Development · Native API migration preview · Coverage validation in progress Published release →

API Browser

Method

GetHashCode

func GetHashCode(value: T) -> int

Declaring type: FunctionEqualityComparer<T>
Module: System.Collections
Assembly: System.Runtime.dll
Source file: FunctionEqualityComparer.rvn

Implements EqualityComparer<T>.GetHashCode

Computes the matching hash code.

Parameters

Name Type Description
value T A value in the supported policy domain.

Return value

Int32

A signed hash code; collisions are allowed.

Remarks

Hashes are not persistent identifiers. The policy defines its supported null domain.