DiagnosticTags 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.
Metadata about the diagnostic.
This enumeration supports a bitwise combination of its member values.
public enum class DiagnosticTags
[System.Flags]
public enum DiagnosticTags
[<System.Flags>]
type DiagnosticTags =
Public Enum DiagnosticTags
- Inheritance
-
DiagnosticTags
- Attributes
Fields
BuildError | 4 | Diagnostic coming from the build (see VSDiagnosticTags.BuildError). |
Deprecated | 2 | Deprecated or obsolete code. |
64 | Do not drawn an error indicator in the editor. |
|
16 | Do not show this diagnostic in the error list. |
|
None | 0 | No tags associated with the diagnostic. |
PotentialDuplicate | 8 | Diagnostics with this tag will be considered duplicates and hidden from the end-user when the DiagnosticCollection that contains it is superceeded. |
SuppressEditorToolTip | 128 | Do not show a tool tip for the error in the editor. |
TaskItem | 256 | Shows this item as a task item in the VS TODO list. |
Unnecessary | 1 | Unused or unnecessary code. |
VisibleInErrorList | 32 | Show this diagnostic in the error list. |
Remarks
The enumeration values match those in LSP DiagnosticTag.