Table of Contents

Class SymbolNavigationTarget

Namespace
RDCore.SDK.Semantics.Refactoring
Assembly
RDCore.SDK.dll

Where a navigation from a name leads: the name it starts from, and the places it leads to.

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

Constructors

SymbolNavigationTarget(SourceRange, Symbol, IReadOnlyList<SymbolSite>)

Where a navigation from a name leads: the name it starts from, and the places it leads to.

public SymbolNavigationTarget(SourceRange Origin, Symbol Symbol, IReadOnlyList<SymbolSite> Sites)

Parameters

Origin SourceRange

Where the name is written, in the module the navigation starts from.

Symbol Symbol

The symbol the name refers to.

Sites IReadOnlyList<SymbolSite>

The places it leads to, in the order they are written; none for a symbol that no module of the workspace declares.

Properties

Origin

Where the name is written, in the module the navigation starts from.

public SourceRange Origin { get; init; }

Property Value

SourceRange

Sites

The places it leads to, in the order they are written; none for a symbol that no module of the workspace declares.

public IReadOnlyList<SymbolSite> Sites { get; init; }

Property Value

IReadOnlyList<SymbolSite>

Symbol

The symbol the name refers to.

public Symbol Symbol { get; init; }

Property Value

Symbol