PublicApiNullableAnnotation Enum

The nullable annotation of a type reference, as encoded by the C# compiler.

public enum PublicApiNullableAnnotation

Fields

NameValueDescription
Oblivious0The type was compiled in a context where nullable annotations are disabled.
NotAnnotated1The type is not annotated (e.g. string). Value types, other than Nullable<T>, are always not annotated.
Annotated2The type is annotated (e.g. string?).