Open sandboxFocus

Property IsInvariantSuspensionSupported

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 bool? IsInvariantSuspensionSupported { get; init; }
Property Value
Type Description
bool?