Click or drag to resize
Diagnostic Class
Represents a diagnostic, such as a compiler error or warning.
Inheritance Hierarchy
SystemObject
  VSCodeDiagnostic

Namespace: VSCode
Assembly: VSCode (in VSCode.dll) Version: 1.0.0
Syntax
C#
public class Diagnostic

The Diagnostic type exposes the following members.

Constructors
  NameDescription
Public methodDiagnostic
Initializes a new instance of the Diagnostic class
Top
Properties
  NameDescription
Public propertyCode
The diagnostic's code.
Public propertyMessage
The diagnostic's message.
Public propertyRange
The range to which the message applies.
Public propertySeverity
The diagnostic's severity.
Public propertySource
A human-readable string describing the source of this diagnostic, e.g. 'typescript' or 'super lint'.
Top
Extension Methods
  NameDescription
Public Extension MethodToJObject
Converts this instance to a JObject.
(Defined by ObjectExtensions.)
Top
See Also