Table of Contents

Class VBConstantMemberSymbol

Namespace
RDCore.SDK.Model.Symbols.VBProject
Assembly
RDCore.SDK.dll

A module-level Const declaration. A constant statically evaluates to a value of a fixed VBType and cannot be assigned at run-time; an Enum member is modelled separately by VBEnumConstMemberSymbol.

public sealed record VBConstantMemberSymbol : VBReturningMemberSymbol, IEquatable<Symbol>, IEquatable<BoundSymbol>, ITypedSymbol, IEquatable<BoundTypedSymbol>, IEquatable<AccessibleTypedSymbol>, IEquatable<VBTypeMemberSymbol>, IEquatable<VBReturningMemberSymbol>, IEquatable<VBConstantMemberSymbol>
Inheritance
VBConstantMemberSymbol
Implements
Inherited Members

Constructors

VBConstantMemberSymbol(Uri, Uri, string, ScopeKind, VBType, SourceRange, SourceRange, AccessModifier)

A module-level Const declaration. A constant statically evaluates to a value of a fixed VBType and cannot be assigned at run-time; an Enum member is modelled separately by VBEnumConstMemberSymbol.

public VBConstantMemberSymbol(Uri WorkspaceRoot, Uri ParentUri, string Name, ScopeKind Scope, VBType ResolvedType, SourceRange Range, SourceRange SelectionRange, AccessModifier AccessModifier)

Parameters

WorkspaceRoot Uri

The workspace root for this symbol. For an external project or library, this should be different than the user's project workspace.

ParentUri Uri

The Uri of the parent symbol.

Name string

The identifier name of the symbol.

Scope ScopeKind

The allocation scope of the symbol.

ResolvedType VBType

The resolved VBType of the constant. Use VBUnknownType if the type isn't resolved yet.

Range SourceRange

A Range pointing to the document location that belongs to this symbol.

SelectionRange SourceRange

A Range pointing to the document location that should be selected when navigating to this symbol.

AccessModifier AccessModifier

The access modifier specified for this symbol. Use Implicit if none is specified.