NullableContextOptions Enum

Definition

Specifies the nullable context.

public enum NullableContextOptions
type NullableContextOptions = 
Public Enum NullableContextOptions
Inheritance
NullableContextOptions

Fields

Name Value Description
Disable 0

Nullable annotation and warning contexts are disabled.

Enable 1

Nullable annotation and warning contexts are enabled.

SafeOnly 2

Nullable annotation context is enabled and the nullable warning context is safeonly.

Warnings 2

Nullable annotation context is disabled and the nullable warning context is enabled.

Annotations 3

Nullable annotation context is enabled and the nullable warning context is disabled.

SafeOnlyWarnings 4

Nullable annotation context is disabled and the nullable warning context is safeonly.

Applies to