CompilationOptions.WithReportSuppressedDiagnostics(Boolean) 方法

定义

使用指定的禁止诊断报告选项创建新的选项实例。

public:
 Microsoft::CodeAnalysis::CompilationOptions ^ WithReportSuppressedDiagnostics(bool value);
public Microsoft.CodeAnalysis.CompilationOptions WithReportSuppressedDiagnostics (bool value);
member this.WithReportSuppressedDiagnostics : bool -> Microsoft.CodeAnalysis.CompilationOptions
Public Function WithReportSuppressedDiagnostics (value As Boolean) As CompilationOptions

参数

value
Boolean

返回

适用于