Class VBStaticLocalVariableSymbol
Represents a semantically Static local variable symbol.
public sealed record VBStaticLocalVariableSymbol : VBLocalVariableSymbol, IEquatable<Symbol>, IEquatable<BoundSymbol>, IEquatable<BoundTypedSymbol>, IEquatable<VBLocalVariableSymbol>, IEquatable<VBStaticLocalVariableSymbol>
- Inheritance
-
VBStaticLocalVariableSymbol
- Implements
- Inherited Members
Remarks
Static
locals are allocated at module level in the workspace statics heap.
A local variable is Static if its parent scope declaration includes the Static modifier, or if the Static keyword is used to declare that variable.
Constructors
VBStaticLocalVariableSymbol(Uri, Uri, string, Range, Range)
Represents a semantically Static local variable symbol.
public VBStaticLocalVariableSymbol(Uri WorkspaceRoot, Uri ParentUri, string Name, Range Range, Range SelectionRange)
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.
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.
Remarks
Static
locals are allocated at module level in the workspace statics heap.
A local variable is Static if its parent scope declaration includes the Static modifier, or if the Static keyword is used to declare that variable.