Open sandboxFocus

Property WarnOnNotNullableOnNullable

WarnOnNotNullableOnNullable

Gets or sets a value indicating whether the LAMA5002 warning should be reported when attempting to add a NotNullAttribute or RequiredAttribute contract on a nullable parameter, field or property. This option is true by default.

Declaration
public bool? WarnOnNotNullableOnNullable { get; init; }
Property Value
Type Description
bool?