Partilhar via


NullableContextOptionsExtensions.AnnotationsEnabled Method

Definition

Returns whether nullable annotations are enabled.

public static bool AnnotationsEnabled (this Microsoft.CodeAnalysis.NullableContextOptions context);
static member AnnotationsEnabled : Microsoft.CodeAnalysis.NullableContextOptions -> bool
<Extension()>
Public Function AnnotationsEnabled (context As NullableContextOptions) As Boolean

Parameters

Returns

Applies to