MetalamaAPI documentationPatterns APIMetalama.​Patterns.​ContractsContract­OptionsIs­Invariant­Suspension­Supported
Open sandboxFocus

ContractOptions.IsInvariantSuspensionSupported Property

IsInvariantSuspensionSupported

Gets or sets a value indicating whether the InvariantAttribute aspect should generate the code that supports the SuspendInvariantsAttribute, including the SuspendInvariants and AreInvariantsSuspended methods. The option is false by default.

Declaration
public Nullable<bool> IsInvariantSuspensionSupported { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>