text: public RowRecordsAggregate(RecordStream rs, SharedValueManager svm): this(svm){while (rs.HasNext()){Record rec = rs.GetNext();switch (rec.Sid){case RowRecord.sid:InsertRow((RowRecord)rec);continue;case DConRefRecord.sid:AddUnknownRecord(rec);continue;case DBCellRecord.sid:continue;}if (rec is UnknownRecord){AddUnknownRecord((UnknownRecord)rec);while (rs.PeekNextSid() == ContinueRecord.sid){AddUnknownRecord(rs.GetNext());}continue;}if (rec is MulBlankRecord) {_valuesAgg.AddMultipleBlanks((MulBlankRecord) rec);continue;}if (!(rec is CellValueRecordInterface)){if (rec.Sid == SeriesIndexRecord.sid){AddUnknownRecord(rec);continue;}throw new InvalidOperationException("Unexpected record type (" + rec.GetType().Name + ")");}_valuesAgg.Construct((CellValueRecordInterface)rec, rs, svm);}}