NullableContextExtensions.AnnotationsInherited(NullableContext) 方法

定义

返回是否从此文件类型的项目默认值继承了可为 null 的批注状态。

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

参数

context
NullableContext

返回

适用于