Table of Contents

Constructor Diagnostic

Namespace
Alternet.Common.TypeScript.Types
Assembly
Alternet.Common.TypeScript.v9.dll

Diagnostic(string, int, string, int?, int?, DiagnosticCategory, int?, int?)

Initializes a new instance of the Diagnostic class with specified parameters.

public Diagnostic(string filePath, int code, string message, int? start, int? length, DiagnosticCategory category, int? lineIndex, int? columnIndex)

Parameters

filePath string

File name containing diagnostic.

code int

Source code to which diagnostic is related.

message string

Diagnostic description.

start int?

Start position of the diagnostic.

length int?

Diagnostic length.

category DiagnosticCategory

Diagnostic category.

lineIndex int?

Line index of the diagnostic position.

columnIndex int?

Column index of the diagnostic position.