diff --git a/.config/dotnet-tools.json b/.config/dotnet-tools.json
index da1ab4d45d2e7c..3c51ebbd431dd4 100644
--- a/.config/dotnet-tools.json
+++ b/.config/dotnet-tools.json
@@ -27,7 +27,7 @@
]
},
"microsoft.dotnet.helix.jobmonitor": {
- "version": "12.0.0-beta.26528.120",
+ "version": "12.0.0-beta.26561.116",
"commands": [
"dotnet-helix-job-monitor"
]
diff --git a/Directory.Build.props b/Directory.Build.props
index 6bb4c9a712690a..4a1f68c6f73f6a 100644
--- a/Directory.Build.props
+++ b/Directory.Build.props
@@ -91,13 +91,12 @@
$(NetCoreAppMinimum)
- 11.0
- $([MSBuild]::GetTargetFrameworkVersion('$(BundledNETCoreAppTargetFramework)'))
- net$(NetCoreAppToolCurrentVersion)
+ $([MSBuild]::GetTargetFrameworkVersion('$(BundledNETCoreAppTargetFramework)'))
+ $(BundledNETCoreAppTargetFramework)
$(NetCoreAppCurrentIdentifier),Version=v$(NetCoreAppToolCurrentVersion)
- 11.0
+ $([MSBuild]::GetTargetFrameworkVersion('$(BundledNETCoreAppTargetFramework)'))
net$(AspNetCoreAppCurrentVersion)
diff --git a/eng/Subsets.props b/eng/Subsets.props
index b746b13c218d51..4c4fde57065997 100644
--- a/eng/Subsets.props
+++ b/eng/Subsets.props
@@ -79,7 +79,7 @@
clr.nativeaotruntime+clr.nativeaotlibs+libs+packs
clr.nativeaotruntime+clr.nativeaotlibs+clr+libs+host+packs
- clr+libs+tools+host+packs
+ clr+libs+tools+host+packs
clr+libs+tools+host+packs
mono+packs
@@ -118,7 +118,7 @@
clr.native+clr.corelib+clr.tools+clr.nativecorelib+clr.packages+clr.nativeaotlibs+clr.crossarchtools
clr.native+clr.corelib+clr.tools+clr.nativecorelib+clr.packages+clr.nativeaotlibs+clr.crossarchtools
clr.native+clr.corelib+clr.tools+clr.nativecorelib+clr.packages+clr.nativeaotlibs+clr.crossarchtools
- provision.emsdk+clr.native+clr.corelib+clr.nativecorelib+clr.tools+clr.packages+clr.crossarchtools+libs.native+host.native
+ provision.emsdk+clr.native+clr.corelib+clr.nativecorelib+clr.tools+clr.packages+clr.nativeaotlibs+clr.crossarchtools+libs.native+host.native
clr.native+clr.corelib+clr.tools+clr.nativecorelib+clr.packages+clr.nativeaotlibs+clr.crossarchtools+host.native+libs.native
clr.iltools+clr.packages
@@ -602,8 +602,14 @@
-
-
+
+
- 5.14.0-1.26528.120
- 5.14.0-1.26528.120
- 5.14.0-1.26528.120
- 5.14.0-1.26528.120
- 5.14.0-1.26528.120
- 5.14.0-1.26528.120
- 12.0.100-alpha.1.26528.120
- 12.0.100-alpha.1.26528.120
- 12.0.0-beta.26528.120
- 12.0.0-beta.26528.120
- 12.0.0-beta.26528.120
- 12.0.0-beta.26528.120
- 12.0.0-beta.26528.120
- 12.0.0-beta.26528.120
- 12.0.0-beta.26528.120
- 12.0.0-beta.26528.120
- 0.11.5-preview.26528.120
- 12.0.0-beta.26528.120
- 12.0.0-beta.26528.120
- 12.0.100-alpha.1.26528.120
- 12.0.0-beta.26528.120
- 12.0.0-beta.26528.120
- 12.0.0-beta.26528.120
- 12.0.0-beta.26528.120
- 12.0.0-beta.26528.120
- 12.0.0-beta.26528.120
- 12.0.0-beta.26528.120
- 2.9.3-beta.26528.120
- 12.0.0-beta.26528.120
- 5.14.0-1.26528.120
- 12.0.0-alpha.1.26528.120
- 12.0.0-alpha.1.26528.120
- 12.0.0-alpha.1.26528.120
- 12.0.0-alpha.1.26528.120
- 8.1.0-rc.52920
- 8.1.0-rc.52920
- 8.1.0-rc.52920
- 8.1.0-rc.52920
- 12.0.0-alpha.1.26528.120
- 4.0.0-alpha.1.26528.120
- 12.0.0-alpha.1.26528.120
- 12.0.0-alpha.1.26528.120
- 12.0.0-alpha.1.26528.120
+ 5.14.0-1.26561.116
+ 5.14.0-1.26561.116
+ 5.14.0-1.26561.116
+ 5.14.0-1.26561.116
+ 5.14.0-1.26561.116
+ 12.0.100-alpha.1.26561.116
+ 5.14.0-1.26561.116
+ 12.0.100-alpha.1.26561.116
+ 12.0.0-beta.26561.116
+ 12.0.0-beta.26561.116
+ 12.0.0-beta.26561.116
+ 12.0.0-beta.26561.116
+ 12.0.0-beta.26561.116
+ 12.0.0-beta.26561.116
+ 12.0.0-beta.26561.116
+ 12.0.0-beta.26561.116
+ 0.11.5-preview.26561.116
+ 12.0.0-beta.26561.116
+ 12.0.0-beta.26561.116
+ 12.0.100-alpha.1.26561.116
+ 12.0.0-beta.26561.116
+ 12.0.0-beta.26561.116
+ 12.0.0-beta.26561.116
+ 12.0.0-beta.26561.116
+ 12.0.0-beta.26561.116
+ 12.0.0-beta.26561.116
+ 12.0.0-beta.26561.116
+ 2.9.3-beta.26561.116
+ 12.0.0-beta.26561.116
+ 5.14.0-1.26561.116
+ 12.0.0-alpha.1.26561.116
+ 12.0.0-alpha.1.26561.116
+ 12.0.0-alpha.1.26561.116
+ 12.0.0-alpha.1.26561.116
+ 8.2.0-rc.56216
+ 8.2.0-rc.56216
+ 8.2.0-rc.56216
+ 8.2.0-rc.56216
+ 12.0.0-alpha.1.26561.116
+ 4.0.0-alpha.1.26561.116
+ 12.0.0-alpha.1.26561.116
+ 12.0.0-alpha.1.26561.116
+ 12.0.0-alpha.1.26561.116
11.0.0-alpha.1.26418.1
- 23.1.0-alpha.1.26519.1
- 23.1.0-alpha.1.26519.1
- 23.1.0-alpha.1.26519.1
- 23.1.0-alpha.1.26519.1
- 23.1.0-alpha.1.26519.1
- 23.1.0-alpha.1.26519.1
- 23.1.0-alpha.1.26519.1
- 23.1.0-alpha.1.26519.1
- 23.1.0-alpha.1.26519.1
- 23.1.0-alpha.1.26519.1
- 23.1.0-alpha.1.26519.1
- 23.1.0-alpha.1.26519.1
- 23.1.0-alpha.1.26519.1
- 23.1.0-alpha.1.26519.1
- 23.1.0-alpha.1.26519.1
- 23.1.0-alpha.1.26519.1
- 23.1.0-alpha.1.26519.1
- 23.1.0-alpha.1.26519.1
- 23.1.0-alpha.1.26519.1
- 23.1.0-alpha.1.26519.1
- 23.1.0-alpha.1.26519.1
- 23.1.0-alpha.1.26519.1
- 23.1.0-alpha.1.26519.1
- 23.1.0-alpha.1.26519.1
- 23.1.0-alpha.1.26519.1
- 23.1.0-alpha.1.26519.1
- 23.1.0-alpha.1.26519.1
- 23.1.0-alpha.1.26519.1
- 23.1.0-alpha.1.26519.1
+ 23.1.0-alpha.1.26552.1
+ 23.1.0-alpha.1.26552.1
+ 23.1.0-alpha.1.26552.1
+ 23.1.0-alpha.1.26552.1
+ 23.1.0-alpha.1.26552.1
+ 23.1.0-alpha.1.26552.1
+ 23.1.0-alpha.1.26552.1
+ 23.1.0-alpha.1.26552.1
+ 23.1.0-alpha.1.26552.1
+ 23.1.0-alpha.1.26552.1
+ 23.1.0-alpha.1.26552.1
+ 23.1.0-alpha.1.26552.1
+ 23.1.0-alpha.1.26552.1
+ 23.1.0-alpha.1.26552.1
+ 23.1.0-alpha.1.26552.1
+ 23.1.0-alpha.1.26552.1
+ 23.1.0-alpha.1.26552.1
+ 23.1.0-alpha.1.26552.1
+ 23.1.0-alpha.1.26552.1
+ 23.1.0-alpha.1.26552.1
+ 23.1.0-alpha.1.26552.1
+ 23.1.0-alpha.1.26552.1
+ 23.1.0-alpha.1.26552.1
+ 23.1.0-alpha.1.26552.1
+ 23.1.0-alpha.1.26552.1
+ 23.1.0-alpha.1.26552.1
+ 23.1.0-alpha.1.26552.1
+ 23.1.0-alpha.1.26552.1
+ 23.1.0-alpha.1.26552.1
- 12.0.0-alpha.1.26522.1
- 12.0.0-alpha.1.26522.1
- 12.0.0-alpha.1.26522.1
- 12.0.0-alpha.1.26522.1
- 12.0.0-alpha.1.26522.1
- 12.0.0-alpha.1.26522.1
- 12.0.0-alpha.1.26522.1
- 12.0.0-alpha.1.26522.1
+ 12.0.0-alpha.1.26555.1
+ 12.0.0-alpha.1.26555.1
+ 12.0.0-alpha.1.26555.1
+ 12.0.0-alpha.1.26555.1
+ 12.0.0-alpha.1.26555.1
+ 12.0.0-alpha.1.26555.1
+ 12.0.0-alpha.1.26555.1
+ 12.0.0-alpha.1.26555.1
1.0.0-prerelease.26502.1
1.0.0-prerelease.26451.1
@@ -127,7 +127,9 @@ This file should be imported by eng/Versions.props
$(MicrosoftCodeAnalysisAnalyzersPackageVersion)
$(MicrosoftCodeAnalysisBannedApiAnalyzersPackageVersion)
$(MicrosoftCodeAnalysisCSharpPackageVersion)
+ $(MicrosoftCodeAnalysisCSharpWorkspacesPackageVersion)
$(MicrosoftCodeAnalysisNetAnalyzersPackageVersion)
+ $(MicrosoftCodeAnalysisWorkspacesMSBuildPackageVersion)
$(MicrosoftDotNetApiCompatTaskPackageVersion)
$(MicrosoftDotNetArcadeSdkPackageVersion)
$(MicrosoftDotNetBuildTasksArchivesPackageVersion)
diff --git a/eng/Version.Details.xml b/eng/Version.Details.xml
index 9abb761c7ee79c..f3d98786c45918 100644
--- a/eng/Version.Details.xml
+++ b/eng/Version.Details.xml
@@ -1,127 +1,127 @@
-
+
https://github.com/dotnet/icu
c6131fd7b7cebcef44c17f381b2fe325cb331964
-
+
https://github.com/dotnet/llvm-project
- 7be59f39e02824dc77eb30f68ce3b3d87096eba7
+ b7cbe9c6cf3ea97cc5822cf324cbcef06f54a397
-
+
https://github.com/dotnet/llvm-project
- 7be59f39e02824dc77eb30f68ce3b3d87096eba7
+ b7cbe9c6cf3ea97cc5822cf324cbcef06f54a397
-
+
https://github.com/dotnet/llvm-project
- 7be59f39e02824dc77eb30f68ce3b3d87096eba7
+ b7cbe9c6cf3ea97cc5822cf324cbcef06f54a397
-
+
https://github.com/dotnet/llvm-project
- 7be59f39e02824dc77eb30f68ce3b3d87096eba7
+ b7cbe9c6cf3ea97cc5822cf324cbcef06f54a397
-
+
https://github.com/dotnet/llvm-project
- 7be59f39e02824dc77eb30f68ce3b3d87096eba7
+ b7cbe9c6cf3ea97cc5822cf324cbcef06f54a397
-
+
https://github.com/dotnet/llvm-project
- 7be59f39e02824dc77eb30f68ce3b3d87096eba7
+ b7cbe9c6cf3ea97cc5822cf324cbcef06f54a397
-
+
https://github.com/dotnet/llvm-project
- 7be59f39e02824dc77eb30f68ce3b3d87096eba7
+ b7cbe9c6cf3ea97cc5822cf324cbcef06f54a397
-
+
https://github.com/dotnet/llvm-project
- 7be59f39e02824dc77eb30f68ce3b3d87096eba7
+ b7cbe9c6cf3ea97cc5822cf324cbcef06f54a397
-
+
https://github.com/dotnet/dotnet
- bc397b207bfe2f5dd6d6643e46003e77cd32465c
+ 60864f1c9f7bc774d1c191ef6f1630e81607cd62
-
+
https://github.com/dotnet/dotnet
- bc397b207bfe2f5dd6d6643e46003e77cd32465c
+ 60864f1c9f7bc774d1c191ef6f1630e81607cd62
-
+
https://github.com/dotnet/dotnet
- bc397b207bfe2f5dd6d6643e46003e77cd32465c
+ 60864f1c9f7bc774d1c191ef6f1630e81607cd62
-
+
https://github.com/dotnet/dotnet
- bc397b207bfe2f5dd6d6643e46003e77cd32465c
+ 60864f1c9f7bc774d1c191ef6f1630e81607cd62
-
+
https://github.com/dotnet/dotnet
- bc397b207bfe2f5dd6d6643e46003e77cd32465c
+ 60864f1c9f7bc774d1c191ef6f1630e81607cd62
-
+
https://github.com/dotnet/dotnet
- bc397b207bfe2f5dd6d6643e46003e77cd32465c
+ 60864f1c9f7bc774d1c191ef6f1630e81607cd62
-
+
https://github.com/dotnet/dotnet
- bc397b207bfe2f5dd6d6643e46003e77cd32465c
+ 60864f1c9f7bc774d1c191ef6f1630e81607cd62
-
+
https://github.com/dotnet/dotnet
- bc397b207bfe2f5dd6d6643e46003e77cd32465c
+ 60864f1c9f7bc774d1c191ef6f1630e81607cd62
-
+
https://github.com/dotnet/dotnet
- bc397b207bfe2f5dd6d6643e46003e77cd32465c
+ 60864f1c9f7bc774d1c191ef6f1630e81607cd62
-
+
https://github.com/dotnet/dotnet
- bc397b207bfe2f5dd6d6643e46003e77cd32465c
+ 60864f1c9f7bc774d1c191ef6f1630e81607cd62
-
+
https://github.com/dotnet/dotnet
- bc397b207bfe2f5dd6d6643e46003e77cd32465c
+ 60864f1c9f7bc774d1c191ef6f1630e81607cd62
-
+
https://github.com/dotnet/dotnet
- bc397b207bfe2f5dd6d6643e46003e77cd32465c
+ 60864f1c9f7bc774d1c191ef6f1630e81607cd62
-
+
https://github.com/dotnet/dotnet
- bc397b207bfe2f5dd6d6643e46003e77cd32465c
+ 60864f1c9f7bc774d1c191ef6f1630e81607cd62
-
+
https://github.com/dotnet/dotnet
- bc397b207bfe2f5dd6d6643e46003e77cd32465c
+ 60864f1c9f7bc774d1c191ef6f1630e81607cd62
-
+
https://github.com/dotnet/dotnet
- bc397b207bfe2f5dd6d6643e46003e77cd32465c
+ 60864f1c9f7bc774d1c191ef6f1630e81607cd62
-
+
https://github.com/dotnet/dotnet
- bc397b207bfe2f5dd6d6643e46003e77cd32465c
+ 60864f1c9f7bc774d1c191ef6f1630e81607cd62
-
+
https://github.com/dotnet/dotnet
- bc397b207bfe2f5dd6d6643e46003e77cd32465c
+ 60864f1c9f7bc774d1c191ef6f1630e81607cd62
-
+
https://github.com/dotnet/dotnet
- bc397b207bfe2f5dd6d6643e46003e77cd32465c
+ 60864f1c9f7bc774d1c191ef6f1630e81607cd62
-
+
https://github.com/dotnet/dotnet
- bc397b207bfe2f5dd6d6643e46003e77cd32465c
+ 60864f1c9f7bc774d1c191ef6f1630e81607cd62
-
+
https://github.com/dotnet/dotnet
- bc397b207bfe2f5dd6d6643e46003e77cd32465c
+ 60864f1c9f7bc774d1c191ef6f1630e81607cd62
-
+
https://github.com/dotnet/dotnet
- bc397b207bfe2f5dd6d6643e46003e77cd32465c
+ 60864f1c9f7bc774d1c191ef6f1630e81607cd62
https://github.com/dotnet/runtime-assets
@@ -175,117 +175,117 @@
https://github.com/dotnet/runtime-assets
13b701d371826c168b26d581351422c031089faa
-
+
https://github.com/dotnet/llvm-project
- 7be59f39e02824dc77eb30f68ce3b3d87096eba7
+ b7cbe9c6cf3ea97cc5822cf324cbcef06f54a397
-
+
https://github.com/dotnet/llvm-project
- 7be59f39e02824dc77eb30f68ce3b3d87096eba7
+ b7cbe9c6cf3ea97cc5822cf324cbcef06f54a397
-
+
https://github.com/dotnet/llvm-project
- 7be59f39e02824dc77eb30f68ce3b3d87096eba7
+ b7cbe9c6cf3ea97cc5822cf324cbcef06f54a397
-
+
https://github.com/dotnet/llvm-project
- 7be59f39e02824dc77eb30f68ce3b3d87096eba7
+ b7cbe9c6cf3ea97cc5822cf324cbcef06f54a397
-
+
https://github.com/dotnet/llvm-project
- 7be59f39e02824dc77eb30f68ce3b3d87096eba7
+ b7cbe9c6cf3ea97cc5822cf324cbcef06f54a397
-
+
https://github.com/dotnet/llvm-project
- 7be59f39e02824dc77eb30f68ce3b3d87096eba7
+ b7cbe9c6cf3ea97cc5822cf324cbcef06f54a397
-
+
https://github.com/dotnet/llvm-project
- 7be59f39e02824dc77eb30f68ce3b3d87096eba7
+ b7cbe9c6cf3ea97cc5822cf324cbcef06f54a397
-
+
https://github.com/dotnet/llvm-project
- 7be59f39e02824dc77eb30f68ce3b3d87096eba7
+ b7cbe9c6cf3ea97cc5822cf324cbcef06f54a397
-
+
https://github.com/dotnet/llvm-project
- 7be59f39e02824dc77eb30f68ce3b3d87096eba7
+ b7cbe9c6cf3ea97cc5822cf324cbcef06f54a397
-
+
https://github.com/dotnet/llvm-project
- 7be59f39e02824dc77eb30f68ce3b3d87096eba7
+ b7cbe9c6cf3ea97cc5822cf324cbcef06f54a397
-
+
https://github.com/dotnet/llvm-project
- 7be59f39e02824dc77eb30f68ce3b3d87096eba7
+ b7cbe9c6cf3ea97cc5822cf324cbcef06f54a397
-
+
https://github.com/dotnet/llvm-project
- 7be59f39e02824dc77eb30f68ce3b3d87096eba7
+ b7cbe9c6cf3ea97cc5822cf324cbcef06f54a397
-
+
https://github.com/dotnet/llvm-project
- 7be59f39e02824dc77eb30f68ce3b3d87096eba7
+ b7cbe9c6cf3ea97cc5822cf324cbcef06f54a397
-
+
https://github.com/dotnet/llvm-project
- 7be59f39e02824dc77eb30f68ce3b3d87096eba7
+ b7cbe9c6cf3ea97cc5822cf324cbcef06f54a397
-
+
https://github.com/dotnet/llvm-project
- 7be59f39e02824dc77eb30f68ce3b3d87096eba7
+ b7cbe9c6cf3ea97cc5822cf324cbcef06f54a397
-
+
https://github.com/dotnet/llvm-project
- 7be59f39e02824dc77eb30f68ce3b3d87096eba7
+ b7cbe9c6cf3ea97cc5822cf324cbcef06f54a397
-
+
https://github.com/dotnet/llvm-project
- 7be59f39e02824dc77eb30f68ce3b3d87096eba7
+ b7cbe9c6cf3ea97cc5822cf324cbcef06f54a397
-
+
https://github.com/dotnet/llvm-project
- 7be59f39e02824dc77eb30f68ce3b3d87096eba7
+ b7cbe9c6cf3ea97cc5822cf324cbcef06f54a397
-
+
https://github.com/dotnet/llvm-project
- 7be59f39e02824dc77eb30f68ce3b3d87096eba7
+ b7cbe9c6cf3ea97cc5822cf324cbcef06f54a397
-
+
https://github.com/dotnet/llvm-project
- 7be59f39e02824dc77eb30f68ce3b3d87096eba7
+ b7cbe9c6cf3ea97cc5822cf324cbcef06f54a397
-
+
https://github.com/dotnet/llvm-project
- 7be59f39e02824dc77eb30f68ce3b3d87096eba7
+ b7cbe9c6cf3ea97cc5822cf324cbcef06f54a397
-
+
https://github.com/dotnet/dotnet
- bc397b207bfe2f5dd6d6643e46003e77cd32465c
+ 60864f1c9f7bc774d1c191ef6f1630e81607cd62
-
+
https://github.com/dotnet/dotnet
- bc397b207bfe2f5dd6d6643e46003e77cd32465c
+ 60864f1c9f7bc774d1c191ef6f1630e81607cd62
-
+
https://github.com/dotnet/dotnet
- bc397b207bfe2f5dd6d6643e46003e77cd32465c
+ 60864f1c9f7bc774d1c191ef6f1630e81607cd62
-
+
https://github.com/dotnet/dotnet
- bc397b207bfe2f5dd6d6643e46003e77cd32465c
+ 60864f1c9f7bc774d1c191ef6f1630e81607cd62
-
+
https://github.com/dotnet/dotnet
- bc397b207bfe2f5dd6d6643e46003e77cd32465c
+ 60864f1c9f7bc774d1c191ef6f1630e81607cd62
-
+
https://github.com/dotnet/dotnet
- bc397b207bfe2f5dd6d6643e46003e77cd32465c
+ 60864f1c9f7bc774d1c191ef6f1630e81607cd62
-
+
https://github.com/dotnet/dotnet
- bc397b207bfe2f5dd6d6643e46003e77cd32465c
+ 60864f1c9f7bc774d1c191ef6f1630e81607cd62
https://github.com/dotnet/xharness
@@ -299,9 +299,9 @@
https://github.com/dotnet/xharness
4f2266d4c147bd8af3fe4dff129f725ddb9dce57
-
+
https://github.com/dotnet/dotnet
- bc397b207bfe2f5dd6d6643e46003e77cd32465c
+ 60864f1c9f7bc774d1c191ef6f1630e81607cd62
https://dev.azure.com/dnceng/internal/_git/dotnet-optimization
@@ -327,41 +327,41 @@
https://github.com/dotnet/runtime-assets
13b701d371826c168b26d581351422c031089faa
-
+
https://github.com/dotnet/dotnet
- bc397b207bfe2f5dd6d6643e46003e77cd32465c
+ 60864f1c9f7bc774d1c191ef6f1630e81607cd62
-
+
https://github.com/dotnet/dotnet
- bc397b207bfe2f5dd6d6643e46003e77cd32465c
+ 60864f1c9f7bc774d1c191ef6f1630e81607cd62
-
+
https://github.com/dotnet/dotnet
- bc397b207bfe2f5dd6d6643e46003e77cd32465c
+ 60864f1c9f7bc774d1c191ef6f1630e81607cd62
-
+
https://github.com/dotnet/dotnet
- bc397b207bfe2f5dd6d6643e46003e77cd32465c
+ 60864f1c9f7bc774d1c191ef6f1630e81607cd62
-
+
https://github.com/dotnet/dotnet
- bc397b207bfe2f5dd6d6643e46003e77cd32465c
+ 60864f1c9f7bc774d1c191ef6f1630e81607cd62
-
+
https://github.com/dotnet/dotnet
- bc397b207bfe2f5dd6d6643e46003e77cd32465c
+ 60864f1c9f7bc774d1c191ef6f1630e81607cd62
-
+
https://github.com/dotnet/dotnet
- bc397b207bfe2f5dd6d6643e46003e77cd32465c
+ 60864f1c9f7bc774d1c191ef6f1630e81607cd62
-
+
https://github.com/dotnet/dotnet
- bc397b207bfe2f5dd6d6643e46003e77cd32465c
+ 60864f1c9f7bc774d1c191ef6f1630e81607cd62
-
+
https://github.com/dotnet/dotnet
- bc397b207bfe2f5dd6d6643e46003e77cd32465c
+ 60864f1c9f7bc774d1c191ef6f1630e81607cd62
https://dev.azure.com/dnceng/internal/_git/dotnet-optimization
@@ -373,53 +373,53 @@
-
+
https://github.com/dotnet/dotnet
- bc397b207bfe2f5dd6d6643e46003e77cd32465c
+ 60864f1c9f7bc774d1c191ef6f1630e81607cd62
-
+
https://github.com/dotnet/dotnet
- bc397b207bfe2f5dd6d6643e46003e77cd32465c
+ 60864f1c9f7bc774d1c191ef6f1630e81607cd62
-
+
https://github.com/dotnet/dotnet
- bc397b207bfe2f5dd6d6643e46003e77cd32465c
+ 60864f1c9f7bc774d1c191ef6f1630e81607cd62
-
+
https://github.com/dotnet/dotnet
- bc397b207bfe2f5dd6d6643e46003e77cd32465c
+ 60864f1c9f7bc774d1c191ef6f1630e81607cd62
-
+
https://github.com/dotnet/node
- 87d664c58a616ca2e18d9401efeec95cdc033ef2
+ d94453aacd8c82c25af60b2bac86b15064cda30b
-
+
https://github.com/dotnet/node
- 87d664c58a616ca2e18d9401efeec95cdc033ef2
+ d94453aacd8c82c25af60b2bac86b15064cda30b
-
+
https://github.com/dotnet/node
- 87d664c58a616ca2e18d9401efeec95cdc033ef2
+ d94453aacd8c82c25af60b2bac86b15064cda30b
-
+
https://github.com/dotnet/node
- 87d664c58a616ca2e18d9401efeec95cdc033ef2
+ d94453aacd8c82c25af60b2bac86b15064cda30b
-
+
https://github.com/dotnet/node
- 87d664c58a616ca2e18d9401efeec95cdc033ef2
+ d94453aacd8c82c25af60b2bac86b15064cda30b
-
+
https://github.com/dotnet/node
- 87d664c58a616ca2e18d9401efeec95cdc033ef2
+ d94453aacd8c82c25af60b2bac86b15064cda30b
-
+
https://github.com/dotnet/node
- 87d664c58a616ca2e18d9401efeec95cdc033ef2
+ d94453aacd8c82c25af60b2bac86b15064cda30b
-
+
https://github.com/dotnet/node
- 87d664c58a616ca2e18d9401efeec95cdc033ef2
+ d94453aacd8c82c25af60b2bac86b15064cda30b
https://github.com/dotnet/runtime-assets
@@ -429,9 +429,9 @@
https://github.com/dotnet/runtime-assets
13b701d371826c168b26d581351422c031089faa
-
+
https://github.com/dotnet/dotnet
- bc397b207bfe2f5dd6d6643e46003e77cd32465c
+ 60864f1c9f7bc774d1c191ef6f1630e81607cd62
diff --git a/eng/common/core-templates/job/onelocbuild.yml b/eng/common/core-templates/job/onelocbuild.yml
index b772dc57880214..bd11c2e08cb5f0 100644
--- a/eng/common/core-templates/job/onelocbuild.yml
+++ b/eng/common/core-templates/job/onelocbuild.yml
@@ -106,7 +106,7 @@ jobs:
outputVariableName: 'GitHubAppInstallationToken'
condition: ${{ parameters.condition }}
- - task: OneLocBuild@2
+ - task: OneLocBuild@3
displayName: OneLocBuild
env:
SYSTEM_ACCESSTOKEN: $(System.AccessToken)
diff --git a/eng/common/core-templates/job/publish-build-assets.yml b/eng/common/core-templates/job/publish-build-assets.yml
index 330225ae09385a..31f76d242c76fa 100644
--- a/eng/common/core-templates/job/publish-build-assets.yml
+++ b/eng/common/core-templates/job/publish-build-assets.yml
@@ -187,10 +187,10 @@ jobs:
PromoteToChannelIds: ${{ parameters.PromoteToChannelIds }}
is1ESPipeline: ${{ parameters.is1ESPipeline }}
- # Darc is targeting 8.0, so make sure it's installed
+ # Darc is targeting 10.0, so make sure it's installed
- task: UseDotNet@2
inputs:
- version: 8.0.x
+ version: 10.0.x
- task: AzureCLI@2
displayName: Publish Using Darc
@@ -201,7 +201,7 @@ jobs:
scriptPath: $(System.DefaultWorkingDirectory)/eng/common/post-build/publish-using-darc.ps1
arguments: >
-BuildId $(BARBuildId)
- -PublishingInfraVersion 3
+ -PublishingInfraVersion ${{ parameters.publishingVersion }}
-AzdoToken '$(System.AccessToken)'
-WaitPublishingFinish true
-ArtifactsPublishingAdditionalParameters '${{ parameters.artifactsPublishingAdditionalParameters }}'
diff --git a/eng/common/core-templates/post-build/post-build.yml b/eng/common/core-templates/post-build/post-build.yml
index 6dcee6664d68e9..b1b0d17ea2d684 100644
--- a/eng/common/core-templates/post-build/post-build.yml
+++ b/eng/common/core-templates/post-build/post-build.yml
@@ -301,7 +301,7 @@ stages:
- task: UseDotNet@2
inputs:
- version: 8.0.x
+ version: 10.0.x
- task: AzureCLI@2
displayName: Publish Using Darc
@@ -312,7 +312,7 @@ stages:
scriptPath: $(System.DefaultWorkingDirectory)/eng/common/post-build/publish-using-darc.ps1
arguments: >
-BuildId $(BARBuildId)
- -PublishingInfraVersion 3
+ -PublishingInfraVersion ${{ parameters.publishingInfraVersion }}
-AzdoToken '$(System.AccessToken)'
-WaitPublishingFinish true
-RequireDefaultChannels ${{ parameters.requireDefaultChannels }}
diff --git a/eng/memorySafetyRules.targets b/eng/memorySafetyRules.targets
index 20d6bfeb388c70..3b1e5ebcaedbb7 100644
--- a/eng/memorySafetyRules.targets
+++ b/eng/memorySafetyRules.targets
@@ -1,18 +1,5 @@
-
-
- $(Features);updated-memory-safety-rules
-
-
+
+
+ 11.0.0-rc.2.26478.114
+
+
+
diff --git a/src/libraries/System.Runtime.InteropServices.JavaScript/tests/JSImportGenerator.UnitTest/UnsafeCodeGeneration.cs b/src/libraries/System.Runtime.InteropServices.JavaScript/tests/JSImportGenerator.UnitTest/UnsafeCodeGeneration.cs
index 9db029e17ac2f0..5e98867108c9f6 100644
--- a/src/libraries/System.Runtime.InteropServices.JavaScript/tests/JSImportGenerator.UnitTest/UnsafeCodeGeneration.cs
+++ b/src/libraries/System.Runtime.InteropServices.JavaScript/tests/JSImportGenerator.UnitTest/UnsafeCodeGeneration.cs
@@ -32,16 +32,13 @@ public void GeneratedOutputCompilesUnderUpdatedRules(string name, string source)
Compilation comp = TestUtils.CreateCompilation(source, allowUnsafe: true);
- // Roslyn does not expose the memory safety rules version through a public API yet, so opt in through
- // the same feature flag the compiler uses. It lives on the parse options, so every tree is re-parsed.
- var parseOptions = ((CSharpParseOptions)comp.SyntaxTrees.First().Options)
- .WithFeatures([new KeyValuePair("updated-memory-safety-rules", "")]);
- comp = comp.RemoveAllSyntaxTrees().AddSyntaxTrees(
- comp.SyntaxTrees.Select(t => CSharpSyntaxTree.ParseText(t.GetText(), parseOptions, t.FilePath)));
-
// CS9377 ("the 'unsafe' modifier does not have any effect here") sits above the default warning
// level, so it has to be raised or the assertion below could never observe it.
- comp = comp.WithOptions(((CSharpCompilationOptions)comp.Options).WithWarningLevel(9999));
+#pragma warning disable RSEXPERIMENTAL006
+ comp = comp.WithOptions(((CSharpCompilationOptions)comp.Options)
+ .WithMemorySafetyRulesVersion(MemorySafetyRulesVersion.Version2)
+ .WithWarningLevel(9999));
+#pragma warning restore RSEXPERIMENTAL006
Compilation newComp = TestUtils.RunGenerators(comp, out var generatorDiags,
new Microsoft.Interop.JavaScript.JSImportGenerator(),
diff --git a/src/libraries/System.Runtime.InteropServices/gen/Common/MemorySafetyRules.cs b/src/libraries/System.Runtime.InteropServices/gen/Common/MemorySafetyRules.cs
index b613adb4769cf3..784cb004e27ae6 100644
--- a/src/libraries/System.Runtime.InteropServices/gen/Common/MemorySafetyRules.cs
+++ b/src/libraries/System.Runtime.InteropServices/gen/Common/MemorySafetyRules.cs
@@ -22,12 +22,6 @@ namespace Microsoft.Interop
///
internal static class MemorySafetyRules
{
- ///
- /// The compiler feature flag that opts an assembly into the updated memory safety rules, mirroring
- /// Roslyn's own Feature.UpdatedMemorySafetyRules.
- ///
- internal const string UpdatedMemorySafetyRulesFeature = "updated-memory-safety-rules";
-
private static readonly SyntaxKind s_safeKeyword = SyntaxFacts.GetContextualKeywordKind("safe");
extension(SyntaxKind)
diff --git a/src/libraries/System.Runtime.InteropServices/tests/ComInterfaceGenerator.Unit.Tests/ComInterfaceGenerator.Unit.Tests.csproj b/src/libraries/System.Runtime.InteropServices/tests/ComInterfaceGenerator.Unit.Tests/ComInterfaceGenerator.Unit.Tests.csproj
index d41cb8ab349595..9ce73c44b35c9e 100644
--- a/src/libraries/System.Runtime.InteropServices/tests/ComInterfaceGenerator.Unit.Tests/ComInterfaceGenerator.Unit.Tests.csproj
+++ b/src/libraries/System.Runtime.InteropServices/tests/ComInterfaceGenerator.Unit.Tests/ComInterfaceGenerator.Unit.Tests.csproj
@@ -11,7 +11,6 @@
-
diff --git a/src/libraries/System.Runtime.InteropServices/tests/ComInterfaceGenerator.Unit.Tests/ComInterfaceGeneratorOutputShape.cs b/src/libraries/System.Runtime.InteropServices/tests/ComInterfaceGenerator.Unit.Tests/ComInterfaceGeneratorOutputShape.cs
index ae69eb88517af9..ca92c5e5cce637 100644
--- a/src/libraries/System.Runtime.InteropServices/tests/ComInterfaceGenerator.Unit.Tests/ComInterfaceGeneratorOutputShape.cs
+++ b/src/libraries/System.Runtime.InteropServices/tests/ComInterfaceGenerator.Unit.Tests/ComInterfaceGeneratorOutputShape.cs
@@ -500,11 +500,11 @@ public partial interface I {}
GeneratedSourceResult firstSource = Assert.Single(Assert.Single(driver.GetRunResult().Results).GeneratedSources);
Assert.Contains("public unsafe partial interface I", firstSource.SourceText.ToString());
- SyntaxTree tree = Assert.Single(compilation.SyntaxTrees);
- var parseOptions = ((CSharpParseOptions)tree.Options).WithFeatures(
- [new KeyValuePair("updated-memory-safety-rules", "")]);
- compilation = compilation.ReplaceSyntaxTree(tree, CSharpSyntaxTree.ParseText(source, parseOptions));
- driver = driver.WithUpdatedParseOptions(parseOptions).RunGeneratorsAndUpdateCompilation(compilation, out Compilation secondCompilation, out diagnostics);
+ var options = (CSharpCompilationOptions)compilation.Options;
+#pragma warning disable RSEXPERIMENTAL006
+ compilation = compilation.WithOptions(options.WithMemorySafetyRulesVersion(MemorySafetyRulesVersion.Version2));
+#pragma warning restore RSEXPERIMENTAL006
+ driver = driver.RunGeneratorsAndUpdateCompilation(compilation, out Compilation secondCompilation, out diagnostics);
Assert.Empty(diagnostics);
TestUtils.AssertPostSourceGeneratorCompilation(secondCompilation);
GeneratedSourceResult secondSource = Assert.Single(Assert.Single(driver.GetRunResult().Results).GeneratedSources);
diff --git a/src/libraries/System.Runtime.InteropServices/tests/ComInterfaceGenerator.Unit.Tests/UnsafeCodeGeneration.cs b/src/libraries/System.Runtime.InteropServices/tests/ComInterfaceGenerator.Unit.Tests/UnsafeCodeGeneration.cs
index 20e9502067d906..bbaccb91c4366e 100644
--- a/src/libraries/System.Runtime.InteropServices/tests/ComInterfaceGenerator.Unit.Tests/UnsafeCodeGeneration.cs
+++ b/src/libraries/System.Runtime.InteropServices/tests/ComInterfaceGenerator.Unit.Tests/UnsafeCodeGeneration.cs
@@ -1,7 +1,6 @@
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
-using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
@@ -224,16 +223,12 @@ public UpdatedRulesTest()
SolutionTransforms.Add(static (solution, projectId) =>
{
var options = (CSharpCompilationOptions)solution.GetProject(projectId)!.CompilationOptions!;
+#pragma warning disable RSEXPERIMENTAL006
+ options = options.WithMemorySafetyRulesVersion(MemorySafetyRulesVersion.Version2);
+#pragma warning restore RSEXPERIMENTAL006
return solution.WithProjectCompilationOptions(projectId, options.WithWarningLevel(9999));
});
}
-
- protected override ParseOptions CreateParseOptions()
- {
- var options = (CSharpParseOptions)base.CreateParseOptions();
- return options.WithFeatures(
- [.. options.Features, new KeyValuePair("updated-memory-safety-rules", "")]);
- }
}
}
}
diff --git a/src/libraries/System.Runtime.InteropServices/tests/LibraryImportGenerator.UnitTests/ConvertToLibraryImportFixerTests.cs b/src/libraries/System.Runtime.InteropServices/tests/LibraryImportGenerator.UnitTests/ConvertToLibraryImportFixerTests.cs
index 77394fb396b111..734d218503e512 100644
--- a/src/libraries/System.Runtime.InteropServices/tests/LibraryImportGenerator.UnitTests/ConvertToLibraryImportFixerTests.cs
+++ b/src/libraries/System.Runtime.InteropServices/tests/LibraryImportGenerator.UnitTests/ConvertToLibraryImportFixerTests.cs
@@ -1351,12 +1351,17 @@ class TestWithLanguageVersion : VerifyCS.Test
public bool UpdatedMemorySafetyRules { get; set; }
- protected override ParseOptions CreateParseOptions()
+ protected override ParseOptions CreateParseOptions() =>
+ ((CSharpParseOptions)base.CreateParseOptions()).WithLanguageVersion(LanguageVersion);
+
+ protected override CompilationOptions CreateCompilationOptions()
{
- var parseOptions = ((CSharpParseOptions)base.CreateParseOptions()).WithLanguageVersion(LanguageVersion);
+ var options = (CSharpCompilationOptions)base.CreateCompilationOptions();
+#pragma warning disable RSEXPERIMENTAL006
return UpdatedMemorySafetyRules
- ? parseOptions.WithFeatures([.. parseOptions.Features, new KeyValuePair(Microsoft.Interop.MemorySafetyRules.UpdatedMemorySafetyRulesFeature, "")])
- : parseOptions;
+ ? options.WithMemorySafetyRulesVersion(MemorySafetyRulesVersion.Version2)
+ : options;
+#pragma warning restore RSEXPERIMENTAL006
}
}
}
diff --git a/src/libraries/System.Runtime.InteropServices/tests/LibraryImportGenerator.UnitTests/LibraryImportGenerator.Unit.Tests.csproj b/src/libraries/System.Runtime.InteropServices/tests/LibraryImportGenerator.UnitTests/LibraryImportGenerator.Unit.Tests.csproj
index 9d6f9c15d947be..3f54e6c7dfb833 100644
--- a/src/libraries/System.Runtime.InteropServices/tests/LibraryImportGenerator.UnitTests/LibraryImportGenerator.Unit.Tests.csproj
+++ b/src/libraries/System.Runtime.InteropServices/tests/LibraryImportGenerator.UnitTests/LibraryImportGenerator.Unit.Tests.csproj
@@ -15,7 +15,6 @@
-
diff --git a/src/libraries/System.Runtime.InteropServices/tests/LibraryImportGenerator.UnitTests/UnsafeCodeGeneration.cs b/src/libraries/System.Runtime.InteropServices/tests/LibraryImportGenerator.UnitTests/UnsafeCodeGeneration.cs
index 89b5197f1069b2..f70f9f04f88a35 100644
--- a/src/libraries/System.Runtime.InteropServices/tests/LibraryImportGenerator.UnitTests/UnsafeCodeGeneration.cs
+++ b/src/libraries/System.Runtime.InteropServices/tests/LibraryImportGenerator.UnitTests/UnsafeCodeGeneration.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
using System;
-using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis;
@@ -419,13 +418,12 @@ public UpdatedMemorySafetyRulesTest(Action? verifyCompilation = nul
_verifyCompilation = verifyCompilation;
}
- protected override ParseOptions CreateParseOptions()
+ protected override CompilationOptions CreateCompilationOptions()
{
- // Roslyn does not expose the memory safety rules version through a public API yet, so opt in
- // through the same feature flag the compiler uses.
- var parseOptions = (CSharpParseOptions)base.CreateParseOptions();
- return parseOptions.WithFeatures(
- [.. parseOptions.Features, new KeyValuePair(MemorySafetyRules.UpdatedMemorySafetyRulesFeature, "")]);
+#pragma warning disable RSEXPERIMENTAL006
+ return ((CSharpCompilationOptions)base.CreateCompilationOptions())
+ .WithMemorySafetyRulesVersion(MemorySafetyRulesVersion.Version2);
+#pragma warning restore RSEXPERIMENTAL006
}
protected override void VerifyFinalCompilation(Compilation compilation) => _verifyCompilation?.Invoke(compilation);
@@ -445,11 +443,12 @@ public DownlevelUpdatedMemorySafetyRulesTest()
{
}
- protected override ParseOptions CreateParseOptions()
+ protected override CompilationOptions CreateCompilationOptions()
{
- var parseOptions = (CSharpParseOptions)base.CreateParseOptions();
- return parseOptions.WithFeatures(
- [.. parseOptions.Features, new KeyValuePair(MemorySafetyRules.UpdatedMemorySafetyRulesFeature, "")]);
+#pragma warning disable RSEXPERIMENTAL006
+ return ((CSharpCompilationOptions)base.CreateCompilationOptions())
+ .WithMemorySafetyRulesVersion(MemorySafetyRulesVersion.Version2);
+#pragma warning restore RSEXPERIMENTAL006
}
}
}
diff --git a/src/libraries/System.Security.Cryptography.Pkcs/ref/System.Security.Cryptography.Pkcs.csproj b/src/libraries/System.Security.Cryptography.Pkcs/ref/System.Security.Cryptography.Pkcs.csproj
index d042e9d4d20dde..183bd99f93a8c5 100644
--- a/src/libraries/System.Security.Cryptography.Pkcs/ref/System.Security.Cryptography.Pkcs.csproj
+++ b/src/libraries/System.Security.Cryptography.Pkcs/ref/System.Security.Cryptography.Pkcs.csproj
@@ -3,6 +3,14 @@
$(NetCoreAppCurrent);$(NetCoreAppPrevious);$(NetCoreAppMinimum);netstandard2.1;netstandard2.0;$(NetFrameworkMinimum)
+
+
+
+
+ 11.0.0-rc.2.26478.114
+
+
+
diff --git a/src/libraries/System.Security.Cryptography.Pkcs/src/System.Security.Cryptography.Pkcs.csproj b/src/libraries/System.Security.Cryptography.Pkcs/src/System.Security.Cryptography.Pkcs.csproj
index b45323d15b8092..68503f715aecc8 100644
--- a/src/libraries/System.Security.Cryptography.Pkcs/src/System.Security.Cryptography.Pkcs.csproj
+++ b/src/libraries/System.Security.Cryptography.Pkcs/src/System.Security.Cryptography.Pkcs.csproj
@@ -18,6 +18,14 @@ System.Security.Cryptography.Pkcs.EnvelopedCms
false
+
+
+
+
+ 11.0.0-rc.2.26478.114
+
+
+
true
diff --git a/src/tests/Loader/classloader/MixedMode/Directory.Build.props b/src/tests/Loader/classloader/MixedMode/Directory.Build.props
index 1fd8ca5acf3b56..d7db7642b74d7d 100644
--- a/src/tests/Loader/classloader/MixedMode/Directory.Build.props
+++ b/src/tests/Loader/classloader/MixedMode/Directory.Build.props
@@ -2,6 +2,8 @@
true
+
+ true
true
false
diff --git a/src/tests/Loader/classloader/MixedMode/MixedMode.cs b/src/tests/Loader/classloader/MixedMode/MixedMode.cs
index 3b087b8dd24bca..75e61ff143defe 100644
--- a/src/tests/Loader/classloader/MixedMode/MixedMode.cs
+++ b/src/tests/Loader/classloader/MixedMode/MixedMode.cs
@@ -10,12 +10,18 @@
public class MixedModeTests
{
public static bool IsX86OrX64 => RuntimeInformation.ProcessArchitecture is Architecture.X86 or Architecture.X64;
+ public static bool IsArm64 => RuntimeInformation.ProcessArchitecture is Architecture.Arm64;
// ILASM has no ARM64 native export stub.
- [ConditionalTheory(nameof(IsX86OrX64))]
- [InlineData(false)]
- [InlineData(true)]
- public static unsafe void FixupTables(bool autoExports)
+ [ConditionalFact(nameof(IsX86OrX64))]
+ [ActiveIssue("https://github.com/dotnet/runtime/issues/137448")]
+ public static void AutoExports() => FixupTables(autoExports: true);
+
+ [ConditionalFact(nameof(IsX86OrX64))]
+ [ActiveIssue("https://github.com/dotnet/runtime/issues/137424")]
+ public static void VTableFixups() => FixupTables(autoExports: false);
+
+ private static unsafe void FixupTables(bool autoExports)
{
Assembly assembly = LoadAssembly(autoExports ? "AutoExports" : "VTableFixups");
nint module = Marshal.GetHINSTANCE(assembly.ManifestModule);
@@ -48,6 +54,7 @@ public static unsafe void FixupTables(bool autoExports)
[Theory]
[InlineData("DataPointers")]
[InlineData("ExecutableData")]
+ [ActiveIssue("https://github.com/dotnet/runtime/issues/137449", typeof(MixedModeTests), nameof(IsArm64))]
public static void Data(string name)
{
Type type = LoadAssembly(name).GetType(name, throwOnError: true)!;
diff --git a/src/tests/Loader/classloader/MixedMode/MixedMode.csproj b/src/tests/Loader/classloader/MixedMode/MixedMode.csproj
index 7c994d6650e3af..56c6a7cbeed943 100644
--- a/src/tests/Loader/classloader/MixedMode/MixedMode.csproj
+++ b/src/tests/Loader/classloader/MixedMode/MixedMode.csproj
@@ -11,5 +11,7 @@
+
+
diff --git a/src/tools/illink/test/ILLink.RoslynAnalyzer.Tests/UnsafeContextCodeFixTests.cs b/src/tools/illink/test/ILLink.RoslynAnalyzer.Tests/UnsafeContextCodeFixTests.cs
index 7f0b519b4bf741..3022b3cc4af60e 100644
--- a/src/tools/illink/test/ILLink.RoslynAnalyzer.Tests/UnsafeContextCodeFixTests.cs
+++ b/src/tools/illink/test/ILLink.RoslynAnalyzer.Tests/UnsafeContextCodeFixTests.cs
@@ -46,10 +46,14 @@ private static Solution SetOptions(Solution solution, ProjectId projectId, bool
{
var project = solution.GetProject(projectId)!;
var parseOptions = ((CSharpParseOptions)project.ParseOptions!).WithLanguageVersion(LanguageVersion.Preview);
+ var compilationOptions = ((CSharpCompilationOptions)project.CompilationOptions!).WithAllowUnsafe(true);
if (updatedMemorySafetyRules)
- parseOptions = parseOptions.WithFeatures([.. parseOptions.Features, new("updated-memory-safety-rules", "")]);
+ {
+#pragma warning disable RSEXPERIMENTAL006
+ compilationOptions = compilationOptions.WithMemorySafetyRulesVersion(MemorySafetyRulesVersion.Version2);
+#pragma warning restore RSEXPERIMENTAL006
+ }
- var compilationOptions = ((CSharpCompilationOptions)project.CompilationOptions!).WithAllowUnsafe(true);
return solution
.WithProjectParseOptions(projectId, parseOptions)
.WithProjectCompilationOptions(projectId, compilationOptions);
diff --git a/src/tools/illink/test/ILLink.RoslynAnalyzer.Tests/UnsafeMigrationTestHelpers.cs b/src/tools/illink/test/ILLink.RoslynAnalyzer.Tests/UnsafeMigrationTestHelpers.cs
index 6ee2feead13919..97f8d5a8dbfd22 100644
--- a/src/tools/illink/test/ILLink.RoslynAnalyzer.Tests/UnsafeMigrationTestHelpers.cs
+++ b/src/tools/illink/test/ILLink.RoslynAnalyzer.Tests/UnsafeMigrationTestHelpers.cs
@@ -73,13 +73,14 @@ internal static Solution SetOptions(Solution solution, ProjectId projectId, bool
var project = solution.GetProject(projectId)!;
var parseOptions = (CSharpParseOptions)project.ParseOptions!;
parseOptions = parseOptions.WithLanguageVersion(LanguageVersion.Preview);
+ var compilationOptions = (CSharpCompilationOptions)project.CompilationOptions!;
if (updatedMemorySafetyRules)
{
- parseOptions = parseOptions
- .WithFeatures([.. parseOptions.Features, new("updated-memory-safety-rules", "")]);
+#pragma warning disable RSEXPERIMENTAL006
+ compilationOptions = compilationOptions.WithMemorySafetyRulesVersion(MemorySafetyRulesVersion.Version2);
+#pragma warning restore RSEXPERIMENTAL006
}
- var compilationOptions = (CSharpCompilationOptions)project.CompilationOptions!;
// CS9377 is emitted at a warning level above the test framework's default.
var diagnosticOptions = compilationOptions.SpecificDiagnosticOptions
.SetItems(CSharpVerifierHelper.NullableWarnings)