Table of Contents

Class VBReturningMemberSymbol

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

A VBTypeMemberSymbol that resolves a VBType at compile-time and returns a VBTypedValue at run-time.

public abstract record VBReturningMemberSymbol : VBTypeMemberSymbol, IEquatable<Symbol>, IEquatable<BoundSymbol>, IEquatable<BoundTypedSymbol>, IEquatable<AccessibleTypedSymbol>, IEquatable<VBTypeMemberSymbol>, IEquatable<VBReturningMemberSymbol>
Inheritance
VBReturningMemberSymbol
Implements
Derived
Inherited Members

Remarks

A returning member is any type member symbol that statically evaluates to a representable VBType.

Constructors

VBReturningMemberSymbol(Uri, Uri, string, ScopeKind, SymbolKindExt, VBType, Range, Range, AccessModifier)

A VBTypeMemberSymbol that resolves a VBType at compile-time and returns a VBTypedValue at run-time.

protected VBReturningMemberSymbol(Uri WorkspaceRoot, Uri ParentUri, string Name, ScopeKind Scope, SymbolKindExt Kind, VBType ResolvedType, Range Range, Range 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.

Kind SymbolKindExt

Describes the kind (category) of symbol for the LSP client.

ResolvedType VBType

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

Range Range

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

SelectionRange Range

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 AccessModifier.Implicit if none is specified.

Remarks

A returning member is any type member symbol that statically evaluates to a representable VBType.

Properties

Parameters

An immutable array containing the parameters of this procedure member.

public ImmutableArray<VBParameterSymbol> Parameters { get; init; }

Property Value

ImmutableArray<VBParameterSymbol>