JaCIL Framework API

StackObject.GetPointerTo Method 

Returns the stack object representation of this stack object as a pointer.

public StackObject GetPointerTo();

Return Value

A stack object representing a pointer to this type.

Remarks

This method is only usable if the object does not represent a pointer type, as a managed pointer to a managed pointer is invalid (byref to a byref).

Exceptions

Exception Type Condition
StackStateException Thrown if the stack object is a pointer type.

See Also

StackObject Class | JaCIL.Compiler.Instruction Namespace