Method Return
Return()
Creates a return instruction for a function that has no return value
Declaration
public ReturnInstruction Return()
Returns
public ReturnInstruction Return()
ReturnInstruction | ReturnInstruction |
Exceptions
ArgumentException | the function has a non-void return type |
Return(Value)
Creates a return instruction with the return value for a function
Declaration
public ReturnInstruction Return(Value value)
Parameters
public ReturnInstruction Return(Value value)
Value | value | Value to return |
Returns
ReturnInstruction | ReturnInstruction |