共用方式為


CompilationOptions.CommonWithGeneralDiagnosticOption(ReportDiagnostic) 方法

定義

protected:
 abstract Microsoft::CodeAnalysis::CompilationOptions ^ CommonWithGeneralDiagnosticOption(Microsoft::CodeAnalysis::ReportDiagnostic generalDiagnosticOption);
protected abstract Microsoft.CodeAnalysis.CompilationOptions CommonWithGeneralDiagnosticOption (Microsoft.CodeAnalysis.ReportDiagnostic generalDiagnosticOption);
abstract member CommonWithGeneralDiagnosticOption : Microsoft.CodeAnalysis.ReportDiagnostic -> Microsoft.CodeAnalysis.CompilationOptions
Protected MustOverride Function CommonWithGeneralDiagnosticOption (generalDiagnosticOption As ReportDiagnostic) As CompilationOptions

參數

generalDiagnosticOption
ReportDiagnostic

傳回

適用於