DiagnosticMessage Class

Definition

A single diagnostic message.

C#
public class DiagnosticMessage
Inheritance
DiagnosticMessage

Constructors

Properties

EndColumn

Gets the zero-based column index for the end of the compilation error.

EndLine

Gets the one-based line index for the end of the compilation error.

FormattedMessage

Gets the formatted error message.

Message

Gets the error message.

SourceFilePath

Path of the file that produced the message.

StartColumn

Gets the zero-based column index for the start of the compilation error.

StartLine

Gets the one-based line index for the start of the compilation error.

Applies to

Product Versions
ASP.NET Core 1.0, 1.1, 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0