NullableContextOptions Enum

Definition

Specifies the nullable context.

public enum NullableContextOptions
type NullableContextOptions = 
Public Enum NullableContextOptions
Inheritance
NullableContextOptions

Fields

Annotations 3

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

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.

SafeOnlyWarnings 4

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

Warnings 2

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

Applies to