NullableContextOptionsExtensions.WarningsEnabled 方法

定义

返回是否启用可为 null 的警告。

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

参数

返回

适用于