/// <summary>
        /// Initialise a new MiniDumpUnloadedModulesStream instance with no entries.
        /// </summary>
        internal MiniDumpUnloadedModulesStream()
        {
            _unloadedModuleList = new MINIDUMP_UNLOADED_MODULE_LIST();
            _unloadedModuleList.NumberOfEntries = 0;

            _entries = new List <MiniDumpUnloadedModule>();
        }
 /// <summary>
 /// Initialise a new MiniDumpUnloadedModulesStream instance with the unloaded module information provided.
 /// </summary>
 /// <param name="unloadedModuleList">Unloaded modules minidump stream header.</param>
 /// <param name="unloadedModules">An array of the unloaded module information.</param>
 /// <param name="owner">Minidump file this stream was read from.</param>
 internal MiniDumpUnloadedModulesStream(MINIDUMP_UNLOADED_MODULE_LIST unloadedModuleList, MINIDUMP_UNLOADED_MODULE[] unloadedModules, MiniDumpFile owner)
 {
     _unloadedModuleList = unloadedModuleList;
     _entries            = new List <MiniDumpUnloadedModule>(unloadedModules.Select(x => new MiniDumpUnloadedModule(x, owner)));
 }