Initializes a new instance of the Reference class that references a symbol.

Namespace: SharpAssembler.Core.Symbols
Assembly: 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

ExceptionCondition
System..::..ArgumentNullExceptionsymbol == null

Contracts

See Also