/// <summary>
/// Finds a variable, if any, that is referenced by an instruction.
/// </summary>
/// <param name="instruction">Instruction that may reference a variable.</param>
/// <param name="variable">When populated, this is the referenced variable.</param>
/// <returns><c>true</c> if a variable referenced by the instruction was found, else <c>false</c>.</returns>
private bool TryGetReferencedVariable(Instruction instruction, out VariableDefinition variable)
{
return
(MultiplexedConstructor.TryGetVariableDefinitionOperand(instruction, out variable) ||
MultiplexedConstructor.TryGetIndexedVariableOperand(instruction, this.Constructor.Body.Variables, ref variable));
}