From a9999cae49cdc19c4c87458dda4275b6c63c7232 Mon Sep 17 00:00:00 2001
From: Georgii Borovinskikh
<117642191+georgii-borovinskikh-sonarsource@users.noreply.github.com>
Date: Tue, 24 Dec 2024 10:44:51 +0100
Subject: [PATCH] SLVS-1733 Add System.Collections.Immutable reference to Core
(#5917)
[SLVS-1733](https://sonarsource.atlassian.net/browse/SLVS-1733)
[SLVS-1733]:
https://sonarsource.atlassian.net/browse/SLVS-1733?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
---
src/CFamily.UnitTests/packages.lock.json | 1 +
src/CFamily/packages.lock.json | 1 +
.../packages.lock.json | 1 +
src/ConnectedMode/packages.lock.json | 1 +
src/Core.UnitTests/packages.lock.json | 1 +
src/Core/Core.csproj | 4 +++
src/Core/packages.lock.json | 29 +++++++++++++++++++
src/Education.UnitTests/packages.lock.json | 1 +
src/Education/packages.lock.json | 1 +
.../packages.lock.json | 1 +
src/Infrastructure.VS/packages.lock.json | 1 +
.../packages.lock.json | 1 +
.../packages.lock.json | 1 +
src/Integration.UnitTests/packages.lock.json | 1 +
.../packages.lock.json | 1 +
src/Integration.Vsix/packages.lock.json | 1 +
src/Integration/packages.lock.json | 1 +
.../packages.lock.json | 1 +
src/IssueViz.Security/packages.lock.json | 1 +
src/IssueViz.UnitTests/packages.lock.json | 1 +
src/IssueViz/packages.lock.json | 1 +
src/Progress.UnitTests/packages.lock.json | 1 +
.../packages.lock.json | 1 +
.../Roslyn.Suppressions/packages.lock.json | 1 +
.../packages.lock.json | 1 +
.../packages.lock.json | 1 +
src/SLCore.Listeners/packages.lock.json | 1 +
src/SLCore.UnitTests/packages.lock.json | 1 +
src/SLCore/packages.lock.json | 5 ++--
src/TestInfrastructure/packages.lock.json | 1 +
30 files changed, 63 insertions(+), 2 deletions(-)
diff --git a/src/CFamily.UnitTests/packages.lock.json b/src/CFamily.UnitTests/packages.lock.json
index 9937bb01ba..4a4ea3a6eb 100644
--- a/src/CFamily.UnitTests/packages.lock.json
+++ b/src/CFamily.UnitTests/packages.lock.json
@@ -1297,6 +1297,7 @@
"dependencies": {
"Newtonsoft.Json": "[13.0.3, )",
"SonarQube.Client": "[1.0.0, )",
+ "System.Collections.Immutable": "[5.0.0, )",
"System.IO.Abstractions": "[9.0.4, )",
"System.Threading.Channels": "[7.0.0, )"
}
diff --git a/src/CFamily/packages.lock.json b/src/CFamily/packages.lock.json
index b0308399e7..0610193975 100644
--- a/src/CFamily/packages.lock.json
+++ b/src/CFamily/packages.lock.json
@@ -1114,6 +1114,7 @@
"dependencies": {
"Newtonsoft.Json": "[13.0.3, )",
"SonarQube.Client": "[1.0.0, )",
+ "System.Collections.Immutable": "[5.0.0, )",
"System.IO.Abstractions": "[9.0.4, )",
"System.Threading.Channels": "[7.0.0, )"
}
diff --git a/src/ConnectedMode.UnitTests/packages.lock.json b/src/ConnectedMode.UnitTests/packages.lock.json
index e60c877710..e5a4ba2770 100644
--- a/src/ConnectedMode.UnitTests/packages.lock.json
+++ b/src/ConnectedMode.UnitTests/packages.lock.json
@@ -1491,6 +1491,7 @@
"dependencies": {
"Newtonsoft.Json": "[13.0.3, )",
"SonarQube.Client": "[1.0.0, )",
+ "System.Collections.Immutable": "[5.0.0, )",
"System.IO.Abstractions": "[9.0.4, )",
"System.Threading.Channels": "[7.0.0, )"
}
diff --git a/src/ConnectedMode/packages.lock.json b/src/ConnectedMode/packages.lock.json
index 54517701e8..e057256074 100644
--- a/src/ConnectedMode/packages.lock.json
+++ b/src/ConnectedMode/packages.lock.json
@@ -1366,6 +1366,7 @@
"dependencies": {
"Newtonsoft.Json": "[13.0.3, )",
"SonarQube.Client": "[1.0.0, )",
+ "System.Collections.Immutable": "[5.0.0, )",
"System.IO.Abstractions": "[9.0.4, )",
"System.Threading.Channels": "[7.0.0, )"
}
diff --git a/src/Core.UnitTests/packages.lock.json b/src/Core.UnitTests/packages.lock.json
index 64953e4008..fc5202439d 100644
--- a/src/Core.UnitTests/packages.lock.json
+++ b/src/Core.UnitTests/packages.lock.json
@@ -1237,6 +1237,7 @@
"dependencies": {
"Newtonsoft.Json": "[13.0.3, )",
"SonarQube.Client": "[1.0.0, )",
+ "System.Collections.Immutable": "[5.0.0, )",
"System.IO.Abstractions": "[9.0.4, )",
"System.Threading.Channels": "[7.0.0, )"
}
diff --git a/src/Core/Core.csproj b/src/Core/Core.csproj
index 900b583880..5a2a77b88f 100644
--- a/src/Core/Core.csproj
+++ b/src/Core/Core.csproj
@@ -55,5 +55,9 @@
Strings.Designer.cs
+
+
+
+
diff --git a/src/Core/packages.lock.json b/src/Core/packages.lock.json
index ab4ac9e89b..760f6b67d0 100644
--- a/src/Core/packages.lock.json
+++ b/src/Core/packages.lock.json
@@ -8,6 +8,15 @@
"resolved": "13.0.3",
"contentHash": "HrC5BXdl00IP9zeV+0Z848QWPAoCr9P3bDEZguI+gkLcBKAOxix/tLEAAHC+UvDNPv4a2d18lOReHMOagPa+zQ=="
},
+ "System.Collections.Immutable": {
+ "type": "Direct",
+ "requested": "[5.0.0, )",
+ "resolved": "5.0.0",
+ "contentHash": "FXkLXiK0sVVewcso0imKQoOxjoPAj42R8HtjjbSjVPAzwDfzoyoznWxgA3c38LDbN9SJux1xXoXYAhz98j7r2g==",
+ "dependencies": {
+ "System.Memory": "4.5.4"
+ }
+ },
"System.IO.Abstractions": {
"type": "Direct",
"requested": "[9.0.4, )",
@@ -38,11 +47,31 @@
"resolved": "1.4.1",
"contentHash": "D5AcNr0yPFz5dqftJYKnMtwg6AEMUics+UysxTXKVuZtresqWUcHIrnscM+KsAIreG7wvdumWzjdIXRIMekCLg=="
},
+ "System.Buffers": {
+ "type": "Transitive",
+ "resolved": "4.5.1",
+ "contentHash": "Rw7ijyl1qqRS0YQD/WycNst8hUUMgrMH4FCn1nNm27M4VxchZ1js3fVjQaANHO5f3sN4isvP4a+Met9Y4YomAg=="
+ },
+ "System.Memory": {
+ "type": "Transitive",
+ "resolved": "4.5.4",
+ "contentHash": "1MbJTHS1lZ4bS4FmsJjnuGJOu88ZzTT2rLvrhW7Ygic+pC0NWA+3hgAen0HRdsocuQXCkUTdFn9yHJJhsijDXw==",
+ "dependencies": {
+ "System.Buffers": "4.5.1",
+ "System.Numerics.Vectors": "4.5.0",
+ "System.Runtime.CompilerServices.Unsafe": "4.5.3"
+ }
+ },
"System.Net.Http": {
"type": "Transitive",
"resolved": "4.0.0",
"contentHash": "mZuAl7jw/mFY8jUq4ITKECxVBh9a8SJt9BC/+lJbmo7cRKspxE3PsITz+KiaCEsexN5WYPzwBOx0oJH/0HlPyQ=="
},
+ "System.Numerics.Vectors": {
+ "type": "Transitive",
+ "resolved": "4.5.0",
+ "contentHash": "QQTlPTl06J/iiDbJCiepZ4H//BVraReU4O4EoRw1U02H5TLUIT7xn3GnDp9AXPSlJUDyFs4uWjWafNX6WrAojQ=="
+ },
"System.Runtime.CompilerServices.Unsafe": {
"type": "Transitive",
"resolved": "4.5.3",
diff --git a/src/Education.UnitTests/packages.lock.json b/src/Education.UnitTests/packages.lock.json
index a1e7ada813..0b723c471c 100644
--- a/src/Education.UnitTests/packages.lock.json
+++ b/src/Education.UnitTests/packages.lock.json
@@ -1248,6 +1248,7 @@
"dependencies": {
"Newtonsoft.Json": "[13.0.3, )",
"SonarQube.Client": "[1.0.0, )",
+ "System.Collections.Immutable": "[5.0.0, )",
"System.IO.Abstractions": "[9.0.4, )",
"System.Threading.Channels": "[7.0.0, )"
}
diff --git a/src/Education/packages.lock.json b/src/Education/packages.lock.json
index fe4293afd9..aedaec4f42 100644
--- a/src/Education/packages.lock.json
+++ b/src/Education/packages.lock.json
@@ -1119,6 +1119,7 @@
"dependencies": {
"Newtonsoft.Json": "[13.0.3, )",
"SonarQube.Client": "[1.0.0, )",
+ "System.Collections.Immutable": "[5.0.0, )",
"System.IO.Abstractions": "[9.0.4, )",
"System.Threading.Channels": "[7.0.0, )"
}
diff --git a/src/Infrastructure.VS.UnitTests/packages.lock.json b/src/Infrastructure.VS.UnitTests/packages.lock.json
index 0b640fa29b..afcad69e15 100644
--- a/src/Infrastructure.VS.UnitTests/packages.lock.json
+++ b/src/Infrastructure.VS.UnitTests/packages.lock.json
@@ -1456,6 +1456,7 @@
"dependencies": {
"Newtonsoft.Json": "[13.0.3, )",
"SonarQube.Client": "[1.0.0, )",
+ "System.Collections.Immutable": "[5.0.0, )",
"System.IO.Abstractions": "[9.0.4, )",
"System.Threading.Channels": "[7.0.0, )"
}
diff --git a/src/Infrastructure.VS/packages.lock.json b/src/Infrastructure.VS/packages.lock.json
index 0733829f39..be0a82b9c5 100644
--- a/src/Infrastructure.VS/packages.lock.json
+++ b/src/Infrastructure.VS/packages.lock.json
@@ -1333,6 +1333,7 @@
"dependencies": {
"Newtonsoft.Json": "[13.0.3, )",
"SonarQube.Client": "[1.0.0, )",
+ "System.Collections.Immutable": "[5.0.0, )",
"System.IO.Abstractions": "[9.0.4, )",
"System.Threading.Channels": "[7.0.0, )"
}
diff --git a/src/Integration.TeamExplorer.UnitTests/packages.lock.json b/src/Integration.TeamExplorer.UnitTests/packages.lock.json
index aff5b20084..1cc0f28451 100644
--- a/src/Integration.TeamExplorer.UnitTests/packages.lock.json
+++ b/src/Integration.TeamExplorer.UnitTests/packages.lock.json
@@ -1243,6 +1243,7 @@
"dependencies": {
"Newtonsoft.Json": "[13.0.3, )",
"SonarQube.Client": "[1.0.0, )",
+ "System.Collections.Immutable": "[5.0.0, )",
"System.IO.Abstractions": "[9.0.4, )",
"System.Threading.Channels": "[7.0.0, )"
}
diff --git a/src/Integration.TeamExplorer/packages.lock.json b/src/Integration.TeamExplorer/packages.lock.json
index 856165e50f..0651abfdc0 100644
--- a/src/Integration.TeamExplorer/packages.lock.json
+++ b/src/Integration.TeamExplorer/packages.lock.json
@@ -1161,6 +1161,7 @@
"dependencies": {
"Newtonsoft.Json": "[13.0.3, )",
"SonarQube.Client": "[1.0.0, )",
+ "System.Collections.Immutable": "[5.0.0, )",
"System.IO.Abstractions": "[9.0.4, )",
"System.Threading.Channels": "[7.0.0, )"
}
diff --git a/src/Integration.UnitTests/packages.lock.json b/src/Integration.UnitTests/packages.lock.json
index 5876db4206..4b1090307d 100644
--- a/src/Integration.UnitTests/packages.lock.json
+++ b/src/Integration.UnitTests/packages.lock.json
@@ -1244,6 +1244,7 @@
"dependencies": {
"Newtonsoft.Json": "[13.0.3, )",
"SonarQube.Client": "[1.0.0, )",
+ "System.Collections.Immutable": "[5.0.0, )",
"System.IO.Abstractions": "[9.0.4, )",
"System.Threading.Channels": "[7.0.0, )"
}
diff --git a/src/Integration.Vsix.UnitTests/packages.lock.json b/src/Integration.Vsix.UnitTests/packages.lock.json
index baaa709f31..cccd134372 100644
--- a/src/Integration.Vsix.UnitTests/packages.lock.json
+++ b/src/Integration.Vsix.UnitTests/packages.lock.json
@@ -1302,6 +1302,7 @@
"dependencies": {
"Newtonsoft.Json": "[13.0.3, )",
"SonarQube.Client": "[1.0.0, )",
+ "System.Collections.Immutable": "[5.0.0, )",
"System.IO.Abstractions": "[9.0.4, )",
"System.Threading.Channels": "[7.0.0, )"
}
diff --git a/src/Integration.Vsix/packages.lock.json b/src/Integration.Vsix/packages.lock.json
index 7096ac3d06..968e2a54b0 100644
--- a/src/Integration.Vsix/packages.lock.json
+++ b/src/Integration.Vsix/packages.lock.json
@@ -1464,6 +1464,7 @@
"dependencies": {
"Newtonsoft.Json": "[13.0.3, )",
"SonarQube.Client": "[1.0.0, )",
+ "System.Collections.Immutable": "[5.0.0, )",
"System.IO.Abstractions": "[9.0.4, )",
"System.Threading.Channels": "[7.0.0, )"
}
diff --git a/src/Integration/packages.lock.json b/src/Integration/packages.lock.json
index 298297cf4d..53d09f424e 100644
--- a/src/Integration/packages.lock.json
+++ b/src/Integration/packages.lock.json
@@ -1167,6 +1167,7 @@
"dependencies": {
"Newtonsoft.Json": "[13.0.3, )",
"SonarQube.Client": "[1.0.0, )",
+ "System.Collections.Immutable": "[5.0.0, )",
"System.IO.Abstractions": "[9.0.4, )",
"System.Threading.Channels": "[7.0.0, )"
}
diff --git a/src/IssueViz.Security.UnitTests/packages.lock.json b/src/IssueViz.Security.UnitTests/packages.lock.json
index 99005863b7..4d1f672187 100644
--- a/src/IssueViz.Security.UnitTests/packages.lock.json
+++ b/src/IssueViz.Security.UnitTests/packages.lock.json
@@ -1259,6 +1259,7 @@
"dependencies": {
"Newtonsoft.Json": "[13.0.3, )",
"SonarQube.Client": "[1.0.0, )",
+ "System.Collections.Immutable": "[5.0.0, )",
"System.IO.Abstractions": "[9.0.4, )",
"System.Threading.Channels": "[7.0.0, )"
}
diff --git a/src/IssueViz.Security/packages.lock.json b/src/IssueViz.Security/packages.lock.json
index d3a451c57d..0f2bc8a06f 100644
--- a/src/IssueViz.Security/packages.lock.json
+++ b/src/IssueViz.Security/packages.lock.json
@@ -1167,6 +1167,7 @@
"dependencies": {
"Newtonsoft.Json": "[13.0.3, )",
"SonarQube.Client": "[1.0.0, )",
+ "System.Collections.Immutable": "[5.0.0, )",
"System.IO.Abstractions": "[9.0.4, )",
"System.Threading.Channels": "[7.0.0, )"
}
diff --git a/src/IssueViz.UnitTests/packages.lock.json b/src/IssueViz.UnitTests/packages.lock.json
index 64953e4008..fc5202439d 100644
--- a/src/IssueViz.UnitTests/packages.lock.json
+++ b/src/IssueViz.UnitTests/packages.lock.json
@@ -1237,6 +1237,7 @@
"dependencies": {
"Newtonsoft.Json": "[13.0.3, )",
"SonarQube.Client": "[1.0.0, )",
+ "System.Collections.Immutable": "[5.0.0, )",
"System.IO.Abstractions": "[9.0.4, )",
"System.Threading.Channels": "[7.0.0, )"
}
diff --git a/src/IssueViz/packages.lock.json b/src/IssueViz/packages.lock.json
index 1272182558..09b07b1c81 100644
--- a/src/IssueViz/packages.lock.json
+++ b/src/IssueViz/packages.lock.json
@@ -1113,6 +1113,7 @@
"dependencies": {
"Newtonsoft.Json": "[13.0.3, )",
"SonarQube.Client": "[1.0.0, )",
+ "System.Collections.Immutable": "[5.0.0, )",
"System.IO.Abstractions": "[9.0.4, )",
"System.Threading.Channels": "[7.0.0, )"
}
diff --git a/src/Progress.UnitTests/packages.lock.json b/src/Progress.UnitTests/packages.lock.json
index 31e168b5d4..e2c6508ec5 100644
--- a/src/Progress.UnitTests/packages.lock.json
+++ b/src/Progress.UnitTests/packages.lock.json
@@ -1237,6 +1237,7 @@
"dependencies": {
"Newtonsoft.Json": "[13.0.3, )",
"SonarQube.Client": "[1.0.0, )",
+ "System.Collections.Immutable": "[5.0.0, )",
"System.IO.Abstractions": "[9.0.4, )",
"System.Threading.Channels": "[7.0.0, )"
}
diff --git a/src/Roslyn.Suppressions/Roslyn.Suppressions.UnitTests/packages.lock.json b/src/Roslyn.Suppressions/Roslyn.Suppressions.UnitTests/packages.lock.json
index d7a7896139..7acf1b1dad 100644
--- a/src/Roslyn.Suppressions/Roslyn.Suppressions.UnitTests/packages.lock.json
+++ b/src/Roslyn.Suppressions/Roslyn.Suppressions.UnitTests/packages.lock.json
@@ -1282,6 +1282,7 @@
"dependencies": {
"Newtonsoft.Json": "[13.0.3, )",
"SonarQube.Client": "[1.0.0, )",
+ "System.Collections.Immutable": "[5.0.0, )",
"System.IO.Abstractions": "[9.0.4, )",
"System.Threading.Channels": "[7.0.0, )"
}
diff --git a/src/Roslyn.Suppressions/Roslyn.Suppressions/packages.lock.json b/src/Roslyn.Suppressions/Roslyn.Suppressions/packages.lock.json
index ff9b2027b5..653269ea32 100644
--- a/src/Roslyn.Suppressions/Roslyn.Suppressions/packages.lock.json
+++ b/src/Roslyn.Suppressions/Roslyn.Suppressions/packages.lock.json
@@ -1248,6 +1248,7 @@
"dependencies": {
"Newtonsoft.Json": "[13.0.3, )",
"SonarQube.Client": "[1.0.0, )",
+ "System.Collections.Immutable": "[5.0.0, )",
"System.IO.Abstractions": "[9.0.4, )",
"System.Threading.Channels": "[7.0.0, )"
}
diff --git a/src/SLCore.IntegrationTests/packages.lock.json b/src/SLCore.IntegrationTests/packages.lock.json
index 9937bb01ba..4a4ea3a6eb 100644
--- a/src/SLCore.IntegrationTests/packages.lock.json
+++ b/src/SLCore.IntegrationTests/packages.lock.json
@@ -1297,6 +1297,7 @@
"dependencies": {
"Newtonsoft.Json": "[13.0.3, )",
"SonarQube.Client": "[1.0.0, )",
+ "System.Collections.Immutable": "[5.0.0, )",
"System.IO.Abstractions": "[9.0.4, )",
"System.Threading.Channels": "[7.0.0, )"
}
diff --git a/src/SLCore.Listeners.UnitTests/packages.lock.json b/src/SLCore.Listeners.UnitTests/packages.lock.json
index c8a8cb08ae..bf398fb587 100644
--- a/src/SLCore.Listeners.UnitTests/packages.lock.json
+++ b/src/SLCore.Listeners.UnitTests/packages.lock.json
@@ -1249,6 +1249,7 @@
"dependencies": {
"Newtonsoft.Json": "[13.0.3, )",
"SonarQube.Client": "[1.0.0, )",
+ "System.Collections.Immutable": "[5.0.0, )",
"System.IO.Abstractions": "[9.0.4, )",
"System.Threading.Channels": "[7.0.0, )"
}
diff --git a/src/SLCore.Listeners/packages.lock.json b/src/SLCore.Listeners/packages.lock.json
index 2918b6207d..a7054b83ac 100644
--- a/src/SLCore.Listeners/packages.lock.json
+++ b/src/SLCore.Listeners/packages.lock.json
@@ -1164,6 +1164,7 @@
"dependencies": {
"Newtonsoft.Json": "[13.0.3, )",
"SonarQube.Client": "[1.0.0, )",
+ "System.Collections.Immutable": "[5.0.0, )",
"System.IO.Abstractions": "[9.0.4, )",
"System.Threading.Channels": "[7.0.0, )"
}
diff --git a/src/SLCore.UnitTests/packages.lock.json b/src/SLCore.UnitTests/packages.lock.json
index 64953e4008..fc5202439d 100644
--- a/src/SLCore.UnitTests/packages.lock.json
+++ b/src/SLCore.UnitTests/packages.lock.json
@@ -1237,6 +1237,7 @@
"dependencies": {
"Newtonsoft.Json": "[13.0.3, )",
"SonarQube.Client": "[1.0.0, )",
+ "System.Collections.Immutable": "[5.0.0, )",
"System.IO.Abstractions": "[9.0.4, )",
"System.Threading.Channels": "[7.0.0, )"
}
diff --git a/src/SLCore/packages.lock.json b/src/SLCore/packages.lock.json
index 9a1f552b27..e042dba217 100644
--- a/src/SLCore/packages.lock.json
+++ b/src/SLCore/packages.lock.json
@@ -121,8 +121,8 @@
},
"System.Collections.Immutable": {
"type": "Transitive",
- "resolved": "1.7.1",
- "contentHash": "B43Zsz5EfMwyEbnObwRxW5u85fzJma3lrDeGcSAV1qkhSRTNY5uXAByTn9h9ddNdhM+4/YoLc/CI43umjwIl9Q==",
+ "resolved": "5.0.0",
+ "contentHash": "FXkLXiK0sVVewcso0imKQoOxjoPAj42R8HtjjbSjVPAzwDfzoyoznWxgA3c38LDbN9SJux1xXoXYAhz98j7r2g==",
"dependencies": {
"System.Memory": "4.5.4"
}
@@ -264,6 +264,7 @@
"dependencies": {
"Newtonsoft.Json": "[13.0.3, )",
"SonarQube.Client": "[1.0.0, )",
+ "System.Collections.Immutable": "[5.0.0, )",
"System.IO.Abstractions": "[9.0.4, )",
"System.Threading.Channels": "[7.0.0, )"
}
diff --git a/src/TestInfrastructure/packages.lock.json b/src/TestInfrastructure/packages.lock.json
index 84be7b221e..e93719fc57 100644
--- a/src/TestInfrastructure/packages.lock.json
+++ b/src/TestInfrastructure/packages.lock.json
@@ -1243,6 +1243,7 @@
"dependencies": {
"Newtonsoft.Json": "[13.0.3, )",
"SonarQube.Client": "[1.0.0, )",
+ "System.Collections.Immutable": "[5.0.0, )",
"System.IO.Abstractions": "[9.0.4, )",
"System.Threading.Channels": "[7.0.0, )"
}