C#: Address review comments.

This commit is contained in:
Michael Nebel
2023-08-21 08:51:08 +02:00
parent 1de86b4313
commit 4fb73ea191
3 changed files with 5 additions and 7 deletions

View File

@@ -33,7 +33,7 @@ namespace Semmle.Extraction.CSharp.DependencyFetching
/// <summary>
/// Performs a C# dependency fetching.
/// Performs C# dependency fetching.
/// </summary>
/// <param name="options">Dependency fetching options</param>
/// <param name="logger">Logger for dependency fetching progress.</param>

View File

@@ -53,9 +53,7 @@ namespace Semmle.Extraction.CSharp.DependencyFetching
public class DependencyOptions : IDependencyOptions
{
private static readonly DependencyOptions instance = new DependencyOptions();
public static IDependencyOptions Default => instance;
public static IDependencyOptions Default => new DependencyOptions();
public IList<string> DllDirs { get; set; } = new List<string>();

View File

@@ -10,10 +10,10 @@
<Nullable>enable</Nullable>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\Semmle.Util\Semmle.Util.csproj" />
<ItemGroup>
<ProjectReference Include="..\Semmle.Util\Semmle.Util.csproj" />
<ProjectReference Include="..\Semmle.Extraction\Semmle.Extraction.csproj" />
</ItemGroup>
</ItemGroup>
<ItemGroup>
<Folder Include="Properties\" />