DiagnosticSeverity Enum
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.
Describes how severe a diagnostic is.
public enum class DiagnosticSeverity
public enum DiagnosticSeverity
type DiagnosticSeverity =
Public Enum DiagnosticSeverity
- Inheritance
-
DiagnosticSeverity
Fields
Name | Value | Description |
---|---|---|
0 | Something that is an issue, as determined by some authority, but is not surfaced through normal means. There may be different mechanisms that act on these issues. |
|
Info | 1 | Information that does not indicate a problem (i.e. not prescriptive). |
Warning | 2 | Something suspicious but allowed. |
Error | 3 | Something not allowed by the rules of the language or other authority. |
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.