Delen via


Diagnostic.DefaultSeverity Property

Definition

Gets the default DiagnosticSeverity of the diagnostic's DiagnosticDescriptor.

public:
 virtual property Microsoft::CodeAnalysis::DiagnosticSeverity DefaultSeverity { Microsoft::CodeAnalysis::DiagnosticSeverity get(); };
public virtual Microsoft.CodeAnalysis.DiagnosticSeverity DefaultSeverity { get; }
member this.DefaultSeverity : Microsoft.CodeAnalysis.DiagnosticSeverity
Public Overridable ReadOnly Property DefaultSeverity As DiagnosticSeverity

Property Value

Remarks

To get the effective severity of the diagnostic, use Severity.

Applies to