Class CompileErrorDto
A compile error, as it travels: what a diagnostics extension needs to say it.
public record CompileErrorDto : IEquatable<CompileErrorDto>
- Inheritance
-
CompileErrorDto
- Implements
- Inherited Members
Constructors
CompileErrorDto(RDCoreDiagnosticCode, SourceLocation, string, string)
A compile error, as it travels: what a diagnostics extension needs to say it.
public CompileErrorDto(RDCoreDiagnosticCode Code, SourceLocation Location, string Description, string Verbose)
Parameters
CodeRDCoreDiagnosticCodeThe diagnostic code of the error: a CompilePrefix code.
LocationSourceLocationWhere it is.
DescriptionstringWhat the error is: its message.
VerbosestringWhat is wrong, in particular.
Properties
Code
The diagnostic code of the error: a CompilePrefix code.
public RDCoreDiagnosticCode Code { get; init; }
Property Value
Description
What the error is: its message.
public string Description { get; init; }
Property Value
Location
Where it is.
public SourceLocation Location { get; init; }
Property Value
Verbose
What is wrong, in particular.
public string Verbose { get; init; }
Property Value
Methods
From(VBCompileErrorInfo)
Describes a compile error for the wire.
public static CompileErrorDto From(VBCompileErrorInfo error)
Parameters
errorVBCompileErrorInfoThe error.
Returns
ToInfo()
The compile error.
public VBCompileErrorInfo ToInfo()