Share via


ExpressionEqualityComparer.Equals(Expression, Expression) Method

Definition

Returns a value indicating whether the given expressions are equal.

public bool Equals (System.Linq.Expressions.Expression x, System.Linq.Expressions.Expression y);
public bool Equals (System.Linq.Expressions.Expression? x, System.Linq.Expressions.Expression? y);
override this.Equals : System.Linq.Expressions.Expression * System.Linq.Expressions.Expression -> bool
Public Function Equals (x As Expression, y As Expression) As Boolean

Parameters

x
Expression

The left expression.

y
Expression

The right expression.

Returns

true if the expressions are equal, false otherwise.

Implements

Applies to