Share via


DiagnosticDescriptor.GetEffectiveSeverity(CompilationOptions) Method

Definition

Gets the effective severity of diagnostics created based on this descriptor and the given CompilationOptions.

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

Parameters

compilationOptions
CompilationOptions

Compilation options

Returns

Applies to