Share via


NullableContextOptions Enum

Definition

Represents the default state of nullable analysis in this compilation.

This enumeration supports a bitwise combination of its member values.

[System.Flags]
public enum NullableContextOptions
[<System.Flags>]
type NullableContextOptions = 
Public Enum NullableContextOptions
Inheritance
NullableContextOptions
Attributes

Fields

Name Value Description
Disable 0

The nullable analysis feature is disabled.

Warnings 1

Nullable warnings are enabled and will be reported by default.

Annotations 2

Nullable annotations are enabled and will be shown when APIs defined in this project are used in other contexts.

Enable 3

The nullable analysis feature is fully enabled.

Applies to