MetalamaAPI documentationAdvanced APIMetalama.​Testing.​Aspect­TestingTest­OptionsNullability­Disabled
Open sandboxFocus

TestOptions.NullabilityDisabled Property

NullabilityDisabled

Gets or sets a value indicating whether C# nullability is disabled for the compilation. To enable this option in a test, add this comment to your test file: // @NullabilityDisabled.

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