Determines whether the tested accessors are expected to accept a null reference as a valid input.
Namespace:
MbUnit.Framework.ContractVerifiersAssembly: MbUnit (in MbUnit.dll) Version: 3.2.0.0 (3.2.581.0)
Syntax
Remarks
If set to true, the setter is expected to accept a null reference as a valid value, and the getter to return a null reference as well. If set to false, the setter is expected to reject a null reference assignment by throwing a ArgumentNullException exception. If the type handled by the tested accessors is not nullable (a value type by example), the contract property is ignored.
The use of that contract property is optional, and its default state is true.
