NullableContextOptions Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. |