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.
This is identical to adding attributes StructuralEquality(false) and StructuralComparison(false).
Full Type Signature
[<AttributeUsage (enum<AttributeTargets> (4))>]
type ReferenceEqualityAttribute = class
inherit Attribute
end
with
new : value:bool -> ReferenceEqualityAttribute
new : unit -> ReferenceEqualityAttribute
member Value : bool
end
Instance Members
Member | Description |
member Value : bool | |
Static Members
|