Class VBReturningMemberSymbol
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
WorkspaceRootUriThe workspace root for this symbol. For an external project or library, this should be different than the user's project workspace.
ParentUriUriThe
Uriof the parent symbol.NamestringThe identifier name of the symbol.
ScopeScopeKindThe allocation scope of the symbol.
KindSymbolKindExtDescribes the kind (category) of symbol for the LSP client.
ResolvedTypeVBTypeThe resolved
VBTypeof this member. UseVBUnknownTypeif the type isn't resolved yet.RangeRangeA
Rangepointing to the document location that belongs to this symbol.SelectionRangeRangeA
Rangepointing to the document location that should be selected when navigating to this symbol.AccessModifierAccessModifierThe access modifier specified for this symbol. Use
AccessModifier.Implicitif 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; }