diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml
index fbe5338e4ca7..d571d961e677 100644
--- a/.github/workflows/codeql-analysis.yml
+++ b/.github/workflows/codeql-analysis.yml
@@ -30,7 +30,7 @@ jobs:
- name: Setup dotnet
uses: actions/setup-dotnet@v4
with:
- dotnet-version: 8.0.101
+ dotnet-version: 9.0.100
- name: Checkout repository
uses: actions/checkout@v4
diff --git a/MODULE.bazel b/MODULE.bazel
index 2e8ed2e3d47a..836bf1970a15 100644
--- a/MODULE.bazel
+++ b/MODULE.bazel
@@ -25,7 +25,7 @@ bazel_dep(name = "nlohmann_json", version = "3.11.3", repo_name = "json")
bazel_dep(name = "fmt", version = "10.0.0")
bazel_dep(name = "rules_kotlin", version = "2.0.0-codeql.1")
bazel_dep(name = "gazelle", version = "0.38.0")
-bazel_dep(name = "rules_dotnet", version = "0.16.1")
+bazel_dep(name = "rules_dotnet", version = "0.17.4")
bazel_dep(name = "googletest", version = "1.14.0.bcr.1")
bazel_dep(name = "rules_rust", version = "0.52.2")
@@ -68,7 +68,7 @@ r.from_cargo(
use_repo(r, tree_sitter_extractors_deps = "r")
dotnet = use_extension("@rules_dotnet//dotnet:extensions.bzl", "dotnet")
-dotnet.toolchain(dotnet_version = "8.0.101")
+dotnet.toolchain(dotnet_version = "9.0.100")
use_repo(dotnet, "dotnet_toolchains")
register_toolchains("@dotnet_toolchains//:all")
diff --git a/csharp/.config/dotnet-tools.json b/csharp/.config/dotnet-tools.json
index b9052bc027d2..16d0d2fef4f7 100644
--- a/csharp/.config/dotnet-tools.json
+++ b/csharp/.config/dotnet-tools.json
@@ -3,7 +3,7 @@
"isRoot": true,
"tools": {
"paket": {
- "version": "8.0.3",
+ "version": "9.0.1",
"commands": [
"paket"
]
diff --git a/csharp/.paket/Paket.Restore.targets b/csharp/.paket/Paket.Restore.targets
index bbeec153f50a..17aeb63502d0 100644
--- a/csharp/.paket/Paket.Restore.targets
+++ b/csharp/.paket/Paket.Restore.targets
@@ -235,14 +235,15 @@
$([System.String]::Copy('%(PaketReferencesFileLines.Identity)').Split(',').Length)
$([System.String]::Copy('%(PaketReferencesFileLines.Identity)').Split(',')[0])
$([System.String]::Copy('%(PaketReferencesFileLines.Identity)').Split(',')[1])
+ $([System.String]::Copy('%(PaketReferencesFileLines.Identity)').Split(',')[2])
$([System.String]::Copy('%(PaketReferencesFileLines.Identity)').Split(',')[4])
$([System.String]::Copy('%(PaketReferencesFileLines.Identity)').Split(',')[5])
$([System.String]::Copy('%(PaketReferencesFileLines.Identity)').Split(',')[6])
$([System.String]::Copy('%(PaketReferencesFileLines.Identity)').Split(',')[7])
$([System.String]::Copy('%(PaketReferencesFileLines.Identity)').Split(',')[8])
-
- %(PaketReferencesFileLinesInfo.PackageVersion)
+
+ %(PaketReferencesFileLinesInfo.PackageVersion)
All
runtime
$(ExcludeAssets);contentFiles
@@ -252,6 +253,10 @@
true
+
+
+ %(PaketReferencesFileLinesInfo.PackageVersion)
+
diff --git a/csharp/Directory.Build.props b/csharp/Directory.Build.props
index 08e24aa8dc9a..0c8a2bc15266 100644
--- a/csharp/Directory.Build.props
+++ b/csharp/Directory.Build.props
@@ -1,7 +1,7 @@
- net8.0
+ net9.0
win-x64;linux-x64;osx-x64
enable
true
diff --git a/csharp/extractor/Semmle.Extraction.CSharp.DependencyStubGenerator/Semmle.Extraction.CSharp.DependencyStubGenerator.csproj b/csharp/extractor/Semmle.Extraction.CSharp.DependencyStubGenerator/Semmle.Extraction.CSharp.DependencyStubGenerator.csproj
index a2925dc32aff..9ec282989508 100644
--- a/csharp/extractor/Semmle.Extraction.CSharp.DependencyStubGenerator/Semmle.Extraction.CSharp.DependencyStubGenerator.csproj
+++ b/csharp/extractor/Semmle.Extraction.CSharp.DependencyStubGenerator/Semmle.Extraction.CSharp.DependencyStubGenerator.csproj
@@ -2,7 +2,7 @@
Exe
- net8.0
+ net9.0
Semmle.Extraction.CSharp.DependencyStubGenerator
Semmle.Extraction.CSharp.DependencyStubGenerator
enable
diff --git a/csharp/ql/integration-tests/all-platforms/binlog/a/test.csproj b/csharp/ql/integration-tests/all-platforms/binlog/a/test.csproj
index 91b464afeacc..694035b3acd5 100644
--- a/csharp/ql/integration-tests/all-platforms/binlog/a/test.csproj
+++ b/csharp/ql/integration-tests/all-platforms/binlog/a/test.csproj
@@ -2,7 +2,7 @@
Exe
- net8.0
+ net9.0
enable
enable
diff --git a/csharp/ql/integration-tests/all-platforms/binlog/b/test.csproj b/csharp/ql/integration-tests/all-platforms/binlog/b/test.csproj
index 91b464afeacc..694035b3acd5 100644
--- a/csharp/ql/integration-tests/all-platforms/binlog/b/test.csproj
+++ b/csharp/ql/integration-tests/all-platforms/binlog/b/test.csproj
@@ -2,7 +2,7 @@
Exe
- net8.0
+ net9.0
enable
enable
diff --git a/csharp/ql/integration-tests/all-platforms/binlog_multiple/a/test.csproj b/csharp/ql/integration-tests/all-platforms/binlog_multiple/a/test.csproj
index 91b464afeacc..694035b3acd5 100644
--- a/csharp/ql/integration-tests/all-platforms/binlog_multiple/a/test.csproj
+++ b/csharp/ql/integration-tests/all-platforms/binlog_multiple/a/test.csproj
@@ -2,7 +2,7 @@
Exe
- net8.0
+ net9.0
enable
enable
diff --git a/csharp/ql/integration-tests/all-platforms/binlog_multiple/b/test.csproj b/csharp/ql/integration-tests/all-platforms/binlog_multiple/b/test.csproj
index 91b464afeacc..694035b3acd5 100644
--- a/csharp/ql/integration-tests/all-platforms/binlog_multiple/b/test.csproj
+++ b/csharp/ql/integration-tests/all-platforms/binlog_multiple/b/test.csproj
@@ -2,7 +2,7 @@
Exe
- net8.0
+ net9.0
enable
enable
diff --git a/csharp/ql/integration-tests/all-platforms/conditional_compilation/test.csproj b/csharp/ql/integration-tests/all-platforms/conditional_compilation/test.csproj
index e7ed4bf01737..d457711bd99f 100644
--- a/csharp/ql/integration-tests/all-platforms/conditional_compilation/test.csproj
+++ b/csharp/ql/integration-tests/all-platforms/conditional_compilation/test.csproj
@@ -2,7 +2,7 @@
Exe
- net8.0
+ net9.0
enable
enable
diff --git a/csharp/ql/integration-tests/all-platforms/cshtml/cshtml.csproj b/csharp/ql/integration-tests/all-platforms/cshtml/cshtml.csproj
index 8a366ff09d4f..bdb0e0d0c31a 100644
--- a/csharp/ql/integration-tests/all-platforms/cshtml/cshtml.csproj
+++ b/csharp/ql/integration-tests/all-platforms/cshtml/cshtml.csproj
@@ -2,7 +2,7 @@
Exe
- net8.0
+ net9.0
enable
enable
diff --git a/csharp/ql/integration-tests/all-platforms/cshtml_standalone/cshtml.csproj b/csharp/ql/integration-tests/all-platforms/cshtml_standalone/cshtml.csproj
index 8a366ff09d4f..bdb0e0d0c31a 100644
--- a/csharp/ql/integration-tests/all-platforms/cshtml_standalone/cshtml.csproj
+++ b/csharp/ql/integration-tests/all-platforms/cshtml_standalone/cshtml.csproj
@@ -2,7 +2,7 @@
Exe
- net8.0
+ net9.0
enable
enable
diff --git a/csharp/ql/integration-tests/all-platforms/cshtml_standalone_disabled/cshtml.csproj b/csharp/ql/integration-tests/all-platforms/cshtml_standalone_disabled/cshtml.csproj
index 8a366ff09d4f..bdb0e0d0c31a 100644
--- a/csharp/ql/integration-tests/all-platforms/cshtml_standalone_disabled/cshtml.csproj
+++ b/csharp/ql/integration-tests/all-platforms/cshtml_standalone_disabled/cshtml.csproj
@@ -2,7 +2,7 @@
Exe
- net8.0
+ net9.0
enable
enable
diff --git a/csharp/ql/integration-tests/all-platforms/cshtml_standalone_flowsteps/cshtml.csproj b/csharp/ql/integration-tests/all-platforms/cshtml_standalone_flowsteps/cshtml.csproj
index 1b28a01c81c7..6568b3dcfb4b 100644
--- a/csharp/ql/integration-tests/all-platforms/cshtml_standalone_flowsteps/cshtml.csproj
+++ b/csharp/ql/integration-tests/all-platforms/cshtml_standalone_flowsteps/cshtml.csproj
@@ -1,7 +1,7 @@
- net8.0
+ net9.0
enable
enable
diff --git a/csharp/ql/integration-tests/all-platforms/diag_missing_xamarin_sdk/test.csproj b/csharp/ql/integration-tests/all-platforms/diag_missing_xamarin_sdk/test.csproj
index d0ac3e77f7aa..6bb5914483b3 100644
--- a/csharp/ql/integration-tests/all-platforms/diag_missing_xamarin_sdk/test.csproj
+++ b/csharp/ql/integration-tests/all-platforms/diag_missing_xamarin_sdk/test.csproj
@@ -2,7 +2,7 @@
Exe
- net8.0
+ net9.0
enable
enable
$(MSBuildExtensionsPath)\Xamarin\iOS\Xamarin.iOS.CSharp.targets
diff --git a/csharp/ql/integration-tests/all-platforms/diag_recursive_generics/test.csproj b/csharp/ql/integration-tests/all-platforms/diag_recursive_generics/test.csproj
index ec516c57e78d..546e25e0172a 100644
--- a/csharp/ql/integration-tests/all-platforms/diag_recursive_generics/test.csproj
+++ b/csharp/ql/integration-tests/all-platforms/diag_recursive_generics/test.csproj
@@ -2,7 +2,7 @@
Exe
- net8.0
+ net9.0
diff --git a/csharp/ql/integration-tests/all-platforms/dotnet_build/dotnet_build.csproj b/csharp/ql/integration-tests/all-platforms/dotnet_build/dotnet_build.csproj
index 91b464afeacc..694035b3acd5 100644
--- a/csharp/ql/integration-tests/all-platforms/dotnet_build/dotnet_build.csproj
+++ b/csharp/ql/integration-tests/all-platforms/dotnet_build/dotnet_build.csproj
@@ -2,7 +2,7 @@
Exe
- net8.0
+ net9.0
enable
enable
diff --git a/csharp/ql/integration-tests/all-platforms/dotnet_no_args_inject/dotnet_build.csproj b/csharp/ql/integration-tests/all-platforms/dotnet_no_args_inject/dotnet_build.csproj
index 91b464afeacc..694035b3acd5 100644
--- a/csharp/ql/integration-tests/all-platforms/dotnet_no_args_inject/dotnet_build.csproj
+++ b/csharp/ql/integration-tests/all-platforms/dotnet_no_args_inject/dotnet_build.csproj
@@ -2,7 +2,7 @@
Exe
- net8.0
+ net9.0
enable
enable
diff --git a/csharp/ql/integration-tests/all-platforms/dotnet_pack/dotnet_pack.csproj b/csharp/ql/integration-tests/all-platforms/dotnet_pack/dotnet_pack.csproj
index 91b464afeacc..694035b3acd5 100644
--- a/csharp/ql/integration-tests/all-platforms/dotnet_pack/dotnet_pack.csproj
+++ b/csharp/ql/integration-tests/all-platforms/dotnet_pack/dotnet_pack.csproj
@@ -2,7 +2,7 @@
Exe
- net8.0
+ net9.0
enable
enable
diff --git a/csharp/ql/integration-tests/all-platforms/dotnet_publish/dotnet_publish.csproj b/csharp/ql/integration-tests/all-platforms/dotnet_publish/dotnet_publish.csproj
index 91b464afeacc..694035b3acd5 100644
--- a/csharp/ql/integration-tests/all-platforms/dotnet_publish/dotnet_publish.csproj
+++ b/csharp/ql/integration-tests/all-platforms/dotnet_publish/dotnet_publish.csproj
@@ -2,7 +2,7 @@
Exe
- net8.0
+ net9.0
enable
enable
diff --git a/csharp/ql/integration-tests/all-platforms/dotnet_run/dotnet_run.csproj b/csharp/ql/integration-tests/all-platforms/dotnet_run/dotnet_run.csproj
index 324eba5d4ef1..8bb8e6387f97 100644
--- a/csharp/ql/integration-tests/all-platforms/dotnet_run/dotnet_run.csproj
+++ b/csharp/ql/integration-tests/all-platforms/dotnet_run/dotnet_run.csproj
@@ -2,7 +2,7 @@
Exe
- net8.0
+ net9.0
enable
enable
diff --git a/csharp/ql/integration-tests/all-platforms/source_generator/test.csproj b/csharp/ql/integration-tests/all-platforms/source_generator/test.csproj
index 4c275900f09d..966a7fdb5c57 100644
--- a/csharp/ql/integration-tests/all-platforms/source_generator/test.csproj
+++ b/csharp/ql/integration-tests/all-platforms/source_generator/test.csproj
@@ -2,7 +2,7 @@
Exe
- net8.0
+ net9.0
enable
enable
diff --git a/csharp/ql/integration-tests/all-platforms/standalone/standalone.csproj b/csharp/ql/integration-tests/all-platforms/standalone/standalone.csproj
index 324eba5d4ef1..8bb8e6387f97 100644
--- a/csharp/ql/integration-tests/all-platforms/standalone/standalone.csproj
+++ b/csharp/ql/integration-tests/all-platforms/standalone/standalone.csproj
@@ -2,7 +2,7 @@
Exe
- net8.0
+ net9.0
enable
enable
diff --git a/csharp/ql/integration-tests/all-platforms/standalone_buildless_option/standalone.csproj b/csharp/ql/integration-tests/all-platforms/standalone_buildless_option/standalone.csproj
index a269962b552f..92e46ddaccf8 100644
--- a/csharp/ql/integration-tests/all-platforms/standalone_buildless_option/standalone.csproj
+++ b/csharp/ql/integration-tests/all-platforms/standalone_buildless_option/standalone.csproj
@@ -2,7 +2,7 @@
Exe
- net8.0
+ net9.0
diff --git a/csharp/ql/integration-tests/all-platforms/standalone_failed/standalone.csproj b/csharp/ql/integration-tests/all-platforms/standalone_failed/standalone.csproj
index 324eba5d4ef1..8bb8e6387f97 100644
--- a/csharp/ql/integration-tests/all-platforms/standalone_failed/standalone.csproj
+++ b/csharp/ql/integration-tests/all-platforms/standalone_failed/standalone.csproj
@@ -2,7 +2,7 @@
Exe
- net8.0
+ net9.0
enable
enable
diff --git a/csharp/ql/integration-tests/all-platforms/standalone_resx/resx.csproj b/csharp/ql/integration-tests/all-platforms/standalone_resx/resx.csproj
index cda97396b08c..951f79551f23 100644
--- a/csharp/ql/integration-tests/all-platforms/standalone_resx/resx.csproj
+++ b/csharp/ql/integration-tests/all-platforms/standalone_resx/resx.csproj
@@ -2,7 +2,7 @@
Exe
- net8.0
+ net9.0
enable
enable
Resx.Test1.Test2
diff --git a/csharp/ql/integration-tests/all-platforms/standalone_winforms/winforms.csproj b/csharp/ql/integration-tests/all-platforms/standalone_winforms/winforms.csproj
index bcc83124518c..355e815cdeec 100644
--- a/csharp/ql/integration-tests/all-platforms/standalone_winforms/winforms.csproj
+++ b/csharp/ql/integration-tests/all-platforms/standalone_winforms/winforms.csproj
@@ -2,7 +2,7 @@
WinExe
- net8.0-windows
+ net9.0-windows
enable
true
enable
diff --git a/csharp/ql/integration-tests/linux/compiler_args/test.csproj b/csharp/ql/integration-tests/linux/compiler_args/test.csproj
index 324eba5d4ef1..8bb8e6387f97 100644
--- a/csharp/ql/integration-tests/linux/compiler_args/test.csproj
+++ b/csharp/ql/integration-tests/linux/compiler_args/test.csproj
@@ -2,7 +2,7 @@
Exe
- net8.0
+ net9.0
enable
enable
diff --git a/csharp/ql/integration-tests/linux/standalone_dependencies_non_utf8_filename/test.csproj b/csharp/ql/integration-tests/linux/standalone_dependencies_non_utf8_filename/test.csproj
index a269962b552f..92e46ddaccf8 100644
--- a/csharp/ql/integration-tests/linux/standalone_dependencies_non_utf8_filename/test.csproj
+++ b/csharp/ql/integration-tests/linux/standalone_dependencies_non_utf8_filename/test.csproj
@@ -2,7 +2,7 @@
Exe
- net8.0
+ net9.0
diff --git a/csharp/ql/integration-tests/posix/dotnet_test/dotnet_test.csproj b/csharp/ql/integration-tests/posix/dotnet_test/dotnet_test.csproj
index 385a784dce07..ae7979043154 100644
--- a/csharp/ql/integration-tests/posix/dotnet_test/dotnet_test.csproj
+++ b/csharp/ql/integration-tests/posix/dotnet_test/dotnet_test.csproj
@@ -1,7 +1,7 @@
- net8.0
+ net9.0
enable
false
diff --git a/csharp/ql/integration-tests/posix/dotnet_test_mstest/dotnet_test_mstest.csproj b/csharp/ql/integration-tests/posix/dotnet_test_mstest/dotnet_test_mstest.csproj
index acbb9e7fe2bf..45ccf93ee740 100644
--- a/csharp/ql/integration-tests/posix/dotnet_test_mstest/dotnet_test_mstest.csproj
+++ b/csharp/ql/integration-tests/posix/dotnet_test_mstest/dotnet_test_mstest.csproj
@@ -1,7 +1,7 @@
- net8.0
+ net9.0
enable
enable
diff --git a/csharp/ql/integration-tests/posix/inherit-env-vars/proj.csproj.no_auto b/csharp/ql/integration-tests/posix/inherit-env-vars/proj.csproj.no_auto
index 91b464afeacc..694035b3acd5 100644
--- a/csharp/ql/integration-tests/posix/inherit-env-vars/proj.csproj.no_auto
+++ b/csharp/ql/integration-tests/posix/inherit-env-vars/proj.csproj.no_auto
@@ -2,7 +2,7 @@
Exe
- net8.0
+ net9.0
enable
enable
diff --git a/csharp/ql/integration-tests/posix/standalone_dependencies_multi_target/net70.csproj b/csharp/ql/integration-tests/posix/standalone_dependencies_multi_target/net70.csproj
index 91b464afeacc..f02677bf640f 100644
--- a/csharp/ql/integration-tests/posix/standalone_dependencies_multi_target/net70.csproj
+++ b/csharp/ql/integration-tests/posix/standalone_dependencies_multi_target/net70.csproj
@@ -2,7 +2,7 @@
Exe
- net8.0
+ net7.0
enable
enable
diff --git a/csharp/ql/integration-tests/posix/standalone_dependencies_no_framework/test_sdk.csproj b/csharp/ql/integration-tests/posix/standalone_dependencies_no_framework/test_sdk.csproj
index 4425f1c1431b..3beee773f83e 100644
--- a/csharp/ql/integration-tests/posix/standalone_dependencies_no_framework/test_sdk.csproj
+++ b/csharp/ql/integration-tests/posix/standalone_dependencies_no_framework/test_sdk.csproj
@@ -2,7 +2,7 @@
Exe
- net8.0
+ net9.0
diff --git a/csharp/ql/integration-tests/posix/warn_as_error/WarnAsError.csproj b/csharp/ql/integration-tests/posix/warn_as_error/WarnAsError.csproj
index eb001ff56e73..3c234e423027 100644
--- a/csharp/ql/integration-tests/posix/warn_as_error/WarnAsError.csproj
+++ b/csharp/ql/integration-tests/posix/warn_as_error/WarnAsError.csproj
@@ -2,7 +2,7 @@
Exe
- net8.0
+ net9.0
enable
enable
true
diff --git a/csharp/ql/test/resources/stubs/Amazon.Lambda.APIGatewayEvents/2.7.0/Amazon.Lambda.APIGatewayEvents.csproj b/csharp/ql/test/resources/stubs/Amazon.Lambda.APIGatewayEvents/2.7.0/Amazon.Lambda.APIGatewayEvents.csproj
index 61622bc5296c..c7646fbae204 100644
--- a/csharp/ql/test/resources/stubs/Amazon.Lambda.APIGatewayEvents/2.7.0/Amazon.Lambda.APIGatewayEvents.csproj
+++ b/csharp/ql/test/resources/stubs/Amazon.Lambda.APIGatewayEvents/2.7.0/Amazon.Lambda.APIGatewayEvents.csproj
@@ -1,6 +1,6 @@
- net8.0
+ net9.0
true
bin\
false
diff --git a/csharp/ql/test/resources/stubs/Amazon.Lambda.Core/2.2.0/Amazon.Lambda.Core.csproj b/csharp/ql/test/resources/stubs/Amazon.Lambda.Core/2.2.0/Amazon.Lambda.Core.csproj
index 61622bc5296c..c7646fbae204 100644
--- a/csharp/ql/test/resources/stubs/Amazon.Lambda.Core/2.2.0/Amazon.Lambda.Core.csproj
+++ b/csharp/ql/test/resources/stubs/Amazon.Lambda.Core/2.2.0/Amazon.Lambda.Core.csproj
@@ -1,6 +1,6 @@
- net8.0
+ net9.0
true
bin\
false
diff --git a/csharp/ql/test/resources/stubs/Antlr3.Runtime/3.5.1/Antlr3.Runtime.csproj b/csharp/ql/test/resources/stubs/Antlr3.Runtime/3.5.1/Antlr3.Runtime.csproj
index bb22225f8f53..38998301525b 100644
--- a/csharp/ql/test/resources/stubs/Antlr3.Runtime/3.5.1/Antlr3.Runtime.csproj
+++ b/csharp/ql/test/resources/stubs/Antlr3.Runtime/3.5.1/Antlr3.Runtime.csproj
@@ -1,6 +1,6 @@
- net8.0
+ net9.0
true
bin\
false
diff --git a/csharp/ql/test/resources/stubs/Dapper/2.1.24/Dapper.csproj b/csharp/ql/test/resources/stubs/Dapper/2.1.24/Dapper.csproj
index 61622bc5296c..c7646fbae204 100644
--- a/csharp/ql/test/resources/stubs/Dapper/2.1.24/Dapper.csproj
+++ b/csharp/ql/test/resources/stubs/Dapper/2.1.24/Dapper.csproj
@@ -1,6 +1,6 @@
- net8.0
+ net9.0
true
bin\
false
diff --git a/csharp/ql/test/resources/stubs/EntityFramework/6.4.4/EntityFramework.csproj b/csharp/ql/test/resources/stubs/EntityFramework/6.4.4/EntityFramework.csproj
index 359b400bb100..9666926fafda 100644
--- a/csharp/ql/test/resources/stubs/EntityFramework/6.4.4/EntityFramework.csproj
+++ b/csharp/ql/test/resources/stubs/EntityFramework/6.4.4/EntityFramework.csproj
@@ -1,6 +1,6 @@
- net8.0
+ net9.0
true
bin\
false
diff --git a/csharp/ql/test/resources/stubs/Iesi.Collections/4.0.4/Iesi.Collections.csproj b/csharp/ql/test/resources/stubs/Iesi.Collections/4.0.4/Iesi.Collections.csproj
index a1c8b50b3eba..eedd49158a14 100644
--- a/csharp/ql/test/resources/stubs/Iesi.Collections/4.0.4/Iesi.Collections.csproj
+++ b/csharp/ql/test/resources/stubs/Iesi.Collections/4.0.4/Iesi.Collections.csproj
@@ -1,6 +1,6 @@
- net8.0
+ net9.0
true
bin\
false
diff --git a/csharp/ql/test/resources/stubs/Microsoft.CSharp/4.7.0/Microsoft.CSharp.csproj b/csharp/ql/test/resources/stubs/Microsoft.CSharp/4.7.0/Microsoft.CSharp.csproj
index 61622bc5296c..c7646fbae204 100644
--- a/csharp/ql/test/resources/stubs/Microsoft.CSharp/4.7.0/Microsoft.CSharp.csproj
+++ b/csharp/ql/test/resources/stubs/Microsoft.CSharp/4.7.0/Microsoft.CSharp.csproj
@@ -1,6 +1,6 @@
- net8.0
+ net9.0
true
bin\
false
diff --git a/csharp/ql/test/resources/stubs/Microsoft.Extensions.DependencyInjection.Abstractions/6.0.0/Microsoft.Extensions.DependencyInjection.Abstractions.csproj b/csharp/ql/test/resources/stubs/Microsoft.Extensions.DependencyInjection.Abstractions/6.0.0/Microsoft.Extensions.DependencyInjection.Abstractions.csproj
index 61622bc5296c..c7646fbae204 100644
--- a/csharp/ql/test/resources/stubs/Microsoft.Extensions.DependencyInjection.Abstractions/6.0.0/Microsoft.Extensions.DependencyInjection.Abstractions.csproj
+++ b/csharp/ql/test/resources/stubs/Microsoft.Extensions.DependencyInjection.Abstractions/6.0.0/Microsoft.Extensions.DependencyInjection.Abstractions.csproj
@@ -1,6 +1,6 @@
- net8.0
+ net9.0
true
bin\
false
diff --git a/csharp/ql/test/resources/stubs/Microsoft.Extensions.DependencyInjection/6.0.0/Microsoft.Extensions.DependencyInjection.csproj b/csharp/ql/test/resources/stubs/Microsoft.Extensions.DependencyInjection/6.0.0/Microsoft.Extensions.DependencyInjection.csproj
index e5c735afcc1f..44f64ecc4338 100644
--- a/csharp/ql/test/resources/stubs/Microsoft.Extensions.DependencyInjection/6.0.0/Microsoft.Extensions.DependencyInjection.csproj
+++ b/csharp/ql/test/resources/stubs/Microsoft.Extensions.DependencyInjection/6.0.0/Microsoft.Extensions.DependencyInjection.csproj
@@ -1,6 +1,6 @@
- net8.0
+ net9.0
true
bin\
false
diff --git a/csharp/ql/test/resources/stubs/Microsoft.Extensions.Http/6.0.0/Microsoft.Extensions.Http.csproj b/csharp/ql/test/resources/stubs/Microsoft.Extensions.Http/6.0.0/Microsoft.Extensions.Http.csproj
index e09b1f57deff..5f64ad1ae514 100644
--- a/csharp/ql/test/resources/stubs/Microsoft.Extensions.Http/6.0.0/Microsoft.Extensions.Http.csproj
+++ b/csharp/ql/test/resources/stubs/Microsoft.Extensions.Http/6.0.0/Microsoft.Extensions.Http.csproj
@@ -1,6 +1,6 @@
- net8.0
+ net9.0
true
bin\
false
diff --git a/csharp/ql/test/resources/stubs/Microsoft.Extensions.Logging.Abstractions/6.0.0/Microsoft.Extensions.Logging.Abstractions.csproj b/csharp/ql/test/resources/stubs/Microsoft.Extensions.Logging.Abstractions/6.0.0/Microsoft.Extensions.Logging.Abstractions.csproj
index 61622bc5296c..c7646fbae204 100644
--- a/csharp/ql/test/resources/stubs/Microsoft.Extensions.Logging.Abstractions/6.0.0/Microsoft.Extensions.Logging.Abstractions.csproj
+++ b/csharp/ql/test/resources/stubs/Microsoft.Extensions.Logging.Abstractions/6.0.0/Microsoft.Extensions.Logging.Abstractions.csproj
@@ -1,6 +1,6 @@
- net8.0
+ net9.0
true
bin\
false
diff --git a/csharp/ql/test/resources/stubs/Microsoft.Extensions.Logging/6.0.0/Microsoft.Extensions.Logging.csproj b/csharp/ql/test/resources/stubs/Microsoft.Extensions.Logging/6.0.0/Microsoft.Extensions.Logging.csproj
index 9f413987cb3a..976e4f248178 100644
--- a/csharp/ql/test/resources/stubs/Microsoft.Extensions.Logging/6.0.0/Microsoft.Extensions.Logging.csproj
+++ b/csharp/ql/test/resources/stubs/Microsoft.Extensions.Logging/6.0.0/Microsoft.Extensions.Logging.csproj
@@ -1,6 +1,6 @@
- net8.0
+ net9.0
true
bin\
false
diff --git a/csharp/ql/test/resources/stubs/Microsoft.Extensions.Options/6.0.0/Microsoft.Extensions.Options.csproj b/csharp/ql/test/resources/stubs/Microsoft.Extensions.Options/6.0.0/Microsoft.Extensions.Options.csproj
index c8f4cdbdb3a8..df60e16932c2 100644
--- a/csharp/ql/test/resources/stubs/Microsoft.Extensions.Options/6.0.0/Microsoft.Extensions.Options.csproj
+++ b/csharp/ql/test/resources/stubs/Microsoft.Extensions.Options/6.0.0/Microsoft.Extensions.Options.csproj
@@ -1,6 +1,6 @@
- net8.0
+ net9.0
true
bin\
false
diff --git a/csharp/ql/test/resources/stubs/Microsoft.Extensions.Primitives/6.0.0/Microsoft.Extensions.Primitives.csproj b/csharp/ql/test/resources/stubs/Microsoft.Extensions.Primitives/6.0.0/Microsoft.Extensions.Primitives.csproj
index 105b29a4077a..44f3b6c98d18 100644
--- a/csharp/ql/test/resources/stubs/Microsoft.Extensions.Primitives/6.0.0/Microsoft.Extensions.Primitives.csproj
+++ b/csharp/ql/test/resources/stubs/Microsoft.Extensions.Primitives/6.0.0/Microsoft.Extensions.Primitives.csproj
@@ -1,6 +1,6 @@
- net8.0
+ net9.0
true
bin\
false
diff --git a/csharp/ql/test/resources/stubs/Microsoft.NETCore.Platforms/1.1.0/Microsoft.NETCore.Platforms.csproj b/csharp/ql/test/resources/stubs/Microsoft.NETCore.Platforms/1.1.0/Microsoft.NETCore.Platforms.csproj
index 61622bc5296c..c7646fbae204 100644
--- a/csharp/ql/test/resources/stubs/Microsoft.NETCore.Platforms/1.1.0/Microsoft.NETCore.Platforms.csproj
+++ b/csharp/ql/test/resources/stubs/Microsoft.NETCore.Platforms/1.1.0/Microsoft.NETCore.Platforms.csproj
@@ -1,6 +1,6 @@
- net8.0
+ net9.0
true
bin\
false
diff --git a/csharp/ql/test/resources/stubs/Microsoft.NETCore.Platforms/3.1.0/Microsoft.NETCore.Platforms.csproj b/csharp/ql/test/resources/stubs/Microsoft.NETCore.Platforms/3.1.0/Microsoft.NETCore.Platforms.csproj
index 61622bc5296c..c7646fbae204 100644
--- a/csharp/ql/test/resources/stubs/Microsoft.NETCore.Platforms/3.1.0/Microsoft.NETCore.Platforms.csproj
+++ b/csharp/ql/test/resources/stubs/Microsoft.NETCore.Platforms/3.1.0/Microsoft.NETCore.Platforms.csproj
@@ -1,6 +1,6 @@
- net8.0
+ net9.0
true
bin\
false
diff --git a/csharp/ql/test/resources/stubs/Microsoft.NETCore.Targets/1.1.0/Microsoft.NETCore.Targets.csproj b/csharp/ql/test/resources/stubs/Microsoft.NETCore.Targets/1.1.0/Microsoft.NETCore.Targets.csproj
index 61622bc5296c..c7646fbae204 100644
--- a/csharp/ql/test/resources/stubs/Microsoft.NETCore.Targets/1.1.0/Microsoft.NETCore.Targets.csproj
+++ b/csharp/ql/test/resources/stubs/Microsoft.NETCore.Targets/1.1.0/Microsoft.NETCore.Targets.csproj
@@ -1,6 +1,6 @@
- net8.0
+ net9.0
true
bin\
false
diff --git a/csharp/ql/test/resources/stubs/Microsoft.Win32.Primitives/4.3.0/Microsoft.Win32.Primitives.csproj b/csharp/ql/test/resources/stubs/Microsoft.Win32.Primitives/4.3.0/Microsoft.Win32.Primitives.csproj
index 3f330ea92b93..db450608bc56 100644
--- a/csharp/ql/test/resources/stubs/Microsoft.Win32.Primitives/4.3.0/Microsoft.Win32.Primitives.csproj
+++ b/csharp/ql/test/resources/stubs/Microsoft.Win32.Primitives/4.3.0/Microsoft.Win32.Primitives.csproj
@@ -1,6 +1,6 @@
- net8.0
+ net9.0
true
bin\
false
diff --git a/csharp/ql/test/resources/stubs/Microsoft.Win32.Registry/4.7.0/Microsoft.Win32.Registry.csproj b/csharp/ql/test/resources/stubs/Microsoft.Win32.Registry/4.7.0/Microsoft.Win32.Registry.csproj
index 16712452bb57..d1c554af8c17 100644
--- a/csharp/ql/test/resources/stubs/Microsoft.Win32.Registry/4.7.0/Microsoft.Win32.Registry.csproj
+++ b/csharp/ql/test/resources/stubs/Microsoft.Win32.Registry/4.7.0/Microsoft.Win32.Registry.csproj
@@ -1,6 +1,6 @@
- net8.0
+ net9.0
true
bin\
false
diff --git a/csharp/ql/test/resources/stubs/Microsoft.Win32.SystemEvents/6.0.0/Microsoft.Win32.SystemEvents.csproj b/csharp/ql/test/resources/stubs/Microsoft.Win32.SystemEvents/6.0.0/Microsoft.Win32.SystemEvents.csproj
index 61622bc5296c..c7646fbae204 100644
--- a/csharp/ql/test/resources/stubs/Microsoft.Win32.SystemEvents/6.0.0/Microsoft.Win32.SystemEvents.csproj
+++ b/csharp/ql/test/resources/stubs/Microsoft.Win32.SystemEvents/6.0.0/Microsoft.Win32.SystemEvents.csproj
@@ -1,6 +1,6 @@
- net8.0
+ net9.0
true
bin\
false
diff --git a/csharp/ql/test/resources/stubs/NETStandard.Library/1.6.1/NETStandard.Library.csproj b/csharp/ql/test/resources/stubs/NETStandard.Library/1.6.1/NETStandard.Library.csproj
index 28cc59552fb4..8e22b3ef0714 100644
--- a/csharp/ql/test/resources/stubs/NETStandard.Library/1.6.1/NETStandard.Library.csproj
+++ b/csharp/ql/test/resources/stubs/NETStandard.Library/1.6.1/NETStandard.Library.csproj
@@ -1,6 +1,6 @@
- net8.0
+ net9.0
true
bin\
false
diff --git a/csharp/ql/test/resources/stubs/NHibernate/5.4.7/NHibernate.csproj b/csharp/ql/test/resources/stubs/NHibernate/5.4.7/NHibernate.csproj
index a8ea6c51033e..ecb2dae082bc 100644
--- a/csharp/ql/test/resources/stubs/NHibernate/5.4.7/NHibernate.csproj
+++ b/csharp/ql/test/resources/stubs/NHibernate/5.4.7/NHibernate.csproj
@@ -1,6 +1,6 @@
- net8.0
+ net9.0
true
bin\
false
diff --git a/csharp/ql/test/resources/stubs/Newtonsoft.Json/13.0.3/Newtonsoft.Json.csproj b/csharp/ql/test/resources/stubs/Newtonsoft.Json/13.0.3/Newtonsoft.Json.csproj
index 61622bc5296c..c7646fbae204 100644
--- a/csharp/ql/test/resources/stubs/Newtonsoft.Json/13.0.3/Newtonsoft.Json.csproj
+++ b/csharp/ql/test/resources/stubs/Newtonsoft.Json/13.0.3/Newtonsoft.Json.csproj
@@ -1,6 +1,6 @@
- net8.0
+ net9.0
true
bin\
false
diff --git a/csharp/ql/test/resources/stubs/Remotion.Linq.EagerFetching/2.2.0/Remotion.Linq.EagerFetching.csproj b/csharp/ql/test/resources/stubs/Remotion.Linq.EagerFetching/2.2.0/Remotion.Linq.EagerFetching.csproj
index 47626505cb9c..c1ed1379cbda 100644
--- a/csharp/ql/test/resources/stubs/Remotion.Linq.EagerFetching/2.2.0/Remotion.Linq.EagerFetching.csproj
+++ b/csharp/ql/test/resources/stubs/Remotion.Linq.EagerFetching/2.2.0/Remotion.Linq.EagerFetching.csproj
@@ -1,6 +1,6 @@
- net8.0
+ net9.0
true
bin\
false
diff --git a/csharp/ql/test/resources/stubs/Remotion.Linq/2.2.0/Remotion.Linq.csproj b/csharp/ql/test/resources/stubs/Remotion.Linq/2.2.0/Remotion.Linq.csproj
index 7804bd3e5528..d6c4929252c5 100644
--- a/csharp/ql/test/resources/stubs/Remotion.Linq/2.2.0/Remotion.Linq.csproj
+++ b/csharp/ql/test/resources/stubs/Remotion.Linq/2.2.0/Remotion.Linq.csproj
@@ -1,6 +1,6 @@
- net8.0
+ net9.0
true
bin\
false
diff --git a/csharp/ql/test/resources/stubs/ServiceStack.Client/8.0.0/ServiceStack.Client.csproj b/csharp/ql/test/resources/stubs/ServiceStack.Client/8.0.0/ServiceStack.Client.csproj
index 87757811bc5d..cfcee25916a8 100644
--- a/csharp/ql/test/resources/stubs/ServiceStack.Client/8.0.0/ServiceStack.Client.csproj
+++ b/csharp/ql/test/resources/stubs/ServiceStack.Client/8.0.0/ServiceStack.Client.csproj
@@ -1,6 +1,6 @@
- net8.0
+ net9.0
true
bin\
false
diff --git a/csharp/ql/test/resources/stubs/ServiceStack.Common/8.0.0/ServiceStack.Common.csproj b/csharp/ql/test/resources/stubs/ServiceStack.Common/8.0.0/ServiceStack.Common.csproj
index 31cd858c123a..9528c1b201ac 100644
--- a/csharp/ql/test/resources/stubs/ServiceStack.Common/8.0.0/ServiceStack.Common.csproj
+++ b/csharp/ql/test/resources/stubs/ServiceStack.Common/8.0.0/ServiceStack.Common.csproj
@@ -1,6 +1,6 @@
- net8.0
+ net9.0
true
bin\
false
diff --git a/csharp/ql/test/resources/stubs/ServiceStack.Interfaces/8.0.0/ServiceStack.Interfaces.csproj b/csharp/ql/test/resources/stubs/ServiceStack.Interfaces/8.0.0/ServiceStack.Interfaces.csproj
index 61622bc5296c..c7646fbae204 100644
--- a/csharp/ql/test/resources/stubs/ServiceStack.Interfaces/8.0.0/ServiceStack.Interfaces.csproj
+++ b/csharp/ql/test/resources/stubs/ServiceStack.Interfaces/8.0.0/ServiceStack.Interfaces.csproj
@@ -1,6 +1,6 @@
- net8.0
+ net9.0
true
bin\
false
diff --git a/csharp/ql/test/resources/stubs/ServiceStack.OrmLite.SqlServer/8.0.0/ServiceStack.OrmLite.SqlServer.csproj b/csharp/ql/test/resources/stubs/ServiceStack.OrmLite.SqlServer/8.0.0/ServiceStack.OrmLite.SqlServer.csproj
index e41f3957573f..fd266ab85305 100644
--- a/csharp/ql/test/resources/stubs/ServiceStack.OrmLite.SqlServer/8.0.0/ServiceStack.OrmLite.SqlServer.csproj
+++ b/csharp/ql/test/resources/stubs/ServiceStack.OrmLite.SqlServer/8.0.0/ServiceStack.OrmLite.SqlServer.csproj
@@ -1,6 +1,6 @@
- net8.0
+ net9.0
true
bin\
false
diff --git a/csharp/ql/test/resources/stubs/ServiceStack.OrmLite/8.0.0/ServiceStack.OrmLite.csproj b/csharp/ql/test/resources/stubs/ServiceStack.OrmLite/8.0.0/ServiceStack.OrmLite.csproj
index 9e2be7e1342a..612c11986e5a 100644
--- a/csharp/ql/test/resources/stubs/ServiceStack.OrmLite/8.0.0/ServiceStack.OrmLite.csproj
+++ b/csharp/ql/test/resources/stubs/ServiceStack.OrmLite/8.0.0/ServiceStack.OrmLite.csproj
@@ -1,6 +1,6 @@
- net8.0
+ net9.0
true
bin\
false
diff --git a/csharp/ql/test/resources/stubs/ServiceStack.Text/8.0.0/ServiceStack.Text.csproj b/csharp/ql/test/resources/stubs/ServiceStack.Text/8.0.0/ServiceStack.Text.csproj
index d52b8950187c..f47ae39c2dd0 100644
--- a/csharp/ql/test/resources/stubs/ServiceStack.Text/8.0.0/ServiceStack.Text.csproj
+++ b/csharp/ql/test/resources/stubs/ServiceStack.Text/8.0.0/ServiceStack.Text.csproj
@@ -1,6 +1,6 @@
- net8.0
+ net9.0
true
bin\
false
diff --git a/csharp/ql/test/resources/stubs/ServiceStack/8.0.0/ServiceStack.csproj b/csharp/ql/test/resources/stubs/ServiceStack/8.0.0/ServiceStack.csproj
index 48a94bf1c5c7..b3a2b6df735b 100644
--- a/csharp/ql/test/resources/stubs/ServiceStack/8.0.0/ServiceStack.csproj
+++ b/csharp/ql/test/resources/stubs/ServiceStack/8.0.0/ServiceStack.csproj
@@ -1,6 +1,6 @@
- net8.0
+ net9.0
true
bin\
false
diff --git a/csharp/ql/test/resources/stubs/Stub.System.Data.SQLite.Core.NetStandard/1.0.118/Stub.System.Data.SQLite.Core.NetStandard.csproj b/csharp/ql/test/resources/stubs/Stub.System.Data.SQLite.Core.NetStandard/1.0.118/Stub.System.Data.SQLite.Core.NetStandard.csproj
index 61622bc5296c..c7646fbae204 100644
--- a/csharp/ql/test/resources/stubs/Stub.System.Data.SQLite.Core.NetStandard/1.0.118/Stub.System.Data.SQLite.Core.NetStandard.csproj
+++ b/csharp/ql/test/resources/stubs/Stub.System.Data.SQLite.Core.NetStandard/1.0.118/Stub.System.Data.SQLite.Core.NetStandard.csproj
@@ -1,6 +1,6 @@
- net8.0
+ net9.0
true
bin\
false
diff --git a/csharp/ql/test/resources/stubs/System.AppContext/4.3.0/System.AppContext.csproj b/csharp/ql/test/resources/stubs/System.AppContext/4.3.0/System.AppContext.csproj
index eedea2ceb3c5..05ae99d36ae6 100644
--- a/csharp/ql/test/resources/stubs/System.AppContext/4.3.0/System.AppContext.csproj
+++ b/csharp/ql/test/resources/stubs/System.AppContext/4.3.0/System.AppContext.csproj
@@ -1,6 +1,6 @@
- net8.0
+ net9.0
true
bin\
false
diff --git a/csharp/ql/test/resources/stubs/System.Buffers/4.3.0/System.Buffers.csproj b/csharp/ql/test/resources/stubs/System.Buffers/4.3.0/System.Buffers.csproj
index 3de5fd5d2fb7..461a9c76cd82 100644
--- a/csharp/ql/test/resources/stubs/System.Buffers/4.3.0/System.Buffers.csproj
+++ b/csharp/ql/test/resources/stubs/System.Buffers/4.3.0/System.Buffers.csproj
@@ -1,6 +1,6 @@
- net8.0
+ net9.0
true
bin\
false
diff --git a/csharp/ql/test/resources/stubs/System.CodeDom/4.7.0/System.CodeDom.csproj b/csharp/ql/test/resources/stubs/System.CodeDom/4.7.0/System.CodeDom.csproj
index 61622bc5296c..c7646fbae204 100644
--- a/csharp/ql/test/resources/stubs/System.CodeDom/4.7.0/System.CodeDom.csproj
+++ b/csharp/ql/test/resources/stubs/System.CodeDom/4.7.0/System.CodeDom.csproj
@@ -1,6 +1,6 @@
- net8.0
+ net9.0
true
bin\
false
diff --git a/csharp/ql/test/resources/stubs/System.Collections.Concurrent/4.3.0/System.Collections.Concurrent.csproj b/csharp/ql/test/resources/stubs/System.Collections.Concurrent/4.3.0/System.Collections.Concurrent.csproj
index 43202c093875..e14050e856c7 100644
--- a/csharp/ql/test/resources/stubs/System.Collections.Concurrent/4.3.0/System.Collections.Concurrent.csproj
+++ b/csharp/ql/test/resources/stubs/System.Collections.Concurrent/4.3.0/System.Collections.Concurrent.csproj
@@ -1,6 +1,6 @@
- net8.0
+ net9.0
true
bin\
false
diff --git a/csharp/ql/test/resources/stubs/System.Collections.NonGeneric/4.3.0/System.Collections.NonGeneric.csproj b/csharp/ql/test/resources/stubs/System.Collections.NonGeneric/4.3.0/System.Collections.NonGeneric.csproj
index 9405dc7c7123..c90f517b0d7d 100644
--- a/csharp/ql/test/resources/stubs/System.Collections.NonGeneric/4.3.0/System.Collections.NonGeneric.csproj
+++ b/csharp/ql/test/resources/stubs/System.Collections.NonGeneric/4.3.0/System.Collections.NonGeneric.csproj
@@ -1,6 +1,6 @@
- net8.0
+ net9.0
true
bin\
false
diff --git a/csharp/ql/test/resources/stubs/System.Collections/4.3.0/System.Collections.csproj b/csharp/ql/test/resources/stubs/System.Collections/4.3.0/System.Collections.csproj
index 3f330ea92b93..db450608bc56 100644
--- a/csharp/ql/test/resources/stubs/System.Collections/4.3.0/System.Collections.csproj
+++ b/csharp/ql/test/resources/stubs/System.Collections/4.3.0/System.Collections.csproj
@@ -1,6 +1,6 @@
- net8.0
+ net9.0
true
bin\
false
diff --git a/csharp/ql/test/resources/stubs/System.ComponentModel.Annotations/5.0.0/System.ComponentModel.Annotations.csproj b/csharp/ql/test/resources/stubs/System.ComponentModel.Annotations/5.0.0/System.ComponentModel.Annotations.csproj
index 61622bc5296c..c7646fbae204 100644
--- a/csharp/ql/test/resources/stubs/System.ComponentModel.Annotations/5.0.0/System.ComponentModel.Annotations.csproj
+++ b/csharp/ql/test/resources/stubs/System.ComponentModel.Annotations/5.0.0/System.ComponentModel.Annotations.csproj
@@ -1,6 +1,6 @@
- net8.0
+ net9.0
true
bin\
false
diff --git a/csharp/ql/test/resources/stubs/System.ComponentModel.Primitives/4.3.0/System.ComponentModel.Primitives.csproj b/csharp/ql/test/resources/stubs/System.ComponentModel.Primitives/4.3.0/System.ComponentModel.Primitives.csproj
index 49b42f6256e4..a3f8fc48b0ce 100644
--- a/csharp/ql/test/resources/stubs/System.ComponentModel.Primitives/4.3.0/System.ComponentModel.Primitives.csproj
+++ b/csharp/ql/test/resources/stubs/System.ComponentModel.Primitives/4.3.0/System.ComponentModel.Primitives.csproj
@@ -1,6 +1,6 @@
- net8.0
+ net9.0
true
bin\
false
diff --git a/csharp/ql/test/resources/stubs/System.ComponentModel/4.3.0/System.ComponentModel.csproj b/csharp/ql/test/resources/stubs/System.ComponentModel/4.3.0/System.ComponentModel.csproj
index eedea2ceb3c5..05ae99d36ae6 100644
--- a/csharp/ql/test/resources/stubs/System.ComponentModel/4.3.0/System.ComponentModel.csproj
+++ b/csharp/ql/test/resources/stubs/System.ComponentModel/4.3.0/System.ComponentModel.csproj
@@ -1,6 +1,6 @@
- net8.0
+ net9.0
true
bin\
false
diff --git a/csharp/ql/test/resources/stubs/System.Configuration.ConfigurationManager/6.0.0/System.Configuration.ConfigurationManager.csproj b/csharp/ql/test/resources/stubs/System.Configuration.ConfigurationManager/6.0.0/System.Configuration.ConfigurationManager.csproj
index f4d8c459feb9..0fb5c831ef48 100644
--- a/csharp/ql/test/resources/stubs/System.Configuration.ConfigurationManager/6.0.0/System.Configuration.ConfigurationManager.csproj
+++ b/csharp/ql/test/resources/stubs/System.Configuration.ConfigurationManager/6.0.0/System.Configuration.ConfigurationManager.csproj
@@ -1,6 +1,6 @@
- net8.0
+ net9.0
true
bin\
false
diff --git a/csharp/ql/test/resources/stubs/System.Configuration.ConfigurationManager/8.0.0/System.Configuration.ConfigurationManager.csproj b/csharp/ql/test/resources/stubs/System.Configuration.ConfigurationManager/8.0.0/System.Configuration.ConfigurationManager.csproj
index aca3cc90fda3..667751f24f8b 100644
--- a/csharp/ql/test/resources/stubs/System.Configuration.ConfigurationManager/8.0.0/System.Configuration.ConfigurationManager.csproj
+++ b/csharp/ql/test/resources/stubs/System.Configuration.ConfigurationManager/8.0.0/System.Configuration.ConfigurationManager.csproj
@@ -1,6 +1,6 @@
- net8.0
+ net9.0
true
bin\
false
diff --git a/csharp/ql/test/resources/stubs/System.Console/4.3.0/System.Console.csproj b/csharp/ql/test/resources/stubs/System.Console/4.3.0/System.Console.csproj
index 56d50420a3bb..f7904b15ea98 100644
--- a/csharp/ql/test/resources/stubs/System.Console/4.3.0/System.Console.csproj
+++ b/csharp/ql/test/resources/stubs/System.Console/4.3.0/System.Console.csproj
@@ -1,6 +1,6 @@
- net8.0
+ net9.0
true
bin\
false
diff --git a/csharp/ql/test/resources/stubs/System.Data.OleDb/8.0.0/System.Data.OleDb.csproj b/csharp/ql/test/resources/stubs/System.Data.OleDb/8.0.0/System.Data.OleDb.csproj
index 5d32dddf523b..2d971f7e28d3 100644
--- a/csharp/ql/test/resources/stubs/System.Data.OleDb/8.0.0/System.Data.OleDb.csproj
+++ b/csharp/ql/test/resources/stubs/System.Data.OleDb/8.0.0/System.Data.OleDb.csproj
@@ -1,6 +1,6 @@
- net8.0
+ net9.0
true
bin\
false
diff --git a/csharp/ql/test/resources/stubs/System.Data.SQLite.Core/1.0.118/System.Data.SQLite.Core.csproj b/csharp/ql/test/resources/stubs/System.Data.SQLite.Core/1.0.118/System.Data.SQLite.Core.csproj
index 6261e40e6e1b..ef421dea523f 100644
--- a/csharp/ql/test/resources/stubs/System.Data.SQLite.Core/1.0.118/System.Data.SQLite.Core.csproj
+++ b/csharp/ql/test/resources/stubs/System.Data.SQLite.Core/1.0.118/System.Data.SQLite.Core.csproj
@@ -1,6 +1,6 @@
- net8.0
+ net9.0
true
bin\
false
diff --git a/csharp/ql/test/resources/stubs/System.Data.SQLite.EF6/1.0.118/System.Data.SQLite.EF6.csproj b/csharp/ql/test/resources/stubs/System.Data.SQLite.EF6/1.0.118/System.Data.SQLite.EF6.csproj
index 103dc686e354..7c63e4386aec 100644
--- a/csharp/ql/test/resources/stubs/System.Data.SQLite.EF6/1.0.118/System.Data.SQLite.EF6.csproj
+++ b/csharp/ql/test/resources/stubs/System.Data.SQLite.EF6/1.0.118/System.Data.SQLite.EF6.csproj
@@ -1,6 +1,6 @@
- net8.0
+ net9.0
true
bin\
false
diff --git a/csharp/ql/test/resources/stubs/System.Data.SQLite/1.0.118/System.Data.SQLite.csproj b/csharp/ql/test/resources/stubs/System.Data.SQLite/1.0.118/System.Data.SQLite.csproj
index 6597dafaab78..51f6a87e102f 100644
--- a/csharp/ql/test/resources/stubs/System.Data.SQLite/1.0.118/System.Data.SQLite.csproj
+++ b/csharp/ql/test/resources/stubs/System.Data.SQLite/1.0.118/System.Data.SQLite.csproj
@@ -1,6 +1,6 @@
- net8.0
+ net9.0
true
bin\
false
diff --git a/csharp/ql/test/resources/stubs/System.Data.SqlClient/4.8.5/System.Data.SqlClient.csproj b/csharp/ql/test/resources/stubs/System.Data.SqlClient/4.8.5/System.Data.SqlClient.csproj
index 771049ea6404..14d16d202ed0 100644
--- a/csharp/ql/test/resources/stubs/System.Data.SqlClient/4.8.5/System.Data.SqlClient.csproj
+++ b/csharp/ql/test/resources/stubs/System.Data.SqlClient/4.8.5/System.Data.SqlClient.csproj
@@ -1,6 +1,6 @@
- net8.0
+ net9.0
true
bin\
false
diff --git a/csharp/ql/test/resources/stubs/System.Diagnostics.Debug/4.3.0/System.Diagnostics.Debug.csproj b/csharp/ql/test/resources/stubs/System.Diagnostics.Debug/4.3.0/System.Diagnostics.Debug.csproj
index 3f330ea92b93..db450608bc56 100644
--- a/csharp/ql/test/resources/stubs/System.Diagnostics.Debug/4.3.0/System.Diagnostics.Debug.csproj
+++ b/csharp/ql/test/resources/stubs/System.Diagnostics.Debug/4.3.0/System.Diagnostics.Debug.csproj
@@ -1,6 +1,6 @@
- net8.0
+ net9.0
true
bin\
false
diff --git a/csharp/ql/test/resources/stubs/System.Diagnostics.DiagnosticSource/6.0.0/System.Diagnostics.DiagnosticSource.csproj b/csharp/ql/test/resources/stubs/System.Diagnostics.DiagnosticSource/6.0.0/System.Diagnostics.DiagnosticSource.csproj
index 105b29a4077a..44f3b6c98d18 100644
--- a/csharp/ql/test/resources/stubs/System.Diagnostics.DiagnosticSource/6.0.0/System.Diagnostics.DiagnosticSource.csproj
+++ b/csharp/ql/test/resources/stubs/System.Diagnostics.DiagnosticSource/6.0.0/System.Diagnostics.DiagnosticSource.csproj
@@ -1,6 +1,6 @@
- net8.0
+ net9.0
true
bin\
false
diff --git a/csharp/ql/test/resources/stubs/System.Diagnostics.EventLog/8.0.0/System.Diagnostics.EventLog.csproj b/csharp/ql/test/resources/stubs/System.Diagnostics.EventLog/8.0.0/System.Diagnostics.EventLog.csproj
index 61622bc5296c..c7646fbae204 100644
--- a/csharp/ql/test/resources/stubs/System.Diagnostics.EventLog/8.0.0/System.Diagnostics.EventLog.csproj
+++ b/csharp/ql/test/resources/stubs/System.Diagnostics.EventLog/8.0.0/System.Diagnostics.EventLog.csproj
@@ -1,6 +1,6 @@
- net8.0
+ net9.0
true
bin\
false
diff --git a/csharp/ql/test/resources/stubs/System.Diagnostics.PerformanceCounter/8.0.0/System.Diagnostics.PerformanceCounter.csproj b/csharp/ql/test/resources/stubs/System.Diagnostics.PerformanceCounter/8.0.0/System.Diagnostics.PerformanceCounter.csproj
index 6ea89ebc26b7..940cf37d4051 100644
--- a/csharp/ql/test/resources/stubs/System.Diagnostics.PerformanceCounter/8.0.0/System.Diagnostics.PerformanceCounter.csproj
+++ b/csharp/ql/test/resources/stubs/System.Diagnostics.PerformanceCounter/8.0.0/System.Diagnostics.PerformanceCounter.csproj
@@ -1,6 +1,6 @@
- net8.0
+ net9.0
true
bin\
false
diff --git a/csharp/ql/test/resources/stubs/System.Diagnostics.Tools/4.3.0/System.Diagnostics.Tools.csproj b/csharp/ql/test/resources/stubs/System.Diagnostics.Tools/4.3.0/System.Diagnostics.Tools.csproj
index 3f330ea92b93..db450608bc56 100644
--- a/csharp/ql/test/resources/stubs/System.Diagnostics.Tools/4.3.0/System.Diagnostics.Tools.csproj
+++ b/csharp/ql/test/resources/stubs/System.Diagnostics.Tools/4.3.0/System.Diagnostics.Tools.csproj
@@ -1,6 +1,6 @@
- net8.0
+ net9.0
true
bin\
false
diff --git a/csharp/ql/test/resources/stubs/System.Diagnostics.Tracing/4.3.0/System.Diagnostics.Tracing.csproj b/csharp/ql/test/resources/stubs/System.Diagnostics.Tracing/4.3.0/System.Diagnostics.Tracing.csproj
index 3f330ea92b93..db450608bc56 100644
--- a/csharp/ql/test/resources/stubs/System.Diagnostics.Tracing/4.3.0/System.Diagnostics.Tracing.csproj
+++ b/csharp/ql/test/resources/stubs/System.Diagnostics.Tracing/4.3.0/System.Diagnostics.Tracing.csproj
@@ -1,6 +1,6 @@
- net8.0
+ net9.0
true
bin\
false
diff --git a/csharp/ql/test/resources/stubs/System.Drawing.Common/6.0.0/System.Drawing.Common.csproj b/csharp/ql/test/resources/stubs/System.Drawing.Common/6.0.0/System.Drawing.Common.csproj
index 2867bcd7ddfd..e98953c444a8 100644
--- a/csharp/ql/test/resources/stubs/System.Drawing.Common/6.0.0/System.Drawing.Common.csproj
+++ b/csharp/ql/test/resources/stubs/System.Drawing.Common/6.0.0/System.Drawing.Common.csproj
@@ -1,6 +1,6 @@
- net8.0
+ net9.0
true
bin\
false
diff --git a/csharp/ql/test/resources/stubs/System.Dynamic.Runtime/4.3.0/System.Dynamic.Runtime.csproj b/csharp/ql/test/resources/stubs/System.Dynamic.Runtime/4.3.0/System.Dynamic.Runtime.csproj
index b2092da3e556..d22ce2d8ece6 100644
--- a/csharp/ql/test/resources/stubs/System.Dynamic.Runtime/4.3.0/System.Dynamic.Runtime.csproj
+++ b/csharp/ql/test/resources/stubs/System.Dynamic.Runtime/4.3.0/System.Dynamic.Runtime.csproj
@@ -1,6 +1,6 @@
- net8.0
+ net9.0
true
bin\
false
diff --git a/csharp/ql/test/resources/stubs/System.Globalization.Calendars/4.3.0/System.Globalization.Calendars.csproj b/csharp/ql/test/resources/stubs/System.Globalization.Calendars/4.3.0/System.Globalization.Calendars.csproj
index ada9cced7e80..4ae99ff61b19 100644
--- a/csharp/ql/test/resources/stubs/System.Globalization.Calendars/4.3.0/System.Globalization.Calendars.csproj
+++ b/csharp/ql/test/resources/stubs/System.Globalization.Calendars/4.3.0/System.Globalization.Calendars.csproj
@@ -1,6 +1,6 @@
- net8.0
+ net9.0
true
bin\
false
diff --git a/csharp/ql/test/resources/stubs/System.Globalization.Extensions/4.3.0/System.Globalization.Extensions.csproj b/csharp/ql/test/resources/stubs/System.Globalization.Extensions/4.3.0/System.Globalization.Extensions.csproj
index eae80e844941..a0326b9978ea 100644
--- a/csharp/ql/test/resources/stubs/System.Globalization.Extensions/4.3.0/System.Globalization.Extensions.csproj
+++ b/csharp/ql/test/resources/stubs/System.Globalization.Extensions/4.3.0/System.Globalization.Extensions.csproj
@@ -1,6 +1,6 @@
- net8.0
+ net9.0
true
bin\
false
diff --git a/csharp/ql/test/resources/stubs/System.Globalization/4.3.0/System.Globalization.csproj b/csharp/ql/test/resources/stubs/System.Globalization/4.3.0/System.Globalization.csproj
index 3f330ea92b93..db450608bc56 100644
--- a/csharp/ql/test/resources/stubs/System.Globalization/4.3.0/System.Globalization.csproj
+++ b/csharp/ql/test/resources/stubs/System.Globalization/4.3.0/System.Globalization.csproj
@@ -1,6 +1,6 @@
- net8.0
+ net9.0
true
bin\
false
diff --git a/csharp/ql/test/resources/stubs/System.IO.Compression.ZipFile/4.3.0/System.IO.Compression.ZipFile.csproj b/csharp/ql/test/resources/stubs/System.IO.Compression.ZipFile/4.3.0/System.IO.Compression.ZipFile.csproj
index 9ea0cb694d3f..aa49337117c3 100644
--- a/csharp/ql/test/resources/stubs/System.IO.Compression.ZipFile/4.3.0/System.IO.Compression.ZipFile.csproj
+++ b/csharp/ql/test/resources/stubs/System.IO.Compression.ZipFile/4.3.0/System.IO.Compression.ZipFile.csproj
@@ -1,6 +1,6 @@
- net8.0
+ net9.0
true
bin\
false
diff --git a/csharp/ql/test/resources/stubs/System.IO.Compression/4.3.0/System.IO.Compression.csproj b/csharp/ql/test/resources/stubs/System.IO.Compression/4.3.0/System.IO.Compression.csproj
index 571ca8ac7023..3cba3792b5c9 100644
--- a/csharp/ql/test/resources/stubs/System.IO.Compression/4.3.0/System.IO.Compression.csproj
+++ b/csharp/ql/test/resources/stubs/System.IO.Compression/4.3.0/System.IO.Compression.csproj
@@ -1,6 +1,6 @@
- net8.0
+ net9.0
true
bin\
false
diff --git a/csharp/ql/test/resources/stubs/System.IO.FileSystem.Primitives/4.3.0/System.IO.FileSystem.Primitives.csproj b/csharp/ql/test/resources/stubs/System.IO.FileSystem.Primitives/4.3.0/System.IO.FileSystem.Primitives.csproj
index eedea2ceb3c5..05ae99d36ae6 100644
--- a/csharp/ql/test/resources/stubs/System.IO.FileSystem.Primitives/4.3.0/System.IO.FileSystem.Primitives.csproj
+++ b/csharp/ql/test/resources/stubs/System.IO.FileSystem.Primitives/4.3.0/System.IO.FileSystem.Primitives.csproj
@@ -1,6 +1,6 @@
- net8.0
+ net9.0
true
bin\
false
diff --git a/csharp/ql/test/resources/stubs/System.IO.FileSystem/4.3.0/System.IO.FileSystem.csproj b/csharp/ql/test/resources/stubs/System.IO.FileSystem/4.3.0/System.IO.FileSystem.csproj
index 29f8407694c0..1a793bec2073 100644
--- a/csharp/ql/test/resources/stubs/System.IO.FileSystem/4.3.0/System.IO.FileSystem.csproj
+++ b/csharp/ql/test/resources/stubs/System.IO.FileSystem/4.3.0/System.IO.FileSystem.csproj
@@ -1,6 +1,6 @@
- net8.0
+ net9.0
true
bin\
false
diff --git a/csharp/ql/test/resources/stubs/System.IO/4.3.0/System.IO.csproj b/csharp/ql/test/resources/stubs/System.IO/4.3.0/System.IO.csproj
index 5f5c9da5ddde..6d81c1f3f9e0 100644
--- a/csharp/ql/test/resources/stubs/System.IO/4.3.0/System.IO.csproj
+++ b/csharp/ql/test/resources/stubs/System.IO/4.3.0/System.IO.csproj
@@ -1,6 +1,6 @@
- net8.0
+ net9.0
true
bin\
false
diff --git a/csharp/ql/test/resources/stubs/System.Linq.Expressions/4.3.0/System.Linq.Expressions.csproj b/csharp/ql/test/resources/stubs/System.Linq.Expressions/4.3.0/System.Linq.Expressions.csproj
index 0af3dc685d2f..2942048df30e 100644
--- a/csharp/ql/test/resources/stubs/System.Linq.Expressions/4.3.0/System.Linq.Expressions.csproj
+++ b/csharp/ql/test/resources/stubs/System.Linq.Expressions/4.3.0/System.Linq.Expressions.csproj
@@ -1,6 +1,6 @@
- net8.0
+ net9.0
true
bin\
false
diff --git a/csharp/ql/test/resources/stubs/System.Linq.Queryable/4.0.1/System.Linq.Queryable.csproj b/csharp/ql/test/resources/stubs/System.Linq.Queryable/4.0.1/System.Linq.Queryable.csproj
index 2f932907bcdc..1b9179010ea4 100644
--- a/csharp/ql/test/resources/stubs/System.Linq.Queryable/4.0.1/System.Linq.Queryable.csproj
+++ b/csharp/ql/test/resources/stubs/System.Linq.Queryable/4.0.1/System.Linq.Queryable.csproj
@@ -1,6 +1,6 @@
- net8.0
+ net9.0
true
bin\
false
diff --git a/csharp/ql/test/resources/stubs/System.Linq/4.3.0/System.Linq.csproj b/csharp/ql/test/resources/stubs/System.Linq/4.3.0/System.Linq.csproj
index 8e5bc7596e35..df71d560e137 100644
--- a/csharp/ql/test/resources/stubs/System.Linq/4.3.0/System.Linq.csproj
+++ b/csharp/ql/test/resources/stubs/System.Linq/4.3.0/System.Linq.csproj
@@ -1,6 +1,6 @@
- net8.0
+ net9.0
true
bin\
false
diff --git a/csharp/ql/test/resources/stubs/System.Memory/4.5.5/System.Memory.csproj b/csharp/ql/test/resources/stubs/System.Memory/4.5.5/System.Memory.csproj
index 61622bc5296c..c7646fbae204 100644
--- a/csharp/ql/test/resources/stubs/System.Memory/4.5.5/System.Memory.csproj
+++ b/csharp/ql/test/resources/stubs/System.Memory/4.5.5/System.Memory.csproj
@@ -1,6 +1,6 @@
- net8.0
+ net9.0
true
bin\
false
diff --git a/csharp/ql/test/resources/stubs/System.Net.Http/4.3.0/System.Net.Http.csproj b/csharp/ql/test/resources/stubs/System.Net.Http/4.3.0/System.Net.Http.csproj
index 8f34cf081282..c1ae5bf67432 100644
--- a/csharp/ql/test/resources/stubs/System.Net.Http/4.3.0/System.Net.Http.csproj
+++ b/csharp/ql/test/resources/stubs/System.Net.Http/4.3.0/System.Net.Http.csproj
@@ -1,6 +1,6 @@
- net8.0
+ net9.0
true
bin\
false
diff --git a/csharp/ql/test/resources/stubs/System.Net.Primitives/4.3.0/System.Net.Primitives.csproj b/csharp/ql/test/resources/stubs/System.Net.Primitives/4.3.0/System.Net.Primitives.csproj
index 6a8c1133b6aa..e9dd3007c6e2 100644
--- a/csharp/ql/test/resources/stubs/System.Net.Primitives/4.3.0/System.Net.Primitives.csproj
+++ b/csharp/ql/test/resources/stubs/System.Net.Primitives/4.3.0/System.Net.Primitives.csproj
@@ -1,6 +1,6 @@
- net8.0
+ net9.0
true
bin\
false
diff --git a/csharp/ql/test/resources/stubs/System.Net.Sockets/4.3.0/System.Net.Sockets.csproj b/csharp/ql/test/resources/stubs/System.Net.Sockets/4.3.0/System.Net.Sockets.csproj
index 5448cc1e8d44..6f404cfd263b 100644
--- a/csharp/ql/test/resources/stubs/System.Net.Sockets/4.3.0/System.Net.Sockets.csproj
+++ b/csharp/ql/test/resources/stubs/System.Net.Sockets/4.3.0/System.Net.Sockets.csproj
@@ -1,6 +1,6 @@
- net8.0
+ net9.0
true
bin\
false
diff --git a/csharp/ql/test/resources/stubs/System.ObjectModel/4.3.0/System.ObjectModel.csproj b/csharp/ql/test/resources/stubs/System.ObjectModel/4.3.0/System.ObjectModel.csproj
index f7895d929a1a..6aa1406d634d 100644
--- a/csharp/ql/test/resources/stubs/System.ObjectModel/4.3.0/System.ObjectModel.csproj
+++ b/csharp/ql/test/resources/stubs/System.ObjectModel/4.3.0/System.ObjectModel.csproj
@@ -1,6 +1,6 @@
- net8.0
+ net9.0
true
bin\
false
diff --git a/csharp/ql/test/resources/stubs/System.Reflection.Emit.ILGeneration/4.3.0/System.Reflection.Emit.ILGeneration.csproj b/csharp/ql/test/resources/stubs/System.Reflection.Emit.ILGeneration/4.3.0/System.Reflection.Emit.ILGeneration.csproj
index 168e2690d6e1..80dffb6c91a3 100644
--- a/csharp/ql/test/resources/stubs/System.Reflection.Emit.ILGeneration/4.3.0/System.Reflection.Emit.ILGeneration.csproj
+++ b/csharp/ql/test/resources/stubs/System.Reflection.Emit.ILGeneration/4.3.0/System.Reflection.Emit.ILGeneration.csproj
@@ -1,6 +1,6 @@
- net8.0
+ net9.0
true
bin\
false
diff --git a/csharp/ql/test/resources/stubs/System.Reflection.Emit.Lightweight/4.7.0/System.Reflection.Emit.Lightweight.csproj b/csharp/ql/test/resources/stubs/System.Reflection.Emit.Lightweight/4.7.0/System.Reflection.Emit.Lightweight.csproj
index 61622bc5296c..c7646fbae204 100644
--- a/csharp/ql/test/resources/stubs/System.Reflection.Emit.Lightweight/4.7.0/System.Reflection.Emit.Lightweight.csproj
+++ b/csharp/ql/test/resources/stubs/System.Reflection.Emit.Lightweight/4.7.0/System.Reflection.Emit.Lightweight.csproj
@@ -1,6 +1,6 @@
- net8.0
+ net9.0
true
bin\
false
diff --git a/csharp/ql/test/resources/stubs/System.Reflection.Emit/4.7.0/System.Reflection.Emit.csproj b/csharp/ql/test/resources/stubs/System.Reflection.Emit/4.7.0/System.Reflection.Emit.csproj
index 61622bc5296c..c7646fbae204 100644
--- a/csharp/ql/test/resources/stubs/System.Reflection.Emit/4.7.0/System.Reflection.Emit.csproj
+++ b/csharp/ql/test/resources/stubs/System.Reflection.Emit/4.7.0/System.Reflection.Emit.csproj
@@ -1,6 +1,6 @@
- net8.0
+ net9.0
true
bin\
false
diff --git a/csharp/ql/test/resources/stubs/System.Reflection.Extensions/4.3.0/System.Reflection.Extensions.csproj b/csharp/ql/test/resources/stubs/System.Reflection.Extensions/4.3.0/System.Reflection.Extensions.csproj
index 04f8570acc52..28562e7f81a8 100644
--- a/csharp/ql/test/resources/stubs/System.Reflection.Extensions/4.3.0/System.Reflection.Extensions.csproj
+++ b/csharp/ql/test/resources/stubs/System.Reflection.Extensions/4.3.0/System.Reflection.Extensions.csproj
@@ -1,6 +1,6 @@
- net8.0
+ net9.0
true
bin\
false
diff --git a/csharp/ql/test/resources/stubs/System.Reflection.Primitives/4.3.0/System.Reflection.Primitives.csproj b/csharp/ql/test/resources/stubs/System.Reflection.Primitives/4.3.0/System.Reflection.Primitives.csproj
index 3f330ea92b93..db450608bc56 100644
--- a/csharp/ql/test/resources/stubs/System.Reflection.Primitives/4.3.0/System.Reflection.Primitives.csproj
+++ b/csharp/ql/test/resources/stubs/System.Reflection.Primitives/4.3.0/System.Reflection.Primitives.csproj
@@ -1,6 +1,6 @@
- net8.0
+ net9.0
true
bin\
false
diff --git a/csharp/ql/test/resources/stubs/System.Reflection.TypeExtensions/4.7.0/System.Reflection.TypeExtensions.csproj b/csharp/ql/test/resources/stubs/System.Reflection.TypeExtensions/4.7.0/System.Reflection.TypeExtensions.csproj
index 61622bc5296c..c7646fbae204 100644
--- a/csharp/ql/test/resources/stubs/System.Reflection.TypeExtensions/4.7.0/System.Reflection.TypeExtensions.csproj
+++ b/csharp/ql/test/resources/stubs/System.Reflection.TypeExtensions/4.7.0/System.Reflection.TypeExtensions.csproj
@@ -1,6 +1,6 @@
- net8.0
+ net9.0
true
bin\
false
diff --git a/csharp/ql/test/resources/stubs/System.Reflection/4.3.0/System.Reflection.csproj b/csharp/ql/test/resources/stubs/System.Reflection/4.3.0/System.Reflection.csproj
index 4c9aaa8917a8..2979d196c842 100644
--- a/csharp/ql/test/resources/stubs/System.Reflection/4.3.0/System.Reflection.csproj
+++ b/csharp/ql/test/resources/stubs/System.Reflection/4.3.0/System.Reflection.csproj
@@ -1,6 +1,6 @@
- net8.0
+ net9.0
true
bin\
false
diff --git a/csharp/ql/test/resources/stubs/System.Resources.ResourceManager/4.3.0/System.Resources.ResourceManager.csproj b/csharp/ql/test/resources/stubs/System.Resources.ResourceManager/4.3.0/System.Resources.ResourceManager.csproj
index 244dbe7b4f2f..f13388a0b79d 100644
--- a/csharp/ql/test/resources/stubs/System.Resources.ResourceManager/4.3.0/System.Resources.ResourceManager.csproj
+++ b/csharp/ql/test/resources/stubs/System.Resources.ResourceManager/4.3.0/System.Resources.ResourceManager.csproj
@@ -1,6 +1,6 @@
- net8.0
+ net9.0
true
bin\
false
diff --git a/csharp/ql/test/resources/stubs/System.Runtime.CompilerServices.Unsafe/6.0.0/System.Runtime.CompilerServices.Unsafe.csproj b/csharp/ql/test/resources/stubs/System.Runtime.CompilerServices.Unsafe/6.0.0/System.Runtime.CompilerServices.Unsafe.csproj
index 61622bc5296c..c7646fbae204 100644
--- a/csharp/ql/test/resources/stubs/System.Runtime.CompilerServices.Unsafe/6.0.0/System.Runtime.CompilerServices.Unsafe.csproj
+++ b/csharp/ql/test/resources/stubs/System.Runtime.CompilerServices.Unsafe/6.0.0/System.Runtime.CompilerServices.Unsafe.csproj
@@ -1,6 +1,6 @@
- net8.0
+ net9.0
true
bin\
false
diff --git a/csharp/ql/test/resources/stubs/System.Runtime.Extensions/4.3.0/System.Runtime.Extensions.csproj b/csharp/ql/test/resources/stubs/System.Runtime.Extensions/4.3.0/System.Runtime.Extensions.csproj
index 3f330ea92b93..db450608bc56 100644
--- a/csharp/ql/test/resources/stubs/System.Runtime.Extensions/4.3.0/System.Runtime.Extensions.csproj
+++ b/csharp/ql/test/resources/stubs/System.Runtime.Extensions/4.3.0/System.Runtime.Extensions.csproj
@@ -1,6 +1,6 @@
- net8.0
+ net9.0
true
bin\
false
diff --git a/csharp/ql/test/resources/stubs/System.Runtime.Handles/4.3.0/System.Runtime.Handles.csproj b/csharp/ql/test/resources/stubs/System.Runtime.Handles/4.3.0/System.Runtime.Handles.csproj
index 3f330ea92b93..db450608bc56 100644
--- a/csharp/ql/test/resources/stubs/System.Runtime.Handles/4.3.0/System.Runtime.Handles.csproj
+++ b/csharp/ql/test/resources/stubs/System.Runtime.Handles/4.3.0/System.Runtime.Handles.csproj
@@ -1,6 +1,6 @@
- net8.0
+ net9.0
true
bin\
false
diff --git a/csharp/ql/test/resources/stubs/System.Runtime.InteropServices.RuntimeInformation/4.3.0/System.Runtime.InteropServices.RuntimeInformation.csproj b/csharp/ql/test/resources/stubs/System.Runtime.InteropServices.RuntimeInformation/4.3.0/System.Runtime.InteropServices.RuntimeInformation.csproj
index 2b9d6db8e7d2..6f9c25eb7441 100644
--- a/csharp/ql/test/resources/stubs/System.Runtime.InteropServices.RuntimeInformation/4.3.0/System.Runtime.InteropServices.RuntimeInformation.csproj
+++ b/csharp/ql/test/resources/stubs/System.Runtime.InteropServices.RuntimeInformation/4.3.0/System.Runtime.InteropServices.RuntimeInformation.csproj
@@ -1,6 +1,6 @@
- net8.0
+ net9.0
true
bin\
false
diff --git a/csharp/ql/test/resources/stubs/System.Runtime.InteropServices/4.3.0/System.Runtime.InteropServices.csproj b/csharp/ql/test/resources/stubs/System.Runtime.InteropServices/4.3.0/System.Runtime.InteropServices.csproj
index 662d4b0211bc..0750843c2df6 100644
--- a/csharp/ql/test/resources/stubs/System.Runtime.InteropServices/4.3.0/System.Runtime.InteropServices.csproj
+++ b/csharp/ql/test/resources/stubs/System.Runtime.InteropServices/4.3.0/System.Runtime.InteropServices.csproj
@@ -1,6 +1,6 @@
- net8.0
+ net9.0
true
bin\
false
diff --git a/csharp/ql/test/resources/stubs/System.Runtime.Numerics/4.3.0/System.Runtime.Numerics.csproj b/csharp/ql/test/resources/stubs/System.Runtime.Numerics/4.3.0/System.Runtime.Numerics.csproj
index 06b8a11a3a06..57754ba8a4e1 100644
--- a/csharp/ql/test/resources/stubs/System.Runtime.Numerics/4.3.0/System.Runtime.Numerics.csproj
+++ b/csharp/ql/test/resources/stubs/System.Runtime.Numerics/4.3.0/System.Runtime.Numerics.csproj
@@ -1,6 +1,6 @@
- net8.0
+ net9.0
true
bin\
false
diff --git a/csharp/ql/test/resources/stubs/System.Runtime.Serialization.Formatters/4.3.0/System.Runtime.Serialization.Formatters.csproj b/csharp/ql/test/resources/stubs/System.Runtime.Serialization.Formatters/4.3.0/System.Runtime.Serialization.Formatters.csproj
index 688fbf926e37..969789e70054 100644
--- a/csharp/ql/test/resources/stubs/System.Runtime.Serialization.Formatters/4.3.0/System.Runtime.Serialization.Formatters.csproj
+++ b/csharp/ql/test/resources/stubs/System.Runtime.Serialization.Formatters/4.3.0/System.Runtime.Serialization.Formatters.csproj
@@ -1,6 +1,6 @@
- net8.0
+ net9.0
true
bin\
false
diff --git a/csharp/ql/test/resources/stubs/System.Runtime.Serialization.Primitives/4.3.0/System.Runtime.Serialization.Primitives.csproj b/csharp/ql/test/resources/stubs/System.Runtime.Serialization.Primitives/4.3.0/System.Runtime.Serialization.Primitives.csproj
index e5981041968d..296b55a60a8f 100644
--- a/csharp/ql/test/resources/stubs/System.Runtime.Serialization.Primitives/4.3.0/System.Runtime.Serialization.Primitives.csproj
+++ b/csharp/ql/test/resources/stubs/System.Runtime.Serialization.Primitives/4.3.0/System.Runtime.Serialization.Primitives.csproj
@@ -1,6 +1,6 @@
- net8.0
+ net9.0
true
bin\
false
diff --git a/csharp/ql/test/resources/stubs/System.Runtime/4.3.0/System.Runtime.csproj b/csharp/ql/test/resources/stubs/System.Runtime/4.3.0/System.Runtime.csproj
index 2753de6e2e9e..02dc0eedbee0 100644
--- a/csharp/ql/test/resources/stubs/System.Runtime/4.3.0/System.Runtime.csproj
+++ b/csharp/ql/test/resources/stubs/System.Runtime/4.3.0/System.Runtime.csproj
@@ -1,6 +1,6 @@
- net8.0
+ net9.0
true
bin\
false
diff --git a/csharp/ql/test/resources/stubs/System.Security.AccessControl/4.7.0/System.Security.AccessControl.csproj b/csharp/ql/test/resources/stubs/System.Security.AccessControl/4.7.0/System.Security.AccessControl.csproj
index d602f3967efe..8f1adeb25730 100644
--- a/csharp/ql/test/resources/stubs/System.Security.AccessControl/4.7.0/System.Security.AccessControl.csproj
+++ b/csharp/ql/test/resources/stubs/System.Security.AccessControl/4.7.0/System.Security.AccessControl.csproj
@@ -1,6 +1,6 @@
- net8.0
+ net9.0
true
bin\
false
diff --git a/csharp/ql/test/resources/stubs/System.Security.AccessControl/6.0.0/System.Security.AccessControl.csproj b/csharp/ql/test/resources/stubs/System.Security.AccessControl/6.0.0/System.Security.AccessControl.csproj
index 61622bc5296c..c7646fbae204 100644
--- a/csharp/ql/test/resources/stubs/System.Security.AccessControl/6.0.0/System.Security.AccessControl.csproj
+++ b/csharp/ql/test/resources/stubs/System.Security.AccessControl/6.0.0/System.Security.AccessControl.csproj
@@ -1,6 +1,6 @@
- net8.0
+ net9.0
true
bin\
false
diff --git a/csharp/ql/test/resources/stubs/System.Security.Cryptography.Algorithms/4.3.0/System.Security.Cryptography.Algorithms.csproj b/csharp/ql/test/resources/stubs/System.Security.Cryptography.Algorithms/4.3.0/System.Security.Cryptography.Algorithms.csproj
index c02ec388dcf9..2612829411e3 100644
--- a/csharp/ql/test/resources/stubs/System.Security.Cryptography.Algorithms/4.3.0/System.Security.Cryptography.Algorithms.csproj
+++ b/csharp/ql/test/resources/stubs/System.Security.Cryptography.Algorithms/4.3.0/System.Security.Cryptography.Algorithms.csproj
@@ -1,6 +1,6 @@
- net8.0
+ net9.0
true
bin\
false
diff --git a/csharp/ql/test/resources/stubs/System.Security.Cryptography.Cng/4.3.0/System.Security.Cryptography.Cng.csproj b/csharp/ql/test/resources/stubs/System.Security.Cryptography.Cng/4.3.0/System.Security.Cryptography.Cng.csproj
index 8b6bdc45f576..ad94b10cd1a6 100644
--- a/csharp/ql/test/resources/stubs/System.Security.Cryptography.Cng/4.3.0/System.Security.Cryptography.Cng.csproj
+++ b/csharp/ql/test/resources/stubs/System.Security.Cryptography.Cng/4.3.0/System.Security.Cryptography.Cng.csproj
@@ -1,6 +1,6 @@
- net8.0
+ net9.0
true
bin\
false
diff --git a/csharp/ql/test/resources/stubs/System.Security.Cryptography.Csp/4.3.0/System.Security.Cryptography.Csp.csproj b/csharp/ql/test/resources/stubs/System.Security.Cryptography.Csp/4.3.0/System.Security.Cryptography.Csp.csproj
index 18435c50e8ec..c4c48bc1cf71 100644
--- a/csharp/ql/test/resources/stubs/System.Security.Cryptography.Csp/4.3.0/System.Security.Cryptography.Csp.csproj
+++ b/csharp/ql/test/resources/stubs/System.Security.Cryptography.Csp/4.3.0/System.Security.Cryptography.Csp.csproj
@@ -1,6 +1,6 @@
- net8.0
+ net9.0
true
bin\
false
diff --git a/csharp/ql/test/resources/stubs/System.Security.Cryptography.Encoding/4.3.0/System.Security.Cryptography.Encoding.csproj b/csharp/ql/test/resources/stubs/System.Security.Cryptography.Encoding/4.3.0/System.Security.Cryptography.Encoding.csproj
index f203f16da16d..fe25f9a89400 100644
--- a/csharp/ql/test/resources/stubs/System.Security.Cryptography.Encoding/4.3.0/System.Security.Cryptography.Encoding.csproj
+++ b/csharp/ql/test/resources/stubs/System.Security.Cryptography.Encoding/4.3.0/System.Security.Cryptography.Encoding.csproj
@@ -1,6 +1,6 @@
- net8.0
+ net9.0
true
bin\
false
diff --git a/csharp/ql/test/resources/stubs/System.Security.Cryptography.OpenSsl/4.3.0/System.Security.Cryptography.OpenSsl.csproj b/csharp/ql/test/resources/stubs/System.Security.Cryptography.OpenSsl/4.3.0/System.Security.Cryptography.OpenSsl.csproj
index 98989a1a9585..8ba6c5da32d0 100644
--- a/csharp/ql/test/resources/stubs/System.Security.Cryptography.OpenSsl/4.3.0/System.Security.Cryptography.OpenSsl.csproj
+++ b/csharp/ql/test/resources/stubs/System.Security.Cryptography.OpenSsl/4.3.0/System.Security.Cryptography.OpenSsl.csproj
@@ -1,6 +1,6 @@
- net8.0
+ net9.0
true
bin\
false
diff --git a/csharp/ql/test/resources/stubs/System.Security.Cryptography.Primitives/4.3.0/System.Security.Cryptography.Primitives.csproj b/csharp/ql/test/resources/stubs/System.Security.Cryptography.Primitives/4.3.0/System.Security.Cryptography.Primitives.csproj
index 01dc9200b712..4ea09d97c5cf 100644
--- a/csharp/ql/test/resources/stubs/System.Security.Cryptography.Primitives/4.3.0/System.Security.Cryptography.Primitives.csproj
+++ b/csharp/ql/test/resources/stubs/System.Security.Cryptography.Primitives/4.3.0/System.Security.Cryptography.Primitives.csproj
@@ -1,6 +1,6 @@
- net8.0
+ net9.0
true
bin\
false
diff --git a/csharp/ql/test/resources/stubs/System.Security.Cryptography.ProtectedData/6.0.0/System.Security.Cryptography.ProtectedData.csproj b/csharp/ql/test/resources/stubs/System.Security.Cryptography.ProtectedData/6.0.0/System.Security.Cryptography.ProtectedData.csproj
index 61622bc5296c..c7646fbae204 100644
--- a/csharp/ql/test/resources/stubs/System.Security.Cryptography.ProtectedData/6.0.0/System.Security.Cryptography.ProtectedData.csproj
+++ b/csharp/ql/test/resources/stubs/System.Security.Cryptography.ProtectedData/6.0.0/System.Security.Cryptography.ProtectedData.csproj
@@ -1,6 +1,6 @@
- net8.0
+ net9.0
true
bin\
false
diff --git a/csharp/ql/test/resources/stubs/System.Security.Cryptography.ProtectedData/8.0.0/System.Security.Cryptography.ProtectedData.csproj b/csharp/ql/test/resources/stubs/System.Security.Cryptography.ProtectedData/8.0.0/System.Security.Cryptography.ProtectedData.csproj
index 61622bc5296c..c7646fbae204 100644
--- a/csharp/ql/test/resources/stubs/System.Security.Cryptography.ProtectedData/8.0.0/System.Security.Cryptography.ProtectedData.csproj
+++ b/csharp/ql/test/resources/stubs/System.Security.Cryptography.ProtectedData/8.0.0/System.Security.Cryptography.ProtectedData.csproj
@@ -1,6 +1,6 @@
- net8.0
+ net9.0
true
bin\
false
diff --git a/csharp/ql/test/resources/stubs/System.Security.Cryptography.X509Certificates/4.3.0/System.Security.Cryptography.X509Certificates.csproj b/csharp/ql/test/resources/stubs/System.Security.Cryptography.X509Certificates/4.3.0/System.Security.Cryptography.X509Certificates.csproj
index 58db72aeedd7..43161445311a 100644
--- a/csharp/ql/test/resources/stubs/System.Security.Cryptography.X509Certificates/4.3.0/System.Security.Cryptography.X509Certificates.csproj
+++ b/csharp/ql/test/resources/stubs/System.Security.Cryptography.X509Certificates/4.3.0/System.Security.Cryptography.X509Certificates.csproj
@@ -1,6 +1,6 @@
- net8.0
+ net9.0
true
bin\
false
diff --git a/csharp/ql/test/resources/stubs/System.Security.Permissions/6.0.0/System.Security.Permissions.csproj b/csharp/ql/test/resources/stubs/System.Security.Permissions/6.0.0/System.Security.Permissions.csproj
index 6eee91e4a0de..17c156f764f7 100644
--- a/csharp/ql/test/resources/stubs/System.Security.Permissions/6.0.0/System.Security.Permissions.csproj
+++ b/csharp/ql/test/resources/stubs/System.Security.Permissions/6.0.0/System.Security.Permissions.csproj
@@ -1,6 +1,6 @@
- net8.0
+ net9.0
true
bin\
false
diff --git a/csharp/ql/test/resources/stubs/System.Security.Principal.Windows/4.7.0/System.Security.Principal.Windows.csproj b/csharp/ql/test/resources/stubs/System.Security.Principal.Windows/4.7.0/System.Security.Principal.Windows.csproj
index 61622bc5296c..c7646fbae204 100644
--- a/csharp/ql/test/resources/stubs/System.Security.Principal.Windows/4.7.0/System.Security.Principal.Windows.csproj
+++ b/csharp/ql/test/resources/stubs/System.Security.Principal.Windows/4.7.0/System.Security.Principal.Windows.csproj
@@ -1,6 +1,6 @@
- net8.0
+ net9.0
true
bin\
false
diff --git a/csharp/ql/test/resources/stubs/System.Text.Encoding.Extensions/4.3.0/System.Text.Encoding.Extensions.csproj b/csharp/ql/test/resources/stubs/System.Text.Encoding.Extensions/4.3.0/System.Text.Encoding.Extensions.csproj
index a5763e7e929e..001908d17268 100644
--- a/csharp/ql/test/resources/stubs/System.Text.Encoding.Extensions/4.3.0/System.Text.Encoding.Extensions.csproj
+++ b/csharp/ql/test/resources/stubs/System.Text.Encoding.Extensions/4.3.0/System.Text.Encoding.Extensions.csproj
@@ -1,6 +1,6 @@
- net8.0
+ net9.0
true
bin\
false
diff --git a/csharp/ql/test/resources/stubs/System.Text.Encoding/4.3.0/System.Text.Encoding.csproj b/csharp/ql/test/resources/stubs/System.Text.Encoding/4.3.0/System.Text.Encoding.csproj
index 3f330ea92b93..db450608bc56 100644
--- a/csharp/ql/test/resources/stubs/System.Text.Encoding/4.3.0/System.Text.Encoding.csproj
+++ b/csharp/ql/test/resources/stubs/System.Text.Encoding/4.3.0/System.Text.Encoding.csproj
@@ -1,6 +1,6 @@
- net8.0
+ net9.0
true
bin\
false
diff --git a/csharp/ql/test/resources/stubs/System.Text.RegularExpressions/4.3.0/System.Text.RegularExpressions.csproj b/csharp/ql/test/resources/stubs/System.Text.RegularExpressions/4.3.0/System.Text.RegularExpressions.csproj
index eedea2ceb3c5..05ae99d36ae6 100644
--- a/csharp/ql/test/resources/stubs/System.Text.RegularExpressions/4.3.0/System.Text.RegularExpressions.csproj
+++ b/csharp/ql/test/resources/stubs/System.Text.RegularExpressions/4.3.0/System.Text.RegularExpressions.csproj
@@ -1,6 +1,6 @@
- net8.0
+ net9.0
true
bin\
false
diff --git a/csharp/ql/test/resources/stubs/System.Threading.Tasks.Extensions/4.3.0/System.Threading.Tasks.Extensions.csproj b/csharp/ql/test/resources/stubs/System.Threading.Tasks.Extensions/4.3.0/System.Threading.Tasks.Extensions.csproj
index 238a9e8005ca..9719080f3140 100644
--- a/csharp/ql/test/resources/stubs/System.Threading.Tasks.Extensions/4.3.0/System.Threading.Tasks.Extensions.csproj
+++ b/csharp/ql/test/resources/stubs/System.Threading.Tasks.Extensions/4.3.0/System.Threading.Tasks.Extensions.csproj
@@ -1,6 +1,6 @@
- net8.0
+ net9.0
true
bin\
false
diff --git a/csharp/ql/test/resources/stubs/System.Threading.Tasks/4.3.0/System.Threading.Tasks.csproj b/csharp/ql/test/resources/stubs/System.Threading.Tasks/4.3.0/System.Threading.Tasks.csproj
index 3f330ea92b93..db450608bc56 100644
--- a/csharp/ql/test/resources/stubs/System.Threading.Tasks/4.3.0/System.Threading.Tasks.csproj
+++ b/csharp/ql/test/resources/stubs/System.Threading.Tasks/4.3.0/System.Threading.Tasks.csproj
@@ -1,6 +1,6 @@
- net8.0
+ net9.0
true
bin\
false
diff --git a/csharp/ql/test/resources/stubs/System.Threading.Timer/4.3.0/System.Threading.Timer.csproj b/csharp/ql/test/resources/stubs/System.Threading.Timer/4.3.0/System.Threading.Timer.csproj
index 3f330ea92b93..db450608bc56 100644
--- a/csharp/ql/test/resources/stubs/System.Threading.Timer/4.3.0/System.Threading.Timer.csproj
+++ b/csharp/ql/test/resources/stubs/System.Threading.Timer/4.3.0/System.Threading.Timer.csproj
@@ -1,6 +1,6 @@
- net8.0
+ net9.0
true
bin\
false
diff --git a/csharp/ql/test/resources/stubs/System.Threading/4.3.0/System.Threading.csproj b/csharp/ql/test/resources/stubs/System.Threading/4.3.0/System.Threading.csproj
index e20b1bd00217..a52b105bcb73 100644
--- a/csharp/ql/test/resources/stubs/System.Threading/4.3.0/System.Threading.csproj
+++ b/csharp/ql/test/resources/stubs/System.Threading/4.3.0/System.Threading.csproj
@@ -1,6 +1,6 @@
- net8.0
+ net9.0
true
bin\
false
diff --git a/csharp/ql/test/resources/stubs/System.Windows.Extensions/6.0.0/System.Windows.Extensions.csproj b/csharp/ql/test/resources/stubs/System.Windows.Extensions/6.0.0/System.Windows.Extensions.csproj
index 6ccc9797b286..50999e71d783 100644
--- a/csharp/ql/test/resources/stubs/System.Windows.Extensions/6.0.0/System.Windows.Extensions.csproj
+++ b/csharp/ql/test/resources/stubs/System.Windows.Extensions/6.0.0/System.Windows.Extensions.csproj
@@ -1,6 +1,6 @@
- net8.0
+ net9.0
true
bin\
false
diff --git a/csharp/ql/test/resources/stubs/System.Xml.ReaderWriter/4.3.0/System.Xml.ReaderWriter.csproj b/csharp/ql/test/resources/stubs/System.Xml.ReaderWriter/4.3.0/System.Xml.ReaderWriter.csproj
index 4f6ef393595f..57b27b200a4c 100644
--- a/csharp/ql/test/resources/stubs/System.Xml.ReaderWriter/4.3.0/System.Xml.ReaderWriter.csproj
+++ b/csharp/ql/test/resources/stubs/System.Xml.ReaderWriter/4.3.0/System.Xml.ReaderWriter.csproj
@@ -1,6 +1,6 @@
- net8.0
+ net9.0
true
bin\
false
diff --git a/csharp/ql/test/resources/stubs/System.Xml.XDocument/4.3.0/System.Xml.XDocument.csproj b/csharp/ql/test/resources/stubs/System.Xml.XDocument/4.3.0/System.Xml.XDocument.csproj
index 089c431ca07c..d594a8ea0f40 100644
--- a/csharp/ql/test/resources/stubs/System.Xml.XDocument/4.3.0/System.Xml.XDocument.csproj
+++ b/csharp/ql/test/resources/stubs/System.Xml.XDocument/4.3.0/System.Xml.XDocument.csproj
@@ -1,6 +1,6 @@
- net8.0
+ net9.0
true
bin\
false
diff --git a/csharp/ql/test/resources/stubs/System.Xml.XmlDocument/4.3.0/System.Xml.XmlDocument.csproj b/csharp/ql/test/resources/stubs/System.Xml.XmlDocument/4.3.0/System.Xml.XmlDocument.csproj
index 39ff4e0fa12b..bc19ef9507fd 100644
--- a/csharp/ql/test/resources/stubs/System.Xml.XmlDocument/4.3.0/System.Xml.XmlDocument.csproj
+++ b/csharp/ql/test/resources/stubs/System.Xml.XmlDocument/4.3.0/System.Xml.XmlDocument.csproj
@@ -1,6 +1,6 @@
- net8.0
+ net9.0
true
bin\
false
diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.App.csproj b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.App.csproj
index 77d84a43bbf0..adf087e7314c 100644
--- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.App.csproj
+++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.App.csproj
@@ -1,6 +1,6 @@
- net8.0
+ net9.0
true
bin\
false
diff --git a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/Microsoft.NETCore.App.csproj b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/Microsoft.NETCore.App.csproj
index 65a95d1b8b0a..396498c82614 100644
--- a/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/Microsoft.NETCore.App.csproj
+++ b/csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/Microsoft.NETCore.App.csproj
@@ -1,6 +1,6 @@
- net8.0
+ net9.0
true
bin\
false
diff --git a/csharp/ql/test/resources/stubs/runtime.debian.8-x64.runtime.native.System.Security.Cryptography.OpenSsl/4.3.0/runtime.debian.8-x64.runtime.native.System.Security.Cryptography.OpenSsl.csproj b/csharp/ql/test/resources/stubs/runtime.debian.8-x64.runtime.native.System.Security.Cryptography.OpenSsl/4.3.0/runtime.debian.8-x64.runtime.native.System.Security.Cryptography.OpenSsl.csproj
index 61622bc5296c..c7646fbae204 100644
--- a/csharp/ql/test/resources/stubs/runtime.debian.8-x64.runtime.native.System.Security.Cryptography.OpenSsl/4.3.0/runtime.debian.8-x64.runtime.native.System.Security.Cryptography.OpenSsl.csproj
+++ b/csharp/ql/test/resources/stubs/runtime.debian.8-x64.runtime.native.System.Security.Cryptography.OpenSsl/4.3.0/runtime.debian.8-x64.runtime.native.System.Security.Cryptography.OpenSsl.csproj
@@ -1,6 +1,6 @@
- net8.0
+ net9.0
true
bin\
false
diff --git a/csharp/ql/test/resources/stubs/runtime.fedora.23-x64.runtime.native.System.Security.Cryptography.OpenSsl/4.3.0/runtime.fedora.23-x64.runtime.native.System.Security.Cryptography.OpenSsl.csproj b/csharp/ql/test/resources/stubs/runtime.fedora.23-x64.runtime.native.System.Security.Cryptography.OpenSsl/4.3.0/runtime.fedora.23-x64.runtime.native.System.Security.Cryptography.OpenSsl.csproj
index 61622bc5296c..c7646fbae204 100644
--- a/csharp/ql/test/resources/stubs/runtime.fedora.23-x64.runtime.native.System.Security.Cryptography.OpenSsl/4.3.0/runtime.fedora.23-x64.runtime.native.System.Security.Cryptography.OpenSsl.csproj
+++ b/csharp/ql/test/resources/stubs/runtime.fedora.23-x64.runtime.native.System.Security.Cryptography.OpenSsl/4.3.0/runtime.fedora.23-x64.runtime.native.System.Security.Cryptography.OpenSsl.csproj
@@ -1,6 +1,6 @@
- net8.0
+ net9.0
true
bin\
false
diff --git a/csharp/ql/test/resources/stubs/runtime.fedora.24-x64.runtime.native.System.Security.Cryptography.OpenSsl/4.3.0/runtime.fedora.24-x64.runtime.native.System.Security.Cryptography.OpenSsl.csproj b/csharp/ql/test/resources/stubs/runtime.fedora.24-x64.runtime.native.System.Security.Cryptography.OpenSsl/4.3.0/runtime.fedora.24-x64.runtime.native.System.Security.Cryptography.OpenSsl.csproj
index 61622bc5296c..c7646fbae204 100644
--- a/csharp/ql/test/resources/stubs/runtime.fedora.24-x64.runtime.native.System.Security.Cryptography.OpenSsl/4.3.0/runtime.fedora.24-x64.runtime.native.System.Security.Cryptography.OpenSsl.csproj
+++ b/csharp/ql/test/resources/stubs/runtime.fedora.24-x64.runtime.native.System.Security.Cryptography.OpenSsl/4.3.0/runtime.fedora.24-x64.runtime.native.System.Security.Cryptography.OpenSsl.csproj
@@ -1,6 +1,6 @@
- net8.0
+ net9.0
true
bin\
false
diff --git a/csharp/ql/test/resources/stubs/runtime.native.System.Data.SqlClient.sni/4.7.0/runtime.native.System.Data.SqlClient.sni.csproj b/csharp/ql/test/resources/stubs/runtime.native.System.Data.SqlClient.sni/4.7.0/runtime.native.System.Data.SqlClient.sni.csproj
index 7df8df7fe388..db0fe00833ee 100644
--- a/csharp/ql/test/resources/stubs/runtime.native.System.Data.SqlClient.sni/4.7.0/runtime.native.System.Data.SqlClient.sni.csproj
+++ b/csharp/ql/test/resources/stubs/runtime.native.System.Data.SqlClient.sni/4.7.0/runtime.native.System.Data.SqlClient.sni.csproj
@@ -1,6 +1,6 @@
- net8.0
+ net9.0
true
bin\
false
diff --git a/csharp/ql/test/resources/stubs/runtime.native.System.IO.Compression/4.3.0/runtime.native.System.IO.Compression.csproj b/csharp/ql/test/resources/stubs/runtime.native.System.IO.Compression/4.3.0/runtime.native.System.IO.Compression.csproj
index 2753de6e2e9e..02dc0eedbee0 100644
--- a/csharp/ql/test/resources/stubs/runtime.native.System.IO.Compression/4.3.0/runtime.native.System.IO.Compression.csproj
+++ b/csharp/ql/test/resources/stubs/runtime.native.System.IO.Compression/4.3.0/runtime.native.System.IO.Compression.csproj
@@ -1,6 +1,6 @@
- net8.0
+ net9.0
true
bin\
false
diff --git a/csharp/ql/test/resources/stubs/runtime.native.System.Net.Http/4.3.0/runtime.native.System.Net.Http.csproj b/csharp/ql/test/resources/stubs/runtime.native.System.Net.Http/4.3.0/runtime.native.System.Net.Http.csproj
index 2753de6e2e9e..02dc0eedbee0 100644
--- a/csharp/ql/test/resources/stubs/runtime.native.System.Net.Http/4.3.0/runtime.native.System.Net.Http.csproj
+++ b/csharp/ql/test/resources/stubs/runtime.native.System.Net.Http/4.3.0/runtime.native.System.Net.Http.csproj
@@ -1,6 +1,6 @@