From 1648da6165a06405c85731304b3965b296c6f222 Mon Sep 17 00:00:00 2001 From: Nikola Milosavljevic Date: Wed, 25 Jan 2023 22:29:07 +0000 Subject: [PATCH] Addressing review comments --- .../CheckForPoison.cs | 3 ++- ...-Allow-source-build-to-set-UsingToolMicrosoftNetCompi.patch | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/SourceBuild/content/eng/tools/tasks/Microsoft.DotNet.SourceBuild.Tasks.LeakDetection/CheckForPoison.cs b/src/SourceBuild/content/eng/tools/tasks/Microsoft.DotNet.SourceBuild.Tasks.LeakDetection/CheckForPoison.cs index 9c0a1bc57..27ff93efb 100644 --- a/src/SourceBuild/content/eng/tools/tasks/Microsoft.DotNet.SourceBuild.Tasks.LeakDetection/CheckForPoison.cs +++ b/src/SourceBuild/content/eng/tools/tasks/Microsoft.DotNet.SourceBuild.Tasks.LeakDetection/CheckForPoison.cs @@ -233,7 +233,8 @@ namespace Microsoft.DotNet.SourceBuild.Tasks.LeakDetection { return NonShippingPackagesListFiles .SelectMany(item => File.ReadAllLines(item.ItemSpec)) - .Distinct(); + .Distinct() + .ToList(); } else { diff --git a/src/SourceBuild/patches/runtime/0001-Allow-source-build-to-set-UsingToolMicrosoftNetCompi.patch b/src/SourceBuild/patches/runtime/0001-Allow-source-build-to-set-UsingToolMicrosoftNetCompi.patch index 94f348560..7e48a742d 100644 --- a/src/SourceBuild/patches/runtime/0001-Allow-source-build-to-set-UsingToolMicrosoftNetCompi.patch +++ b/src/SourceBuild/patches/runtime/0001-Allow-source-build-to-set-UsingToolMicrosoftNetCompi.patch @@ -4,6 +4,7 @@ Date: Wed, 25 Jan 2023 20:21:17 +0000 Subject: [PATCH] Allow source-build to set UsingToolMicrosoftNetCompilers property +backport: https://github.com/dotnet/runtime/pull/81180 --- eng/Versions.props | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)