Links

Diagnostic

Class in Yarn.Compiler
Inherits from System.Object

Summary

A diagnostic message that describes an error, warning or informational message that the user can take action on.
public sealed class Diagnostic

Remarks

Diagnostics are presented to the user as the result of compilation, through the CompilationResult class's Diagnostics property.

Constructors

Name
Description
Initializes a new instance of the Diagnostic class.
Initializes a new instance of the Diagnostic class.
Initializes a new instance of the Diagnostic class.
Initializes a new instance of the Diagnostic class.

Enums

Name
Description
The severity of the issue.

Methods

Name
Description

Properties

Name
Description
Column
Gets the zero-indexed character number in FileName at which the issue begins.
Context
Gets or sets the source text of FileName containing the issue.
FileName
Gets or sets the path, URI or file-name that the issue occurred in.
Line
Gets the zero-indexed line number in FileName at which the issue begins.
Message
Gets or sets the description of the issue.
Range
Gets or sets the range of the file indicated by FileName that the issue occurred in.
Severity
Gets or sets the severity of the issue.