private void AppendDataRows(ShimDataMember rowParentMember, ShimDataMemberCollection rowMembers)
 {
     if (rowMembers == null)
     {
         this.m_dataRows.Add(new ShimDataRow(base.m_owner, this.m_dataRows.Count, rowParentMember));
     }
     else
     {
         int count = rowMembers.Count;
         for (int i = 0; i < count; i++)
         {
             ShimDataMember shimDataMember = ((ReportElementCollectionBase <DataMember>)rowMembers)[i] as ShimDataMember;
             this.AppendDataRows(shimDataMember, shimDataMember.Children as ShimDataMemberCollection);
         }
     }
 }
 private void GenerateDataCells(ShimDataMember rowParentMember, ShimDataMember columnParentMember, ShimDataMemberCollection columnMembers)
 {
     if (columnMembers == null)
     {
         this.m_cells.Add(new ShimDataCell(base.m_owner, base.m_rowIndex, this.m_cells.Count, rowParentMember, columnParentMember));
     }
     else
     {
         int count = columnMembers.Count;
         for (int i = 0; i < count; i++)
         {
             ShimDataMember shimDataMember = ((ReportElementCollectionBase <DataMember>)columnMembers)[i] as ShimDataMember;
             this.GenerateDataCells(rowParentMember, shimDataMember, shimDataMember.Children as ShimDataMemberCollection);
         }
     }
 }