Table of Contents

Method IntToPtrExpression

Namespace
Ubiquity.NET.Llvm.Values
Assembly
Ubiquity.NET.Llvm.dll

IntToPtrExpression(Constant, ITypeRef)

Gets an IntToPtr expression to convert an integral value to a pointer

[SuppressMessage("Microsoft.Design", "CA1011:ConsiderPassingBaseTypesAsParameters", Justification = "Specific type required by interop call")]
public static Constant IntToPtrExpression(Constant value, ITypeRef type)

Parameters

value Constant

Constant value to cast to a pointer

type ITypeRef

Type of the pointer to cast value to

Returns

Constant

New pointer constant