Open sandboxFocus

Property RuntimeVerificationEnabled

RuntimeVerificationEnabled

Determines whether the code should be verified against the model at runtime. The default value is true for the debug build configuration and false for the release build configuration.

Declaration
public bool RuntimeVerificationEnabled { get; set; }
Property Value
Type Description
bool
Remarks

This default value is false if the Optimize compiler setting is enabled, and true if this setting is disabled. The default value can also be modified by setting the PostSharpRuntimeVerificationEnabled MSBuild property, which can be edited from the PostSharp tab of project properties in Visual Studio.