NullableContextExtensions.AnnotationsEnabled(NullableContext) 方法

定义

返回是否为此上下文启用可为 null 的批注。

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

参数

context
NullableContext

返回

适用于