NullableContextOptionsExtensions.AnnotationsEnabled 方法

定义

返回是否启用可为 null 的批注。

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

参数

返回

适用于