Share via


CompilationOptions.WithReportSuppressedDiagnostics(Boolean) Method

Definition

Creates a new options instance with the specified suppressed diagnostics reporting option.

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

Parameters

value
Boolean

Returns

Applies to