Diagnostic.DefaultSeverity Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.