Determines whether the verifier will evaluate the presence and the behavior of the equality and the inequality operator overloads.

Namespace:  MbUnit.Framework.ContractVerifiers
Assembly:  MbUnit (in MbUnit.dll) Version: 3.3.0.0 (3.3.610.0)

Syntax

C#
public bool ImplementsOperatorOverloads { get; set; }
Visual Basic (Declaration)
Public Property ImplementsOperatorOverloads As Boolean

Remarks

The default value is true.

Built-in verifications:

  • The type has a static equality operator (==) overload which behaves correctly against the provided equivalence classes.
  • The type has a static inequality operator (!=) overload which behaves correctly against the provided equivalence classes.

See Also