Determines whether the verifier will check for the presence of the recommended standard constructors.

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

Syntax

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

Remarks

The default value is true.

Built-in verifications:

  • The exception has a default parameter-less constructor.
  • The exception has a single parameter constructor for the message.
  • The exception two parameters constructor for the message and an inner exception.

See Also