Gets or sets the target symbol of this relocation.

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

Syntax

C#
public Symbol TargetSymbol { get; set; }
Visual Basic
Public Property TargetSymbol As Symbol
	Get
	Set
Visual C++
public:
property Symbol^ TargetSymbol {
	Symbol^ get ();
	void set (Symbol^ value);
}

Field Value

A Symbol.

Remarks

When the target symbol is a defined symbol (as opposed to a symbol which is not defined in this object file), the resulting relocation (as encoded by the file format) may have a value which equals the offset of the symbol relative to it's section, and a symbol specifier which targets that section.

Exceptions

ExceptionCondition
System..::..ArgumentNullExceptionvalue == null

Contracts

Get

Ensures
Contract.Result<Symbol>() != null

Set

Requires
value != null

See Also