ValueComparer.ExtractHashCodeBody(Expression) Method

Definition

Takes the HashCodeExpression and replaces the parameter with the given expression, returning the transformed body.

public virtual System.Linq.Expressions.Expression ExtractHashCodeBody (System.Linq.Expressions.Expression expression);
abstract member ExtractHashCodeBody : System.Linq.Expressions.Expression -> System.Linq.Expressions.Expression
override this.ExtractHashCodeBody : System.Linq.Expressions.Expression -> System.Linq.Expressions.Expression
Public Overridable Function ExtractHashCodeBody (expression As Expression) As Expression

Parameters

expression
Expression

The new expression.

Returns

The body of the lambda with the parameter replaced.

Applies to