From b95a8aa3786c2d8cb217a90a1ee95dd0439decef Mon Sep 17 00:00:00 2001 From: Michael Nebel Date: Thu, 9 Apr 2026 15:39:43 +0200 Subject: [PATCH] C#: Address review comments. --- .../NugetPackageRestorer.cs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/csharp/extractor/Semmle.Extraction.CSharp.DependencyFetching/NugetPackageRestorer.cs b/csharp/extractor/Semmle.Extraction.CSharp.DependencyFetching/NugetPackageRestorer.cs index e508184563f..d2bcd6167ba 100644 --- a/csharp/extractor/Semmle.Extraction.CSharp.DependencyFetching/NugetPackageRestorer.cs +++ b/csharp/extractor/Semmle.Extraction.CSharp.DependencyFetching/NugetPackageRestorer.cs @@ -122,12 +122,10 @@ namespace Semmle.Extraction.CSharp.DependencyFetching try { - HashSet allFeeds = []; - // Find feeds that are configured in NuGet.config files and divide them into ones that // are explicitly configured for the project or by a private registry, and "all feeds" // (including inherited ones) from other locations on the host outside of the working directory. - (explicitFeeds, allFeeds) = GetAllFeeds(); + (explicitFeeds, var allFeeds) = GetAllFeeds(); if (CheckNugetFeedResponsiveness) {