public static Stream UpgradeToCurrent(Stream stream)
 {
     if (stream == null)
     {
         throw new ArgumentNullException("stream");
     }
     return(RDLUpgrader.UpgradeToCurrent(stream, false, true));
 }
        public static Stream UpgradeToCurrent(Stream stream, bool throwUpgradeException)
        {
            RDLUpgradeResult rDLUpgradeResult = null;

            return(RDLUpgrader.UpgradeToCurrent(stream, throwUpgradeException, true, out rDLUpgradeResult));
        }
        public static Stream UpgradeToCurrent(Stream stream, bool throwUpgradeException, bool renameInvalidDataSources)
        {
            RDLUpgradeResult rDLUpgradeResult = null;

            return(RDLUpgrader.UpgradeToCurrent(stream, throwUpgradeException, renameInvalidDataSources, out rDLUpgradeResult));
        }
        public static Stream UpgradeToCurrent(XmlReader rdlReader, string namespaceURI, bool throwUpgradeException, bool upgradeDundasCRIToNative)
        {
            RDLUpgradeResult rDLUpgradeResult = null;

            return(RDLUpgrader.UpgradeToCurrent(rdlReader, namespaceURI, throwUpgradeException, upgradeDundasCRIToNative, out rDLUpgradeResult));
        }