C#: Code quality improvements.

This commit is contained in:
Michael Nebel
2024-04-09 11:57:25 +02:00
parent 2bea927d43
commit 9eb13833fa
4 changed files with 29 additions and 29 deletions

View File

@@ -19,12 +19,12 @@ namespace Semmle.Extraction.CSharp.DependencyFetching
/// assembly cache.
/// </param>
/// <param name="logger">Callback for progress.</param>
public AssemblyCache(IEnumerable<AssemblyPath> paths, IEnumerable<string> frameworkPaths, ILogger logger)
public AssemblyCache(IEnumerable<AssemblyLookupLocation> paths, IEnumerable<string> frameworkPaths, ILogger logger)
{
this.logger = logger;
foreach (var path in paths)
{
path.Process(dllsToIndex, logger);
dllsToIndex.AddRange(path.GetDlls(logger));
}
IndexReferences(frameworkPaths);
}