Class VBExternalSubMemberSymbol
Represents a Declare Sub external member declaration.
public sealed record VBExternalSubMemberSymbol : VBProcedureMemberSymbol, IEquatable<Symbol>, IEquatable<WorkspaceSymbol>, ITypedSymbol, IEquatable<BoundTypedSymbol>, IEquatable<AccessibleTypedSymbol>, IEquatable<VBTypeMemberSymbol>, IEquatable<VBProcedureMemberSymbol>, IEquatable<VBExternalSubMemberSymbol>
- Inheritance
-
VBExternalSubMemberSymbol
- Implements
- Inherited Members
Constructors
VBExternalSubMemberSymbol(Uri, Uri, string, ScopeKind, SymbolKindExt, VBType, SourceRange, SourceRange, AccessModifier, bool, string, string?)
Represents a Declare Sub external member declaration.
public VBExternalSubMemberSymbol(Uri WorkspaceRoot, Uri ParentUri, string Name, ScopeKind Scope, SymbolKindExt Kind, VBType ResolvedType, SourceRange Range, SourceRange SelectionRange, AccessModifier AccessModifier, bool IsPtrSafe, string Lib, string? Alias)
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. Use VBUnknownType if the type isn't resolved yet.RangeSourceRangeA
Rangepointing to the document location that belongs to this symbol.SelectionRangeSourceRangeA
Rangepointing to the document location that should be selected when navigating to this symbol.AccessModifierAccessModifierThe access modifier specified for this symbol. Use Implicit if none is specified.
IsPtrSafeboolWhether the declaration is
PtrSafe.LibstringThe library named by the
Libclause.AliasstringThe name of the procedure in the library, given by the
Aliasclause; null when there is none.
Properties
Alias
The name of the procedure in the library, given by the Alias clause; null when there is none.
public string? Alias { get; init; }
Property Value
IsPtrSafe
Whether the declaration is PtrSafe.
public bool IsPtrSafe { get; init; }
Property Value
Lib
The library named by the Lib clause.
public string Lib { get; init; }