Partager via


CSharpCompilationOptions.WithGeneralDiagnosticOption(ReportDiagnostic) Method

Definition

public:
 Microsoft::CodeAnalysis::CSharp::CSharpCompilationOptions ^ WithGeneralDiagnosticOption(Microsoft::CodeAnalysis::ReportDiagnostic value);
public Microsoft.CodeAnalysis.CSharp.CSharpCompilationOptions WithGeneralDiagnosticOption (Microsoft.CodeAnalysis.ReportDiagnostic value);
override this.WithGeneralDiagnosticOption : Microsoft.CodeAnalysis.ReportDiagnostic -> Microsoft.CodeAnalysis.CSharp.CSharpCompilationOptions
Public Function WithGeneralDiagnosticOption (value As ReportDiagnostic) As CSharpCompilationOptions

Parameters

Returns

Applies to