public IEnumerable <(IFullName referee, IFullName reference)> FindReferences(out IEnumerable <FailedModule> failedModules) { _modules = new List <IModule>(); var failed = new List <FailedModule>(); var dlls = _fileIo.GetFilePaths(_options.Directory, "*.dll", _options.SearchOption); foreach (var dll in dlls) { var module = _loader.Load(dll); if (module is FailedModule f) { failed.Add(f); } _modules.Add(module); } failedModules = failed; return(FindReferences(_modules, _options.FindReferenceName)); }