text: public void Add(FormulaRecordAggregate agg){if (_numberOfFormulas == 0){if (_firstCell.Row != agg.Row || _firstCell.Col != agg.Column){throw new InvalidOperationException("shared formula coding error");}}if (_numberOfFormulas >= _frAggs.Length){throw new Exception("Too many formula records for shared formula group");}_frAggs[_numberOfFormulas++] = agg;}