Table of Contents

Class LocalDescriptor

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

A transport-friendly projection of a VBLocalVariableSymbol — one Dim or Static of a procedure.

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

Properties

Array

The array the variable is, when it is one: see Array.

public ArrayDescriptor? Array { get; init; }

Property Value

ArrayDescriptor

DeclaredBy

How the variable entered the procedure scope — a real declaration, or an implicit one.

public LocalDeclarationKind DeclaredBy { get; init; }

Property Value

LocalDeclarationKind

DeclaredTypeName

The declared type's name, or null — resolved host-side like a member's. For an array, its element type's.

public string? DeclaredTypeName { get; init; }

Property Value

string

IsAutoInstantiated

Whether the variable is an automatic instantiation variable (MS-VBAL §2.5.1): declared As New.

public bool IsAutoInstantiated { get; init; }

Property Value

bool

IsStatic

Whether the declaration carries the Static token (MS-VBAL §5.4.3.1): module-extent storage that outlives one activation, not procedure-extent.

public bool IsStatic { get; init; }

Property Value

bool

Name

The variable's identifier name.

public string Name { get; init; }

Property Value

string

Range

The source span of the declaration.

public SourceRange Range { get; init; }

Property Value

SourceRange

SelectionRange

The source span to select when navigating to the variable.

public SourceRange SelectionRange { get; init; }

Property Value

SourceRange