Table of Contents

Class DeclarationFactDto

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

A DeclarationFact, as it travels.

public record DeclarationFactDto : IEquatable<DeclarationFactDto>
Inheritance
DeclarationFactDto
Implements
Inherited Members

Constructors

DeclarationFactDto(Uri, string, DeclarationKind, AccessModifier, bool, SourceLocation, DeclarationReferences?)

A DeclarationFact, as it travels.

public DeclarationFactDto(Uri Symbol, string Name, DeclarationKind Kind, AccessModifier Access, bool IsImplicit, SourceLocation Location, DeclarationReferences? References)

Parameters

Symbol Uri

The address of the declared symbol.

Name string

The name it is declared with.

Kind DeclarationKind

What it declares.

Access AccessModifier

Who can refer to it besides the module's own code.

IsImplicit bool

Whether it was never declared.

Location SourceLocation

Where it is declared.

References DeclarationReferences?

Every reference to it, when they are known; null says they are not.

Properties

Access

Who can refer to it besides the module's own code.

public AccessModifier Access { get; init; }

Property Value

AccessModifier

IsImplicit

Whether it was never declared.

public bool IsImplicit { get; init; }

Property Value

bool

Kind

What it declares.

public DeclarationKind Kind { get; init; }

Property Value

DeclarationKind

Location

Where it is declared.

public SourceLocation Location { get; init; }

Property Value

SourceLocation

Name

The name it is declared with.

public string Name { get; init; }

Property Value

string

References

Every reference to it, when they are known; null says they are not.

public DeclarationReferences? References { get; init; }

Property Value

DeclarationReferences?

Symbol

The address of the declared symbol.

public Uri Symbol { get; init; }

Property Value

Uri