Table of Contents

Class ExpressionEqualityComparer

Namespace
LinqToDB.Internal.Expressions
Assembly
linq2db.dll

This API supports the linq2db infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public sealed class ExpressionEqualityComparer : IEqualityComparer<Expression>
Inheritance
object
ExpressionEqualityComparer
Implements
Extension Methods

Properties

Instance

public static ExpressionEqualityComparer Instance { get; }

Property Value

ExpressionEqualityComparer

Methods

Equals(Expression?, Expression?)

Determines whether the specified objects are equal.

public bool Equals(Expression? x, Expression? y)

Parameters

x Expression

The first object of type T to compare.

y Expression

The second object of type T to compare.

Returns

bool

true if the specified objects are equal; otherwise, false.

GetHashCode(Expression?)

Returns a hash code for the specified object.

public int GetHashCode(Expression? obj)

Parameters

obj Expression

The object for which a hash code is to be returned.

Returns

int

A hash code for the specified object.

Exceptions

ArgumentNullException

The type of obj is a reference type and obj is null.