public void updateCacheResult(ValueEval result) {int nFrames = _evaluationFrames.size();if (nFrames < 1) {throw new IllegalStateException("Call to endEvaluate without matching call to startEvaluate");}CellEvaluationFrame frame = _evaluationFrames.get(nFrames-1);if (result == ErrorEval.CIRCULAR_REF_ERROR && nFrames > 1) {return;}frame.updateFormulaResult(result);}
public void UpdateCacheResult(ValueEval result){int nFrames = _evaluationFrames.Count;if (nFrames < 1){throw new InvalidOperationException("Call To endEvaluate without matching call To startEvaluate");}CellEvaluationFrame frame = (CellEvaluationFrame)_evaluationFrames[nFrames - 1];frame.UpdateFormulaResult(result);}