public override void AddRecord(BaseRecord br) { Rec r = br as Rec; if (r == null) throw new TESParserException("Record to add was not of the correct type." + Environment.NewLine + "Groups can only hold records or other groups."); Records.Add(r); }