Partilhar via


CompilationOptions.WithGeneralDiagnosticOption(ReportDiagnostic) Método

Definição

Cria uma nova instância de opções com a opção de diagnóstico geral especificada.

public:
 Microsoft::CodeAnalysis::CompilationOptions ^ WithGeneralDiagnosticOption(Microsoft::CodeAnalysis::ReportDiagnostic value);
public Microsoft.CodeAnalysis.CompilationOptions WithGeneralDiagnosticOption (Microsoft.CodeAnalysis.ReportDiagnostic value);
member this.WithGeneralDiagnosticOption : Microsoft.CodeAnalysis.ReportDiagnostic -> Microsoft.CodeAnalysis.CompilationOptions
Public Function WithGeneralDiagnosticOption (value As ReportDiagnostic) As CompilationOptions

Parâmetros

Retornos

Aplica-se a