ReferenceEqualityComparer ReferenceEqualityComparer Class

Definition

This API supports the Entity Framework Core 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 ReferenceEqualityComparer : IEqualityComparer<object>
Public NotInheritable Class ReferenceEqualityComparer
    Implements IEqualityComparer(Of Object)
Inheritance
System.ObjectSystem.Object
ReferenceEqualityComparerReferenceEqualityComparer
Implements
System.Collections.Generic.IEqualityComparer<System.Object>System.Collections.Generic.IEqualityComparer(Of System.Object)

Properties

Instance Instance

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

public static ReferenceEqualityComparer Instance { get; }
Public Shared ReadOnly Property Instance As ReferenceEqualityComparer

Explicit Interface Implementations

IEqualityComparer.Equals(Object, Object) System.Collections.Generic.IEqualityComparer.Equals(Object, Object)

bool IEqualityComparer<object>.Equals(object x, object y)
Function System.Collections.Generic.IEqualityComparer<System.Object>.Equals(x As Object, y As Object) As Boolean Implements IEqualityComparer(Of Object).Equals
Parameters
x
System.Object System.Object
y
System.Object System.Object
Returns
System.Boolean System.Boolean

IEqualityComparer.GetHashCode(Object) System.Collections.Generic.IEqualityComparer.GetHashCode(Object)

int IEqualityComparer<object>.GetHashCode(object obj)
Function System.Collections.Generic.IEqualityComparer<System.Object>.GetHashCode(obj As Object) As Integer Implements IEqualityComparer(Of Object).GetHashCode
Parameters
obj
System.Object System.Object
Returns
System.Int32 System.Int32

Methods

Equals(Object) Equals(Object)

Inherited from System.Object

Equals(Object, Object) Equals(Object, Object)

Inherited from System.Object

GetHashCode() GetHashCode()

Inherited from System.Object

GetType() GetType()

Inherited from System.Object

MemberwiseClone() MemberwiseClone()

Inherited from System.Object

ReferenceEquals(Object, Object) ReferenceEquals(Object, Object)

Inherited from System.Object

ToString() ToString()

Inherited from System.Object