共用方式為


CSharpCompilationOptions.WithReportSuppressedDiagnostics(Boolean) Method

Definition

public:
 Microsoft::CodeAnalysis::CSharp::CSharpCompilationOptions ^ WithReportSuppressedDiagnostics(bool reportSuppressedDiagnostics);
public Microsoft.CodeAnalysis.CSharp.CSharpCompilationOptions WithReportSuppressedDiagnostics (bool reportSuppressedDiagnostics);
override this.WithReportSuppressedDiagnostics : bool -> Microsoft.CodeAnalysis.CSharp.CSharpCompilationOptions
Public Function WithReportSuppressedDiagnostics (reportSuppressedDiagnostics As Boolean) As CSharpCompilationOptions

Parameters

reportSuppressedDiagnostics
Boolean

Returns

Applies to