JaCIL Framework API

StackObject Constructor (StackType, StackArrayType, Int32, StackPointerType, StackValueType, String)

Creates the item.

public StackObject(
   StackType stackType,
   StackArrayType arrayType,
   int arrayRank,
   StackPointerType pointerType,
   StackValueType valueType,
   string underlyingTypeName
);

Parameters

stackType
The stack type of this object.
arrayType
The array type of this object. For non object types this must be NotArray.
arrayRank
The rank of the array, should be greater than 0 if the array type is something other than NotArray and only zero if the array type is NotArray.
pointerType
The pointer type of this object. For non object types this must be NotPointer.
valueType
The user underlying value type-ness of this object. For primitives this is always ValueType.
underlyingTypeName
The name of the underlying type. May be null indicating that a generic one will be assigned based on the other type operands.

Exceptions

Exception Type Condition
ArgumentException Thrown if the above rules are not followed.

See Also

StackObject Class | JaCIL.Compiler.Instruction Namespace | StackObject Constructor Overload List