Equality Comparer Class
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public ref class ReferenceEqualityComparer sealed : System::Collections::Generic::IEqualityComparer<System::Object ^>, System::Collections::IEqualityComparer
public sealed class ReferenceEqualityComparer : System.Collections.Generic.IEqualityComparer<object>, System.Collections.IEqualityComparer
type ReferenceEqualityComparer = class interface IEqualityComparer<obj> interface IEqualityComparer
Public NotInheritable Class ReferenceEqualityComparer Implements IEqualityComparer, IEqualityComparer(Of Object)
Gets the singleton ReferenceEqualityComparer instance.
Determines whether the specified object is equal to the current object.(Inherited from Object)
Determines whether two object references refer to the same object instance.
Serves as the default hash function.(Inherited from Object)
Returns a hash code for the specified object. The returned hash code is based on the object identity, not on the contents of the object.
Gets the Type of the current instance.(Inherited from Object)
Creates a shallow copy of the current Object.(Inherited from Object)
Returns a string that represents the current object.(Inherited from Object)