internal ReportItemCollection(IDefinitionPath parentDefinitionPath, bool inSubtotal, Microsoft.ReportingServices.ReportRendering.ReportItemCollection renderReportItemCollection, RenderingContext renderingContext)
 {
     m_parentDefinitionPath       = parentDefinitionPath;
     m_isOldSnapshot              = true;
     m_inSubtotal                 = inSubtotal;
     m_renderReportItemCollection = renderReportItemCollection;
     m_renderingContext           = renderingContext;
 }
 internal override bool Search(SearchContext searchContext)
 {
     if (base.SkipSearch)
     {
         return(false);
     }
     return(ReportItemCollection?.Search(searchContext) ?? false);
 }
 internal void UpdateRenderReportItem(Microsoft.ReportingServices.ReportRendering.ReportItemCollection renderReportItemCollection)
 {
     if (!m_isOldSnapshot)
     {
         throw new RenderingObjectModelException(ProcessingErrorCode.rsInvalidOperation);
     }
     if (renderReportItemCollection != null)
     {
         m_renderReportItemCollection = renderReportItemCollection;
     }
     if (m_reportItems == null)
     {
         return;
     }
     for (int i = 0; i < m_reportItems.Length; i++)
     {
         if (m_reportItems[i] != null)
         {
             m_reportItems[i].UpdateRenderReportItem(renderReportItemCollection[i]);
         }
     }
 }