Adding this attribute to a record, union or struct type with value 'false'
confirms the automatic generation of overrides for 'System.Object.Equals(obj)'
and 'System.Object.GetHashCode()' for the type. This attribute is usually used in
conjunction with StructuralComparison(false) to generate a type that supports
structural equality but not structural comparison.
Full Type Signature
[<AttributeUsage (enum<AttributeTargets> (4))>]
type StructuralEqualityAttribute = class
inherit Attribute
end
with
new : value:bool -> StructuralEqualityAttribute
new : unit -> StructuralEqualityAttribute
member Value : bool
end
Instance Members
Member | Description |
member Value : bool | |
Static Members
|