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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.