Table of Contents

Class VBExternalFunctionMemberSymbol

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

Represents an external Declare Function member declaration.

public sealed record VBExternalFunctionMemberSymbol : VBFunctionMemberSymbol, IEquatable<Symbol>, IEquatable<WorkspaceSymbol>, ITypedSymbol, IEquatable<BoundTypedSymbol>, IEquatable<AccessibleTypedSymbol>, IEquatable<VBTypeMemberSymbol>, IEquatable<VBReturningMemberSymbol>, IEquatable<VBFunctionMemberSymbol>, IEquatable<VBExternalFunctionMemberSymbol>
Inheritance
VBExternalFunctionMemberSymbol
Implements
Inherited Members

Constructors

VBExternalFunctionMemberSymbol(Uri, Uri, string, ScopeKind, SymbolKindExt, VBType, SourceRange, SourceRange, AccessModifier, bool, string, string?)

Represents an external Declare Function member declaration.

public VBExternalFunctionMemberSymbol(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

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

IsPtrSafe bool

true when the declaration includes a PtrSafe token.

Lib string

The external library named by the Lib clause.

Alias string

The name named by the Alias clause, or null when there is none.

Properties

Alias

The name named by the Alias clause, or null when there is none.

public string? Alias { get; init; }

Property Value

string

IsPtrSafe

true when the declaration includes a PtrSafe token.

public bool IsPtrSafe { get; init; }

Property Value

bool

Lib

The external library named by the Lib clause.

public string Lib { get; init; }

Property Value

string