ReferenceEqualityComparer ReferenceEqualityComparer Class

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.

Syntax

Declaration

public sealed class ReferenceEqualityComparer : IEqualityComparer<object>Public NotInheritable Class ReferenceEqualityComparer
    Implements IEqualityComparer(Of Object)

Inheritance Hierarchy

  • System.Object
    System.Object
  • ReferenceEqualityComparer
    ReferenceEqualityComparer

Inherited Members

ToString(),
ToString(),
Equals(Object),
Equals(Object),
Equals(Object, Object),
Equals(Object, Object),
ReferenceEquals(Object, Object),
ReferenceEquals(Object, Object),
GetHashCode(),
GetHashCode(),
GetType(),
GetType(),
MemberwiseClone()
MemberwiseClone()

Properties summary

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.

Explicit Interface Implementations summary

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

    Property Value

Explicit Interface Implementations

  • IEqualityComparer<Object>.Equals(Object, Object)
    System.Collections.Generic.IEqualityComparer<System.Object>.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<Object>.GetHashCode(Object)
    System.Collections.Generic.IEqualityComparer<System.Object>.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

Details

Assembly

Microsoft.EntityFrameworkCore.dll