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

Namespace: SharpAssembler.Core.Symbols
Assembly: SharpAssembler Core (in SharpAssembler Core.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
public Reference(
	string symbolIdentifier
)
Visual Basic
Public Sub New ( _
	symbolIdentifier As String _
)
Visual C++
public:
Reference(
	String^ symbolIdentifier
)

Parameters

symbolIdentifier
Type: System..::..String
The identifier of the symbol being referenced.

Exceptions

ExceptionCondition
System..::..ArgumentNullExceptionsymbolIdentifier == null
System..::..ArgumentExceptionsymbolIdentifier.Length <= 0

Contracts

Requires
symbolIdentifier != null
symbolIdentifier.Length > 0

See Also