text: public SelectionRecord(RecordInputStream in1){field_1_pane = (byte)in1.ReadByte();field_2_row_active_cell = in1.ReadUShort();field_3_col_active_cell = in1.ReadShort();field_4_ref_active_cell = in1.ReadShort();int field_5_num_refs = in1.ReadUShort();field_6_refs = new CellRangeAddress8Bit[field_5_num_refs];for (int i = 0; i < field_5_num_refs; i++){field_6_refs[i] = new CellRangeAddress8Bit(in1);}}