ObjectReferenceEqualityComparer Class

 

Compares objects using reference equality.

Namespace:   System.Data.Entity.Infrastructure
Assembly:  EntityFramework (in EntityFramework.dll)

System.Object
  System.Data.Entity.Infrastructure.ObjectReferenceEqualityComparer

[SerializableAttribute]
public sealed class ObjectReferenceEqualityComparer : IEqualityComparer<object>

NameDescription
System_CAPS_pubmethodObjectReferenceEqualityComparer()

Initializes a new instance of the ObjectReferenceEqualityComparer class.

NameDescription
System_CAPS_pubpropertySystem_CAPS_staticDefault

Gets the default instance.

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.