text: public void RemoveRow(RowRecord row){int rowIndex = row.RowNumber;_valuesAgg.RemoveAllCellsValuesForRow(rowIndex);int key = rowIndex;RowRecord rr = (RowRecord)_rowRecords[key];_rowRecords.Remove(key);if (rr == null){throw new Exception("Invalid row index (" + key + ")");}if (row != rr){_rowRecords[key] = rr;throw new Exception("Attempt to remove row that does not belong to this sheet");}_rowRecordValues = null;}