Header menu logo FSharp.Core

ReferenceEqualityAttribute Type

Adding this attribute to a record or union type disables the automatic generation of overrides for 'System.Object.Equals(obj)', 'System.Object.GetHashCode()' and 'System.IComparable' for the type. The type will by default use reference equality.

Constructors

Constructor Description

ReferenceEqualityAttribute()

Full Usage: ReferenceEqualityAttribute()

Returns: ReferenceEqualityAttribute ReferenceEqualityAttribute

Creates an instance of the attribute

Returns: ReferenceEqualityAttribute

ReferenceEqualityAttribute

Type something to start searching.