Table of Contents

Class ProgramEntryPointResolution

Namespace
RDCore.SDK.Workspace
Assembly
RDCore.SDK.dll

The entry point of a project (Of(ProjectBuild?, IEnumerable<(VBModuleSymbol Module, IEnumerable<VBTypeMemberSymbol> Members)>)): the module and procedure its program starts at, or why it has none.

public sealed record ProgramEntryPointResolution : IEquatable<ProgramEntryPointResolution>
Inheritance
ProgramEntryPointResolution
Implements
Inherited Members

Properties

Candidates

The standard modules that each declare the entry point, in the order they were given, when more than one does (Ambiguous); empty otherwise.

public IReadOnlyList<VBModuleSymbol> Candidates { get; init; }

Property Value

IReadOnlyList<VBModuleSymbol>

IsFound

Whether the project has an entry point: Module and Procedure are not null.

[MemberNotNullWhen(true, new string[] { "Module", "Procedure" })]
public bool IsFound { get; }

Property Value

bool

Module

The standard module the entry point is in; null when the project has none.

public VBModuleSymbol? Module { get; init; }

Property Value

VBModuleSymbol

Procedure

The procedure the program starts at; null when the project has none.

public VBTypeMemberSymbol? Procedure { get; init; }

Property Value

VBTypeMemberSymbol

Refusal

Why the project has no entry point; null when it has one.

public ProgramEntryPointRefusal? Refusal { get; init; }

Property Value

ProgramEntryPointRefusal?