Method IntToPointer
IntToPointer(Value, IPointerType)
Builds a cast from an integer to a pointer
Declaration
public Value IntToPointer(Value intValue, IPointerType ptrType)
Parameters
public Value IntToPointer(Value intValue, IPointerType ptrType)
Value | intValue | Integer value to cast |
IPointerType | ptrType | pointer type to return |
Returns
Value | Resulting value from the cast |
Remarks
The actual type of value returned depends on intValue
and is either a ConstantExpression or an IntToPointer
instruction. Conversion to a constant expression is performed whenever possible.