Initializes a new instance of the Reference class that references a symbol.
Namespace: SharpAssembler.Core.SymbolsAssembly: SharpAssembler Core (in SharpAssembler Core.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C# |
---|
public Reference( Symbol symbol ) |
Visual Basic |
---|
Public Sub New ( _ symbol As Symbol _ ) |
Visual C++ |
---|
public: Reference( Symbol^ symbol ) |
Parameters
- symbol
- Type: SharpAssembler.Core.Symbols..::..Symbol
The Symbol being referenced.
Exceptions
Exception | Condition |
---|---|
System..::..ArgumentNullException | symbol == null |
Contracts
Requires | ||
---|---|---|
symbol != null
|