共用方式為


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

參數

傳回

適用於