Share via


IEqualityComparerExpression<T>.GetGetHashCodeExpr Method

Definition

A function that computes a hash value over type T

public System.Linq.Expressions.Expression<Func<T,int>> GetGetHashCodeExpr ();
abstract member GetGetHashCodeExpr : unit -> System.Linq.Expressions.Expression<Func<'T, int>>
Public Function GetGetHashCodeExpr () As Expression(Of Func(Of T, Integer))

Returns

Any integer, but it is much more useful if it returns the same number only for values of type T that are considered equal.

Applies to