Method GetOperand
GetOperand<T>(Int32)
Gets an operand by index as a specific type
Declaration
public T GetOperand<T>(int index)
where T : LlvmMetadata
Parameters
public T GetOperand<T>(int index)
where T : LlvmMetadata
Int32 | index | Index of the operand |
Returns
T | Operand |
Type Parameters
T | Type of the operand |
Exceptions
InvalidCastException | When the operand is not castable to |
ArgumentOutOfRangeException | When the index is out of range for the operands of this node |