Share via


ObjectReferenceEqualityComparer Class

Definition

Compares objects using reference equality.

[System.Serializable]
public sealed class ObjectReferenceEqualityComparer : System.Collections.Generic.IEqualityComparer<object>
type ObjectReferenceEqualityComparer = class
    interface IEqualityComparer<obj>
Public NotInheritable Class ObjectReferenceEqualityComparer
Implements IEqualityComparer(Of Object)
Inheritance
ObjectReferenceEqualityComparer
Attributes
Implements

Constructors

ObjectReferenceEqualityComparer()

Properties

Default

Gets the default instance.

Explicit Interface Implementations

IEqualityComparer<Object>.Equals(Object, Object)
IEqualityComparer<Object>.GetHashCode(Object)

Applies to