Class GlobalSymbols
The symbols that belong to no declaration.
public static class GlobalSymbols
- Inheritance
-
GlobalSymbols
- Inherited Members
Remarks
One member, and it is a sentinel: something a resolver or a caller can name when there is nothing real to name.
This was a grab-bag of some 140 static symbols — a table of every operator symbol, named accessors
into that table, an ExtensionSymbols nest of per-type Byte.Min/Long.Max
constants, a StaticSymbols nest of True/Nothing/vbNullString, and an
Initialize that seeded an index with the operators. Exactly one of them was ever read by any
code, and only for its declared type — which the type itself already names — and nothing called
Initialize at all. Together they looked like a language model; measured, they were a list of
names nobody could resolve, because nothing ever put them in a scope.
The real thing they gestured at is StdLibSymbolProvider: a
symbol provider whose symbols reach the scope tree, so a name like vbNullString actually
binds. Anything from the old nests that is genuinely part of the language belongs there — declared
once, resolvable — rather than here as a static field.
Fields
UnresolvedSymbol
Represents a symbol that is unbound and unresolved.
public static readonly StaticSymbol UnresolvedSymbol
Field Value
Remarks
The data type of this symbol is VBUnknownType.