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

API Browser

Class

FunctionEqualityComparer<T>

class FunctionEqualityComparer<T>

Module: System.Collections
Assembly: System.Runtime.dll
Source file: FunctionEqualityComparer.rvn

Inheritance: Object → FunctionEqualityComparer<T>
Implements: EqualityComparer<T>

Adapts equality and hash callbacks into one reusable policy.

Constructors

1 item

Methods

6 items
Equals(left: T, right: T) -> bool Tests equality under this policy. Implements EqualityComparer<T>.Equals
Equals(other: object?) -> bool Tests reference identity by default; an ordinary class may override equality. Inherited from Object.Equals
GetHashCode(value: T) -> int Computes the matching hash code. Implements EqualityComparer<T>.GetHashCode
GetHashCode() -> int Returns a stable identity hash by default; an ordinary class may override it consistently with equality. Inherited from Object.GetHashCode
GetType() -> TypeInfo Returns metadata for the concrete runtime type of this instance. Inherited from Object.GetType
ToString() -> string Returns the concrete runtime type name for supported references, or display text from a class or boxed-struct override. Inherited from Object.ToString