次の方法で共有


Diagnostic Class

Definition

Class which represents a source code diagnostic message.

See the Language Server Protocol specification for additional information.

public ref class Diagnostic
public ref class Diagnostic : IEquatable<Microsoft::VisualStudio::LanguageServer::Protocol::Diagnostic ^>
[System.Runtime.Serialization.DataContract]
public class Diagnostic
[System.Runtime.Serialization.DataContract]
public class Diagnostic : IEquatable<Microsoft.VisualStudio.LanguageServer.Protocol.Diagnostic>
[<System.Runtime.Serialization.DataContract>]
type Diagnostic = class
[<System.Runtime.Serialization.DataContract>]
type Diagnostic = class
    interface IEquatable<Diagnostic>
Public Class Diagnostic
Public Class Diagnostic
Implements IEquatable(Of Diagnostic)
Inheritance
Diagnostic
Attributes
Implements

Constructors

Diagnostic()

Properties

Code

Gets or sets the diagnostic's code, which usually appear in the user interface.

CodeDescription

Gets or sets an optional value that describes the error code.

Message

Gets or sets the diagnostic's message.

Range

Gets or sets the source code range.

Severity

Gets or sets the diagnostic severity.

Source

Gets or sets a human-readable string describing the source of this diagnostic, e.g. 'typescript' or 'super lint'. It usually appears in the user interface.

Tags

Gets or sets the diagnostic's tags.

Methods

Equals(Diagnostic)

Indicates whether the current object is equal to another object of the same type.

Equals(Object)
GetHashCode()

Serves as the default hash function.

Operators

Equality(Diagnostic, Diagnostic)
Inequality(Diagnostic, Diagnostic)

Applies to