Table of Contents

Class CompileErrorDto

Namespace
RDCore.SDK.Platform.Protocol
Assembly
RDCore.SDK.dll

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

Code RDCoreDiagnosticCode

The diagnostic code of the error: a CompilePrefix code.

Location SourceLocation

Where it is.

Description string

What the error is: its message.

Verbose string

What is wrong, in particular.

Properties

Code

The diagnostic code of the error: a CompilePrefix code.

public RDCoreDiagnosticCode Code { get; init; }

Property Value

RDCoreDiagnosticCode

Description

What the error is: its message.

public string Description { get; init; }

Property Value

string

Location

Where it is.

public SourceLocation Location { get; init; }

Property Value

SourceLocation

Verbose

What is wrong, in particular.

public string Verbose { get; init; }

Property Value

string

Methods

From(VBCompileErrorInfo)

Describes a compile error for the wire.

public static CompileErrorDto From(VBCompileErrorInfo error)

Parameters

error VBCompileErrorInfo

The error.

Returns

CompileErrorDto

ToInfo()

The compile error.

public VBCompileErrorInfo ToInfo()

Returns

VBCompileErrorInfo