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.
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. |