From 4fe34edb244a0023b00ee27912c2a1d3487b052b Mon Sep 17 00:00:00 2001 From: Ilona Tomkowicz <32700855+ilonatommy@users.noreply.github.com> Date: Mon, 13 Oct 2025 22:39:44 +0200 Subject: [PATCH 01/33] [release/9.0] Stop testing with nodejs (#120193) * Backport all changes from https://github.com/dotnet/runtime/pull/108582. * Fix unexpected token. --- .../runtime-extra-platforms-wasm.yml | 29 -------- eng/pipelines/runtime.yml | 1 - eng/testing/WasmRunnerTemplate.cmd | 12 +--- eng/testing/WasmRunnerTemplate.sh | 17 ++--- eng/testing/tests.browser.targets | 9 +-- .../LocalEchoServer.helix.targets | 3 +- .../Net/Prerequisites/LocalEchoServer.props | 11 --- ...System.IO.Compression.ZipFile.Tests.csproj | 2 +- .../tests/System.IO.Compression.Tests.csproj | 2 +- .../System.Net.Http.Functional.Tests.csproj | 2 +- .../System.Net.WebSockets.Client.Tests.csproj | 2 +- .../tests/System.Private.Xml.Tests.csproj | 2 +- ...ization.Calendars.Hybrid.WASM.Tests.csproj | 2 +- ...tem.Globalization.Hybrid.WASM.Tests.csproj | 2 +- src/libraries/sendtohelix-browser.targets | 17 ++--- .../wasm/Wasm.Build.Tests/BuildTestBase.cs | 1 - .../wasm/Wasm.Build.Tests/Common/RunHost.cs | 3 +- .../HostRunner/NodeJSHostRunner.cs | 15 ---- .../Wasm.Build.Tests/MainWithArgsTests.cs | 8 --- src/mono/wasm/features.md | 30 +------- .../wasm/testassets/Blazor_net50/App.razor | 10 --- .../Blazor_net50/Blazor_net50.csproj | 13 ---- .../Blazor_net50/Pages/Counter.razor | 16 ----- .../Blazor_net50/Pages/FetchData.razor | 55 --------------- .../testassets/Blazor_net50/Pages/Index.razor | 7 -- .../wasm/testassets/Blazor_net50/Program.cs | 25 ------- .../Blazor_net50/Shared/MainLayout.razor | 17 ----- .../Blazor_net50/Shared/MainLayout.razor.css | 70 ------------------- .../Blazor_net50/Shared/NavMenu.razor | 37 ---------- .../Blazor_net50/Shared/NavMenu.razor.css | 62 ---------------- .../Blazor_net50/Shared/SurveyPrompt.razor | 16 ----- .../testassets/Blazor_net50/_Imports.razor | 10 --- 32 files changed, 21 insertions(+), 487 deletions(-) delete mode 100644 src/mono/wasm/Wasm.Build.Tests/HostRunner/NodeJSHostRunner.cs delete mode 100644 src/mono/wasm/testassets/Blazor_net50/App.razor delete mode 100644 src/mono/wasm/testassets/Blazor_net50/Blazor_net50.csproj delete mode 100644 src/mono/wasm/testassets/Blazor_net50/Pages/Counter.razor delete mode 100644 src/mono/wasm/testassets/Blazor_net50/Pages/FetchData.razor delete mode 100644 src/mono/wasm/testassets/Blazor_net50/Pages/Index.razor delete mode 100644 src/mono/wasm/testassets/Blazor_net50/Program.cs delete mode 100644 src/mono/wasm/testassets/Blazor_net50/Shared/MainLayout.razor delete mode 100644 src/mono/wasm/testassets/Blazor_net50/Shared/MainLayout.razor.css delete mode 100644 src/mono/wasm/testassets/Blazor_net50/Shared/NavMenu.razor delete mode 100644 src/mono/wasm/testassets/Blazor_net50/Shared/NavMenu.razor.css delete mode 100644 src/mono/wasm/testassets/Blazor_net50/Shared/SurveyPrompt.razor delete mode 100644 src/mono/wasm/testassets/Blazor_net50/_Imports.razor diff --git a/eng/pipelines/extra-platforms/runtime-extra-platforms-wasm.yml b/eng/pipelines/extra-platforms/runtime-extra-platforms-wasm.yml index ea18dd02459c90..259982aff35451 100644 --- a/eng/pipelines/extra-platforms/runtime-extra-platforms-wasm.yml +++ b/eng/pipelines/extra-platforms/runtime-extra-platforms-wasm.yml @@ -92,33 +92,6 @@ jobs: - WasmTestOnV8 - WasmTestOnChrome - # this only runs on the extra pipeline - - template: /eng/pipelines/common/templates/wasm-library-tests.yml - parameters: - platforms: - - browser_wasm - nameSuffix: _NodeJs - extraBuildArgs: /p:AotHostArchitecture=x64 /p:AotHostOS=$(_hostedOS) - isExtraPlatformsBuild: ${{ parameters.isExtraPlatformsBuild }} - isWasmOnlyBuild: ${{ parameters.isWasmOnlyBuild }} - alwaysRun: ${{ parameters.isWasmOnlyBuild }} - scenarios: - - WasmTestOnNodeJS - - # Library tests - Windows - this only runs on the extra pipeline - - template: /eng/pipelines/common/templates/wasm-library-tests.yml - parameters: - platforms: - - browser_wasm_win - nameSuffix: _NodeJs - extraBuildArgs: /p:AotHostArchitecture=x64 /p:AotHostOS=$(_hostedOS) - # Don't run for rolling builds, as this is covered - isExtraPlatformsBuild: ${{ parameters.isExtraPlatformsBuild }} - isWasmOnlyBuild: ${{ parameters.isWasmOnlyBuild }} - alwaysRun: ${{ parameters.isWasmOnlyBuild }} - scenarios: - - WasmTestOnNodeJS - # EAT Library tests - only run on linux - template: /eng/pipelines/common/templates/wasm-library-aot-tests.yml parameters: @@ -201,7 +174,6 @@ jobs: scenarios: - WasmTestOnChrome - WasmTestOnFirefox - - WasmTestOnNodeJS # # Hybrid Globalization AOT tests # # ActiveIssue: https://github.com/dotnet/runtime/issues/51746 @@ -218,7 +190,6 @@ jobs: # alwaysRun: true # scenarios: # - WasmTestOnChrome - # - WasmTestOnNodeJS - ${{ if and(ne(parameters.isRollingBuild, true), ne(parameters.excludeNonLibTests, true), ne(parameters.debuggerTestsOnly, true)) }}: # Builds only diff --git a/eng/pipelines/runtime.yml b/eng/pipelines/runtime.yml index 8f6e4ab408dd08..4f5a71dcd39c10 100644 --- a/eng/pipelines/runtime.yml +++ b/eng/pipelines/runtime.yml @@ -851,7 +851,6 @@ extends: # scenarios: # - WasmTestOnChrome # - WasmTestOnFirefox - # #- WasmTestOnNodeJS - this is not supported yet, https://github.com/dotnet/runtime/issues/85592 # EAT Library tests - only run on linux - template: /eng/pipelines/common/templates/wasm-library-aot-tests.yml diff --git a/eng/testing/WasmRunnerTemplate.cmd b/eng/testing/WasmRunnerTemplate.cmd index e043ce7a34e9f5..d798a316019b6e 100644 --- a/eng/testing/WasmRunnerTemplate.cmd +++ b/eng/testing/WasmRunnerTemplate.cmd @@ -40,11 +40,7 @@ if [%XHARNESS_COMMAND%] == [] ( if /I [%XHARNESS_COMMAND%] == [test] ( if [%JS_ENGINE%] == [] ( - if /I [%SCENARIO%] == [WasmTestOnNodeJS] ( - set "JS_ENGINE=--engine^=NodeJS" - ) else ( - set "JS_ENGINE=--engine^=V8" - ) + set "JS_ENGINE=--engine^=V8" ) if [%MAIN_JS%] == [] ( set "MAIN_JS=--js-file^=test-main.js" @@ -52,12 +48,6 @@ if /I [%XHARNESS_COMMAND%] == [test] ( if [%JS_ENGINE_ARGS%] == [] ( set "JS_ENGINE_ARGS=--engine-arg^=--stack-trace-limit^=1000" - if /I NOT [%SCENARIO%] == [WasmTestOnNodeJS] ( - set "JS_ENGINE_ARGS=%JS_ENGINE_ARGS% --engine-arg^=--module" - ) - if /I [%SCENARIO%] == [WasmTestOnNodeJS] ( - set "JS_ENGINE_ARGS=%JS_ENGINE_ARGS% --engine-arg^=--experimental-wasm-eh" - ) ) ) else ( if /I [%SCENARIO%] == [WasmTestOnChrome] ( diff --git a/eng/testing/WasmRunnerTemplate.sh b/eng/testing/WasmRunnerTemplate.sh index 6cf4dc11d4beae..4265d508b18a0a 100644 --- a/eng/testing/WasmRunnerTemplate.sh +++ b/eng/testing/WasmRunnerTemplate.sh @@ -42,22 +42,13 @@ if [[ "$XHARNESS_COMMAND" == "test" ]]; then if [[ -z "$JS_ENGINE_ARGS" ]]; then JS_ENGINE_ARGS="--engine-arg=--stack-trace-limit=1000" - if [[ "$SCENARIO" != "WasmTestOnNodeJS" && "$SCENARIO" != "wasmtestonnodejs" ]]; then - JS_ENGINE_ARGS="$JS_ENGINE_ARGS --engine-arg=--module" - fi - if [[ "$SCENARIO" == "WasmTestOnNodeJS" || "$SCENARIO" == "wasmtestonnodejs" ]]; then - JS_ENGINE_ARGS="$JS_ENGINE_ARGS --engine-arg=--experimental-wasm-eh" - fi + JS_ENGINE_ARGS="$JS_ENGINE_ARGS --engine-arg=--module" fi if [[ -z "$JS_ENGINE" ]]; then - if [[ "$SCENARIO" == "WasmTestOnNodeJS" || "$SCENARIO" == "wasmtestonnodejs" ]]; then - JS_ENGINE="--engine=NodeJS" - else - JS_ENGINE="--engine=V8" - if [[ -n "$V8_PATH_FOR_TESTS" ]]; then - JS_ENGINE_ARGS="$JS_ENGINE_ARGS --js-engine-path=$V8_PATH_FOR_TESTS" - fi + JS_ENGINE="--engine=V8" + if [[ -n "$V8_PATH_FOR_TESTS" ]]; then + JS_ENGINE_ARGS="$JS_ENGINE_ARGS --js-engine-path=$V8_PATH_FOR_TESTS" fi fi else diff --git a/eng/testing/tests.browser.targets b/eng/testing/tests.browser.targets index 8ece2d7b4b024b..a3406b78f43686 100644 --- a/eng/testing/tests.browser.targets +++ b/eng/testing/tests.browser.targets @@ -245,24 +245,17 @@ + Text="Only supported scenarios are WasmTestOnV8, WasmTestOnChrome, WasmTestOnFirefox, WasmDebuggerTests and BuildWasmApps at the moment. It was $(Scenario)." /> - - - - - - diff --git a/src/libraries/Common/tests/System/Net/Prerequisites/LocalEchoServer.helix.targets b/src/libraries/Common/tests/System/Net/Prerequisites/LocalEchoServer.helix.targets index 9db6642a48fedd..a3b4aee8ddcafc 100644 --- a/src/libraries/Common/tests/System/Net/Prerequisites/LocalEchoServer.helix.targets +++ b/src/libraries/Common/tests/System/Net/Prerequisites/LocalEchoServer.helix.targets @@ -2,8 +2,7 @@ + '$(Scenario)' == 'WasmTestOnFirefox')"> $(HelixExtensionTargets);_AddMiddlewarePayload $([MSBuild]::NormalizeDirectory('$(ArtifactsDir)', 'bin', 'NetCoreServer', '$(Configuration)', '$(AspNetCoreAppCurrent)')) diff --git a/src/libraries/Common/tests/System/Net/Prerequisites/LocalEchoServer.props b/src/libraries/Common/tests/System/Net/Prerequisites/LocalEchoServer.props index fe97a98899d197..2c93f4f63ff424 100644 --- a/src/libraries/Common/tests/System/Net/Prerequisites/LocalEchoServer.props +++ b/src/libraries/Common/tests/System/Net/Prerequisites/LocalEchoServer.props @@ -36,15 +36,4 @@ - - - - - - - - - - - diff --git a/src/libraries/System.IO.Compression.ZipFile/tests/System.IO.Compression.ZipFile.Tests.csproj b/src/libraries/System.IO.Compression.ZipFile/tests/System.IO.Compression.ZipFile.Tests.csproj index 507e4d5a0fa34e..97f0b31f599637 100644 --- a/src/libraries/System.IO.Compression.ZipFile/tests/System.IO.Compression.ZipFile.Tests.csproj +++ b/src/libraries/System.IO.Compression.ZipFile/tests/System.IO.Compression.ZipFile.Tests.csproj @@ -8,7 +8,7 @@ WasmTestOnChrome - $(TestArchiveRoot)browserornodejs/ + $(TestArchiveRoot)browseronly/ $(TestArchiveTestsRoot)$(OSPlatformConfig)/ $(DefineConstants);TARGET_BROWSER diff --git a/src/libraries/System.IO.Compression/tests/System.IO.Compression.Tests.csproj b/src/libraries/System.IO.Compression/tests/System.IO.Compression.Tests.csproj index 286ffea2850253..3549359ecc6a44 100644 --- a/src/libraries/System.IO.Compression/tests/System.IO.Compression.Tests.csproj +++ b/src/libraries/System.IO.Compression/tests/System.IO.Compression.Tests.csproj @@ -8,7 +8,7 @@ WasmTestOnChrome - $(TestArchiveRoot)browserornodejs/ + $(TestArchiveRoot)browseronly/ $(TestArchiveTestsRoot)$(OSPlatformConfig)/ $(DefineConstants);TARGET_BROWSER diff --git a/src/libraries/System.Net.Http/tests/FunctionalTests/System.Net.Http.Functional.Tests.csproj b/src/libraries/System.Net.Http/tests/FunctionalTests/System.Net.Http.Functional.Tests.csproj index 28dd6768061a0c..8d94f9a8600be4 100644 --- a/src/libraries/System.Net.Http/tests/FunctionalTests/System.Net.Http.Functional.Tests.csproj +++ b/src/libraries/System.Net.Http/tests/FunctionalTests/System.Net.Http.Functional.Tests.csproj @@ -22,7 +22,7 @@ WasmTestOnChrome - $(TestArchiveRoot)browserornodejs/ + $(TestArchiveRoot)browseronly/ $(TestArchiveTestsRoot)$(OSPlatformConfig)/ $(DefineConstants);TARGET_BROWSER diff --git a/src/libraries/System.Net.WebSockets.Client/tests/System.Net.WebSockets.Client.Tests.csproj b/src/libraries/System.Net.WebSockets.Client/tests/System.Net.WebSockets.Client.Tests.csproj index af3355cd701c60..fe6320cf650d19 100644 --- a/src/libraries/System.Net.WebSockets.Client/tests/System.Net.WebSockets.Client.Tests.csproj +++ b/src/libraries/System.Net.WebSockets.Client/tests/System.Net.WebSockets.Client.Tests.csproj @@ -11,7 +11,7 @@ WasmTestOnChrome - $(TestArchiveRoot)browserornodejs/ + $(TestArchiveRoot)browseronly/ $(TestArchiveTestsRoot)$(OSPlatformConfig)/ $(DefineConstants);TARGET_BROWSER 1 diff --git a/src/libraries/System.Private.Xml/tests/System.Private.Xml.Tests.csproj b/src/libraries/System.Private.Xml/tests/System.Private.Xml.Tests.csproj index 7c12f76604c71a..6043f36de415e6 100644 --- a/src/libraries/System.Private.Xml/tests/System.Private.Xml.Tests.csproj +++ b/src/libraries/System.Private.Xml/tests/System.Private.Xml.Tests.csproj @@ -11,7 +11,7 @@ WasmTestOnChrome - $(TestArchiveRoot)browserornodejs/ + $(TestArchiveRoot)browseronly/ $(TestArchiveTestsRoot)$(OSPlatformConfig)/ $(DefineConstants);TARGET_BROWSER diff --git a/src/libraries/System.Runtime/tests/System.Globalization.Calendars.Tests/Hybrid/System.Globalization.Calendars.Hybrid.WASM.Tests.csproj b/src/libraries/System.Runtime/tests/System.Globalization.Calendars.Tests/Hybrid/System.Globalization.Calendars.Hybrid.WASM.Tests.csproj index a693ddb2495fa1..9c93e65d291eb8 100644 --- a/src/libraries/System.Runtime/tests/System.Globalization.Calendars.Tests/Hybrid/System.Globalization.Calendars.Hybrid.WASM.Tests.csproj +++ b/src/libraries/System.Runtime/tests/System.Globalization.Calendars.Tests/Hybrid/System.Globalization.Calendars.Hybrid.WASM.Tests.csproj @@ -8,7 +8,7 @@ WasmTestOnChrome - $(TestArchiveRoot)browserornodejs/ + $(TestArchiveRoot)browseronly/ $(TestArchiveTestsRoot)$(OSPlatformConfig)/ $(DefineConstants);TARGET_BROWSER diff --git a/src/libraries/System.Runtime/tests/System.Globalization.Tests/Hybrid/System.Globalization.Hybrid.WASM.Tests.csproj b/src/libraries/System.Runtime/tests/System.Globalization.Tests/Hybrid/System.Globalization.Hybrid.WASM.Tests.csproj index 2563d8d83ea563..8c90eef092f036 100644 --- a/src/libraries/System.Runtime/tests/System.Globalization.Tests/Hybrid/System.Globalization.Hybrid.WASM.Tests.csproj +++ b/src/libraries/System.Runtime/tests/System.Globalization.Tests/Hybrid/System.Globalization.Hybrid.WASM.Tests.csproj @@ -9,7 +9,7 @@ WasmTestOnChrome - $(TestArchiveRoot)browserornodejs/ + $(TestArchiveRoot)browseronly/ $(TestArchiveTestsRoot)$(OSPlatformConfig)/ $(DefineConstants);TARGET_BROWSER diff --git a/src/libraries/sendtohelix-browser.targets b/src/libraries/sendtohelix-browser.targets index dd69df76f31c58..6d0b3c40e74608 100644 --- a/src/libraries/sendtohelix-browser.targets +++ b/src/libraries/sendtohelix-browser.targets @@ -38,8 +38,7 @@ true true + '$(Scenario)' == 'WasmTestOnFirefox'">true @@ -58,7 +57,7 @@ true true - false + false true true true @@ -178,10 +177,9 @@ + Text="Only supported scenarios are WasmTestOnV8, WasmTestOnChrome, WasmTestOnFirefox, WasmDebuggerTests and BuildWasmApps at the moment. It was $(Scenario)." /> - <_WasmWorkItem Include="$(TestArchiveRoot)browseronly/**/*.zip" Condition="'$(Scenario)' == 'WasmTestOnChrome'" /> <_WasmWorkItem Include="$(TestArchiveRoot)chromeonly/**/*.zip" Condition="'$(Scenario)' == 'WasmTestOnChrome'" /> - <_WasmWorkItem Include="$(TestArchiveRoot)browserornodejs/**/*.zip" Condition="'$(Scenario)' == 'WasmTestOnChrome'" /> - <_WasmWorkItem Include="$(TestArchiveRoot)browseronly/**/*.zip" Condition="'$(Scenario)' == 'WasmTestOnFirefox'" /> - <_WasmWorkItem Include="$(TestArchiveRoot)browserornodejs/**/*.zip" Condition="'$(Scenario)' == 'WasmTestOnFirefox'" /> - <_WasmWorkItem Include="$(TestArchiveRoot)browserornodejs/**/*.zip" Condition="'$(Scenario)' == 'WasmTestOnNodeJS'" /> - <_WasmWorkItem Include="$(TestArchiveRoot)nodejsonly/**/*.zip" Condition="'$(Scenario)' == 'WasmTestOnNodeJS'" /> + <_WasmWorkItem Include="$(TestArchiveRoot)browseronly/**/*.zip" Condition="'$(Scenario)' == 'WasmTestOnChrome' or '$(Scenario)' == 'WasmTestOnFirefox'" /> %(Identity) $(HelixCommand) $(_workItemTimeout) - 01:20:00 01:20:00 01:20:00 @@ -255,7 +247,6 @@ <_WasmSampleZipFile Condition="'$(Scenario)' == 'WasmTestOnV8'" Include="$(TestArchiveRoot)runonly/**/*.Console.V8.*.Sample.zip" /> - <_WasmSampleZipFile Condition="'$(Scenario)' == 'WasmTestOnNodeJS'" Include="$(TestArchiveRoot)runonly/**/*.Console.Node.*.Sample.zip" /> <_WasmSampleZipFile Condition="'$(Scenario)' == 'WasmTestOnChrome'" Include="$(TestArchiveRoot)runonly/**/*.Browser.*.Sample.zip" /> 9.0.0-rtm.24511.16 - 9.0.0-rtm.25509.1 + 9.0.0-rtm.25511.1 9.0.0-rtm.24466.4 2.4.8 From 1c283edc7568d1dbbb36b8a4da3667f1bcdae02a Mon Sep 17 00:00:00 2001 From: "dotnet-maestro[bot]" <42748379+dotnet-maestro[bot]@users.noreply.github.com> Date: Wed, 15 Oct 2025 11:23:21 -0700 Subject: [PATCH 03/33] Update dependencies from https://github.com/dotnet/cecil build 20251012.2 (#120686) On relative base path root Microsoft.SourceBuild.Intermediate.cecil , Microsoft.DotNet.Cecil From Version 0.11.5-alpha.25504.2 -> To Version 0.11.5-alpha.25512.2 Co-authored-by: dotnet-maestro[bot] --- eng/Version.Details.xml | 8 ++++---- eng/Versions.props | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/eng/Version.Details.xml b/eng/Version.Details.xml index d7433123730596..7b7b92154fd9e7 100644 --- a/eng/Version.Details.xml +++ b/eng/Version.Details.xml @@ -54,14 +54,14 @@ 803d8598f98fb4efd94604b32627ee9407f246db - + https://github.com/dotnet/cecil - 1b55accc7029bd4038d35b2072ec58841431122f + 9d04fe8bce2013190f5048522e97b729f9e713ce - + https://github.com/dotnet/cecil - 1b55accc7029bd4038d35b2072ec58841431122f + 9d04fe8bce2013190f5048522e97b729f9e713ce diff --git a/eng/Versions.props b/eng/Versions.props index b1ad4309ed8db7..d904b506375a96 100644 --- a/eng/Versions.props +++ b/eng/Versions.props @@ -223,7 +223,7 @@ 9.0.0-preview-20241010.1 - 0.11.5-alpha.25504.2 + 0.11.5-alpha.25512.2 9.0.0-rtm.24511.16 From 144ddb155ef4f7d034603267adaff209f42cdfd3 Mon Sep 17 00:00:00 2001 From: "dotnet-maestro[bot]" <42748379+dotnet-maestro[bot]@users.noreply.github.com> Date: Thu, 16 Oct 2025 16:34:40 -0700 Subject: [PATCH 04/33] [release/9.0-staging] Update dependencies from dotnet/source-build-reference-packages (#120762) This pull request updates the following dependencies [marker]: <> (Begin:3b2e34b4-9c9e-4da6-a358-02c0b764a22e) ## From https://github.com/dotnet/source-build-reference-packages - **Subscription**: [3b2e34b4-9c9e-4da6-a358-02c0b764a22e](https://maestro.dot.net/subscriptions?search=3b2e34b4-9c9e-4da6-a358-02c0b764a22e) - **Build**: [20251006.2](https://dev.azure.com/dnceng/internal/_build/results?buildId=2809489) ([285882](https://maestro.dot.net/channel/5175/github:dotnet:source-build-reference-packages/build/285882)) - **Date Produced**: October 6, 2025 4:01:36 PM UTC - **Commit**: [5511a69718e9d581386105705152592cee268e37](https://github.com/dotnet/source-build-reference-packages/commit/5511a69718e9d581386105705152592cee268e37) - **Branch**: [release/9.0](https://github.com/dotnet/source-build-reference-packages/tree/release/9.0) [DependencyUpdate]: <> (Begin) - **Updates**: - From [9.0.0-alpha.1.25473.1 to 9.0.0-alpha.1.25506.2][1] - Microsoft.SourceBuild.Intermediate.source-build-reference-packages [1]: https://github.com/dotnet/source-build-reference-packages/compare/bd4018e4d8...5511a69718 [DependencyUpdate]: <> (End) [marker]: <> (End:3b2e34b4-9c9e-4da6-a358-02c0b764a22e) Co-authored-by: dotnet-maestro[bot] --- eng/Version.Details.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eng/Version.Details.xml b/eng/Version.Details.xml index 7b7b92154fd9e7..882c65f1c1e236 100644 --- a/eng/Version.Details.xml +++ b/eng/Version.Details.xml @@ -79,9 +79,9 @@ - + https://github.com/dotnet/source-build-reference-packages - bd4018e4d8a9006e7f62378db31522354ab15aae + 5511a69718e9d581386105705152592cee268e37 From 0f4450ffe574029ea76fb427bfe509b682eed7ee Mon Sep 17 00:00:00 2001 From: "dotnet-maestro[bot]" <42748379+dotnet-maestro[bot]@users.noreply.github.com> Date: Thu, 16 Oct 2025 16:38:22 -0700 Subject: [PATCH 05/33] [release/9.0-staging] Update dependencies from dotnet/hotreload-utils (#120807) This pull request updates the following dependencies [marker]: <> (Begin:b458125c-6cf0-41ea-981d-2709b660d5c5) ## From https://github.com/dotnet/hotreload-utils - **Subscription**: [b458125c-6cf0-41ea-981d-2709b660d5c5](https://maestro.dot.net/subscriptions?search=b458125c-6cf0-41ea-981d-2709b660d5c5) - **Build**: [20251016.2](https://dev.azure.com/dnceng/internal/_build/results?buildId=2817702) ([287455](https://maestro.dot.net/channel/3883/github:dotnet:hotreload-utils/build/287455)) - **Date Produced**: October 16, 2025 3:16:33 PM UTC - **Commit**: [6190778452c8e5e7092aecd64679c0ce39f87529](https://github.com/dotnet/hotreload-utils/commit/6190778452c8e5e7092aecd64679c0ce39f87529) - **Branch**: [release/9.0](https://github.com/dotnet/hotreload-utils/tree/release/9.0) [DependencyUpdate]: <> (Begin) - **Updates**: - From [9.0.0-alpha.0.25504.3 to 9.0.0-alpha.0.25516.2][1] - Microsoft.DotNet.HotReload.Utils.Generator.BuildTool [1]: https://github.com/dotnet/hotreload-utils/compare/d29a5b47fc...6190778452 [DependencyUpdate]: <> (End) [marker]: <> (End:b458125c-6cf0-41ea-981d-2709b660d5c5) Co-authored-by: dotnet-maestro[bot] --- eng/Version.Details.xml | 4 ++-- eng/Versions.props | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/eng/Version.Details.xml b/eng/Version.Details.xml index 882c65f1c1e236..f03baaf5a25d7f 100644 --- a/eng/Version.Details.xml +++ b/eng/Version.Details.xml @@ -352,9 +352,9 @@ https://dev.azure.com/dnceng/internal/_git/dotnet-optimization 9d7532585ce71e30ab55f0364d3cecccaf0775d1 - + https://github.com/dotnet/hotreload-utils - d29a5b47fc17d7c0cfeedaf44ac7f18388195375 + 6190778452c8e5e7092aecd64679c0ce39f87529 https://github.com/dotnet/runtime-assets diff --git a/eng/Versions.props b/eng/Versions.props index d904b506375a96..cf667b7c8ab0da 100644 --- a/eng/Versions.props +++ b/eng/Versions.props @@ -195,7 +195,7 @@ 9.0.0-prerelease.25504.2 9.0.0-prerelease.25504.2 - 9.0.0-alpha.0.25504.3 + 9.0.0-alpha.0.25516.2 3.12.0 4.5.0 6.0.0 From 128bbc9cbf5e0ed487bfae84a45aac84dd81fc86 Mon Sep 17 00:00:00 2001 From: "dotnet-maestro[bot]" <42748379+dotnet-maestro[bot]@users.noreply.github.com> Date: Thu, 16 Oct 2025 16:40:48 -0700 Subject: [PATCH 06/33] [release/9.0-staging] Update dependencies from dotnet/cecil (#120782) This pull request updates the following dependencies [marker]: <> (Begin:b609d3b5-ab6f-473c-9ce1-f266baef16fc) ## From https://github.com/dotnet/cecil - **Subscription**: [b609d3b5-ab6f-473c-9ce1-f266baef16fc](https://maestro.dot.net/subscriptions?search=b609d3b5-ab6f-473c-9ce1-f266baef16fc) - **Build**: [20251015.2](https://dev.azure.com/dnceng/internal/_build/results?buildId=2816907) ([287281](https://maestro.dot.net/channel/3883/github:dotnet:cecil/build/287281)) - **Date Produced**: October 15, 2025 8:11:59 PM UTC - **Commit**: [805b6bcdc748e5b63ea01c05e70432b615db1b04](https://github.com/dotnet/cecil/commit/805b6bcdc748e5b63ea01c05e70432b615db1b04) - **Branch**: [release/9.0](https://github.com/dotnet/cecil/tree/release/9.0) [DependencyUpdate]: <> (Begin) - **Updates**: - From [0.11.5-alpha.25512.2 to 0.11.5-alpha.25515.2][1] - Microsoft.SourceBuild.Intermediate.cecil - Microsoft.DotNet.Cecil [1]: https://github.com/dotnet/cecil/compare/9d04fe8bce...805b6bcdc7 [DependencyUpdate]: <> (End) [marker]: <> (End:b609d3b5-ab6f-473c-9ce1-f266baef16fc) Co-authored-by: dotnet-maestro[bot] --- eng/Version.Details.xml | 8 ++++---- eng/Versions.props | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/eng/Version.Details.xml b/eng/Version.Details.xml index f03baaf5a25d7f..8df5ec7a750a1c 100644 --- a/eng/Version.Details.xml +++ b/eng/Version.Details.xml @@ -54,14 +54,14 @@ 803d8598f98fb4efd94604b32627ee9407f246db - + https://github.com/dotnet/cecil - 9d04fe8bce2013190f5048522e97b729f9e713ce + 805b6bcdc748e5b63ea01c05e70432b615db1b04 - + https://github.com/dotnet/cecil - 9d04fe8bce2013190f5048522e97b729f9e713ce + 805b6bcdc748e5b63ea01c05e70432b615db1b04 diff --git a/eng/Versions.props b/eng/Versions.props index cf667b7c8ab0da..ef06205ddbfeb2 100644 --- a/eng/Versions.props +++ b/eng/Versions.props @@ -223,7 +223,7 @@ 9.0.0-preview-20241010.1 - 0.11.5-alpha.25512.2 + 0.11.5-alpha.25515.2 9.0.0-rtm.24511.16 From bfc74484deb5aab3a0ab16b555b0017c571b9e6b Mon Sep 17 00:00:00 2001 From: "dotnet-maestro[bot]" <42748379+dotnet-maestro[bot]@users.noreply.github.com> Date: Tue, 28 Oct 2025 14:43:57 -0700 Subject: [PATCH 07/33] [release/9.0-staging] Update dependencies from dotnet/runtime-assets (#120833) This pull request updates the following dependencies [marker]: <> (Begin:e06e39ae-771e-498d-7895-08dcbc301dc2) ## From https://github.com/dotnet/runtime-assets - **Subscription**: [e06e39ae-771e-498d-7895-08dcbc301dc2](https://maestro.dot.net/subscriptions?search=e06e39ae-771e-498d-7895-08dcbc301dc2) - **Build**: [20251016.2](https://dev.azure.com/dnceng/internal/_build/results?buildId=2817564) ([287436](https://maestro.dot.net/channel/3883/github:dotnet:runtime-assets/build/287436)) - **Date Produced**: October 16, 2025 10:51:23 AM UTC - **Commit**: [7ace84ca21dc53ca1e9c5d6f6d02b8245461eabf](https://github.com/dotnet/runtime-assets/commit/7ace84ca21dc53ca1e9c5d6f6d02b8245461eabf) - **Branch**: [release/9.0](https://github.com/dotnet/runtime-assets/tree/release/9.0) [DependencyUpdate]: <> (Begin) - **Updates**: - From [9.0.0-beta.25504.2 to 9.0.0-beta.25516.2][1] - Microsoft.DotNet.CilStrip.Sources - System.ComponentModel.TypeConverter.TestData - System.Data.Common.TestData - System.Drawing.Common.TestData - System.Formats.Tar.TestData - System.IO.Compression.TestData - System.IO.Packaging.TestData - System.Net.TestData - System.Private.Runtime.UnicodeData - System.Runtime.Numerics.TestData - System.Runtime.TimeZoneData - System.Security.Cryptography.X509Certificates.TestData - System.Text.RegularExpressions.TestData - System.Windows.Extensions.TestData [1]: https://github.com/dotnet/runtime-assets/compare/a01a686de0...7ace84ca21 [DependencyUpdate]: <> (End) [marker]: <> (End:e06e39ae-771e-498d-7895-08dcbc301dc2) Co-authored-by: dotnet-maestro[bot] --- eng/Version.Details.xml | 56 ++++++++++++++++++++--------------------- eng/Versions.props | 28 ++++++++++----------- 2 files changed, 42 insertions(+), 42 deletions(-) diff --git a/eng/Version.Details.xml b/eng/Version.Details.xml index 8df5ec7a750a1c..fb2c40fedf6190 100644 --- a/eng/Version.Details.xml +++ b/eng/Version.Details.xml @@ -174,57 +174,57 @@ https://github.com/dotnet/arcade f8c9a6d12e5a3b281661924da22d7de1cc6ab27d - + https://github.com/dotnet/runtime-assets - a01a686de0c5d8407874b1c79d67efaf03d4c8b6 + 7ace84ca21dc53ca1e9c5d6f6d02b8245461eabf - + https://github.com/dotnet/runtime-assets - a01a686de0c5d8407874b1c79d67efaf03d4c8b6 + 7ace84ca21dc53ca1e9c5d6f6d02b8245461eabf - + https://github.com/dotnet/runtime-assets - a01a686de0c5d8407874b1c79d67efaf03d4c8b6 + 7ace84ca21dc53ca1e9c5d6f6d02b8245461eabf - + https://github.com/dotnet/runtime-assets - a01a686de0c5d8407874b1c79d67efaf03d4c8b6 + 7ace84ca21dc53ca1e9c5d6f6d02b8245461eabf - + https://github.com/dotnet/runtime-assets - a01a686de0c5d8407874b1c79d67efaf03d4c8b6 + 7ace84ca21dc53ca1e9c5d6f6d02b8245461eabf - + https://github.com/dotnet/runtime-assets - a01a686de0c5d8407874b1c79d67efaf03d4c8b6 + 7ace84ca21dc53ca1e9c5d6f6d02b8245461eabf - + https://github.com/dotnet/runtime-assets - a01a686de0c5d8407874b1c79d67efaf03d4c8b6 + 7ace84ca21dc53ca1e9c5d6f6d02b8245461eabf - + https://github.com/dotnet/runtime-assets - a01a686de0c5d8407874b1c79d67efaf03d4c8b6 + 7ace84ca21dc53ca1e9c5d6f6d02b8245461eabf - + https://github.com/dotnet/runtime-assets - a01a686de0c5d8407874b1c79d67efaf03d4c8b6 + 7ace84ca21dc53ca1e9c5d6f6d02b8245461eabf - + https://github.com/dotnet/runtime-assets - a01a686de0c5d8407874b1c79d67efaf03d4c8b6 + 7ace84ca21dc53ca1e9c5d6f6d02b8245461eabf - + https://github.com/dotnet/runtime-assets - a01a686de0c5d8407874b1c79d67efaf03d4c8b6 + 7ace84ca21dc53ca1e9c5d6f6d02b8245461eabf - + https://github.com/dotnet/runtime-assets - a01a686de0c5d8407874b1c79d67efaf03d4c8b6 + 7ace84ca21dc53ca1e9c5d6f6d02b8245461eabf - + https://github.com/dotnet/runtime-assets - a01a686de0c5d8407874b1c79d67efaf03d4c8b6 + 7ace84ca21dc53ca1e9c5d6f6d02b8245461eabf https://github.com/dotnet/llvm-project @@ -356,9 +356,9 @@ https://github.com/dotnet/hotreload-utils 6190778452c8e5e7092aecd64679c0ce39f87529 - + https://github.com/dotnet/runtime-assets - a01a686de0c5d8407874b1c79d67efaf03d4c8b6 + 7ace84ca21dc53ca1e9c5d6f6d02b8245461eabf https://github.com/dotnet/roslyn diff --git a/eng/Versions.props b/eng/Versions.props index ef06205ddbfeb2..aced2bc9461ac4 100644 --- a/eng/Versions.props +++ b/eng/Versions.props @@ -147,20 +147,20 @@ 8.0.0 4.5.4 - 9.0.0-beta.25504.2 - 9.0.0-beta.25504.2 - 9.0.0-beta.25504.2 - 9.0.0-beta.25504.2 - 9.0.0-beta.25504.2 - 9.0.0-beta.25504.2 - 9.0.0-beta.25504.2 - 9.0.0-beta.25504.2 - 9.0.0-beta.25504.2 - 9.0.0-beta.25504.2 - 9.0.0-beta.25504.2 - 9.0.0-beta.25504.2 - 9.0.0-beta.25504.2 - 9.0.0-beta.25504.2 + 9.0.0-beta.25516.2 + 9.0.0-beta.25516.2 + 9.0.0-beta.25516.2 + 9.0.0-beta.25516.2 + 9.0.0-beta.25516.2 + 9.0.0-beta.25516.2 + 9.0.0-beta.25516.2 + 9.0.0-beta.25516.2 + 9.0.0-beta.25516.2 + 9.0.0-beta.25516.2 + 9.0.0-beta.25516.2 + 9.0.0-beta.25516.2 + 9.0.0-beta.25516.2 + 9.0.0-beta.25516.2 1.0.0-prerelease.24462.2 1.0.0-prerelease.24462.2 From 53330ebae5882887543c2c683ab3d94b71526d92 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 29 Oct 2025 17:07:16 -0700 Subject: [PATCH 08/33] [release/9.0-staging] disable multicast tests on AzureLinux (#119475) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Backport of #117694 to release/9.0-staging /cc @jeffhandley @wfurt @ManickaP ## Customer Impact Related to #115502. Default AZL has firewall that blocks multicast. - [ ] Customer reported - [x] Found internally ## Regression - [ ] Yes - [x] No ## Testing This was verified in main and is also being backported to release/8.0-staging via #115502, to ensure the test doesn't fail in our baseline extra-platforms tests. ## Risk Low. Conditional test disablement. --------- Co-authored-by: wfurt Co-authored-by: Marie Píchová <11718369+ManickaP@users.noreply.github.com> --- .../tests/FunctionalTests/SocketOptionNameTest.cs | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/libraries/System.Net.Sockets/tests/FunctionalTests/SocketOptionNameTest.cs b/src/libraries/System.Net.Sockets/tests/FunctionalTests/SocketOptionNameTest.cs index 3cc68756604955..d4e8babfbf6527 100644 --- a/src/libraries/System.Net.Sockets/tests/FunctionalTests/SocketOptionNameTest.cs +++ b/src/libraries/System.Net.Sockets/tests/FunctionalTests/SocketOptionNameTest.cs @@ -15,6 +15,9 @@ namespace System.Net.Sockets.Tests public partial class SocketOptionNameTest { private static bool SocketsReuseUnicastPortSupport => Capability.SocketsReuseUnicastPortSupport().HasValue; + // Does not work on Nano and Qemu and AzureLinux has firewall enabled by default + private static readonly bool CanRunMulticastTests = !(PlatformDetection.IsWindowsNanoServer || PlatformDetection.IsWindowsServerCore || + PlatformDetection.IsAzureLinux || PlatformDetection.IsQemuLinux); [ConditionalFact(nameof(SocketsReuseUnicastPortSupport))] public void ReuseUnicastPort_CreateSocketGetOption() @@ -65,8 +68,7 @@ public void MulticastOption_CreateSocketSetGetOption_GroupAndInterfaceIndex_SetS } } - [ConditionalFact(typeof(PlatformDetection), nameof(PlatformDetection.IsNotWindowsNanoNorServerCore))] // Skip on Nano: https://github.com/dotnet/runtime/issues/26286 - [ActiveIssue("https://github.com/dotnet/runtime/issues/104547", typeof(PlatformDetection), nameof(PlatformDetection.IsQemuLinux))] + [ConditionalFact(nameof(CanRunMulticastTests))] [ActiveIssue("https://github.com/dotnet/runtime/issues/113827", typeof(PlatformDetection), nameof(PlatformDetection.IsAppleMobile))] [SkipOnPlatform(TestPlatforms.OSX, "Multicast interface selection fails on macOS 14+ due to changes in how the system handles network interface parameters")] public async Task MulticastInterface_Set_AnyInterface_Succeeds() @@ -124,10 +126,9 @@ public void MulticastInterface_Set_InvalidIndex_Throws() } } - [ConditionalFact(typeof(PlatformDetection), nameof(PlatformDetection.IsNotWindowsNanoNorServerCore))] // Skip on Nano: https://github.com/dotnet/runtime/issues/26286 + [ConditionalFact(nameof(CanRunMulticastTests))] [SkipOnPlatform(TestPlatforms.OSX | TestPlatforms.FreeBSD, "Expected behavior is different on OSX or FreeBSD")] [ActiveIssue("https://github.com/dotnet/runtime/issues/52124", TestPlatforms.iOS | TestPlatforms.tvOS | TestPlatforms.MacCatalyst)] - [ActiveIssue("https://github.com/dotnet/runtime/issues/104547", typeof(PlatformDetection), nameof(PlatformDetection.IsQemuLinux))] public async Task MulticastInterface_Set_IPv6_AnyInterface_Succeeds() { // On all platforms, index 0 means "any interface" From 1d264f788860836adb44c5e3b0527c607aea0b92 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 3 Nov 2025 10:24:20 -0800 Subject: [PATCH 09/33] [release/9.0-staging] Simplify findvcvarsall.bat (#120913) Backport of #115951 to release/9.0-staging /cc @agocke @jkotas ## Customer Impact - [ ] Customer reported - [X] Found internally Newer versions of VS don't have the same versioning scheme as expected in these targets, so Native AOT will fail to find the native linker without this change (and will not be usable for targeting the NET 9 TFM). ## Regression - [X] Yes - [ ] No ## Testing Caught with the SDK tests, fix validated manually. ## Risk Low. Deletion of version check. Co-authored-by: Jan Kotas --- src/coreclr/nativeaot/BuildIntegration/findvcvarsall.bat | 1 - 1 file changed, 1 deletion(-) diff --git a/src/coreclr/nativeaot/BuildIntegration/findvcvarsall.bat b/src/coreclr/nativeaot/BuildIntegration/findvcvarsall.bat index 70294486de4500..9524c42b7b136d 100644 --- a/src/coreclr/nativeaot/BuildIntegration/findvcvarsall.bat +++ b/src/coreclr/nativeaot/BuildIntegration/findvcvarsall.bat @@ -15,7 +15,6 @@ IF /I "%~1"=="arm64" SET toolsSuffix=ARM64 FOR /F "tokens=*" %%i IN ( '"%vswherePath%" -latest -prerelease -products * ^ -requires Microsoft.VisualStudio.Component.VC.Tools.%toolsSuffix% ^ - -version [16^,18^) ^ -property installationPath' ) DO SET vsBase=%%i From e3f337fc28d3149f95421db710b3a9bc2851d8f6 Mon Sep 17 00:00:00 2001 From: "dotnet-maestro[bot]" <42748379+dotnet-maestro[bot]@users.noreply.github.com> Date: Tue, 4 Nov 2025 12:05:33 -0800 Subject: [PATCH 10/33] [release/9.0-staging] Update dependencies from dotnet/xharness (#120764) This pull request updates the following dependencies [marker]: <> (Begin:077f423f-1332-4108-a2ea-08dcc66548e6) ## From https://github.com/dotnet/xharness - **Subscription**: [077f423f-1332-4108-a2ea-08dcc66548e6](https://maestro.dot.net/subscriptions?search=077f423f-1332-4108-a2ea-08dcc66548e6) - **Build**: [20251017.1](https://dev.azure.com/dnceng/internal/_build/results?buildId=2818377) ([287580](https://maestro.dot.net/channel/5175/github:dotnet:xharness/build/287580)) - **Date Produced**: October 17, 2025 9:34:42 AM UTC - **Commit**: [6717f7d268fc03a524a6834eb9a154b6b3a9da9a](https://github.com/dotnet/xharness/commit/6717f7d268fc03a524a6834eb9a154b6b3a9da9a) - **Branch**: [release/9.0](https://github.com/dotnet/xharness/tree/release/9.0) [DependencyUpdate]: <> (Begin) - **Updates**: - From [9.0.0-prerelease.25504.2 to 9.0.0-prerelease.25517.1][3] - Microsoft.DotNet.XHarness.CLI - Microsoft.DotNet.XHarness.TestRunners.Common - Microsoft.DotNet.XHarness.TestRunners.Xunit [3]: https://github.com/dotnet/xharness/compare/47324ca722...6717f7d268 [DependencyUpdate]: <> (End) [marker]: <> (End:077f423f-1332-4108-a2ea-08dcc66548e6) --------- Co-authored-by: dotnet-maestro[bot] --- .config/dotnet-tools.json | 2 +- eng/Version.Details.xml | 12 ++++++------ eng/Versions.props | 6 +++--- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.config/dotnet-tools.json b/.config/dotnet-tools.json index 449ecc145c2618..d618f1c8f5e557 100644 --- a/.config/dotnet-tools.json +++ b/.config/dotnet-tools.json @@ -15,7 +15,7 @@ ] }, "microsoft.dotnet.xharness.cli": { - "version": "9.0.0-prerelease.25504.2", + "version": "9.0.0-prerelease.25517.1", "commands": [ "xharness" ] diff --git a/eng/Version.Details.xml b/eng/Version.Details.xml index 13e21c84fa40a9..3860c3f9c0d533 100644 --- a/eng/Version.Details.xml +++ b/eng/Version.Details.xml @@ -320,17 +320,17 @@ https://github.com/dotnet/runtime b030c4dfdfa1bf287f10f96006619a06bc2000ae - + https://github.com/dotnet/xharness - 47324ca7227e3b6e9f51b85b3e1a4a425e89a0ae + 6717f7d268fc03a524a6834eb9a154b6b3a9da9a - + https://github.com/dotnet/xharness - 47324ca7227e3b6e9f51b85b3e1a4a425e89a0ae + 6717f7d268fc03a524a6834eb9a154b6b3a9da9a - + https://github.com/dotnet/xharness - 47324ca7227e3b6e9f51b85b3e1a4a425e89a0ae + 6717f7d268fc03a524a6834eb9a154b6b3a9da9a https://github.com/dotnet/arcade diff --git a/eng/Versions.props b/eng/Versions.props index 61ae8c8c55d764..0db7bafc2d9f35 100644 --- a/eng/Versions.props +++ b/eng/Versions.props @@ -191,9 +191,9 @@ 1.4.0 17.4.0-preview-20220707-01 - 9.0.0-prerelease.25504.2 - 9.0.0-prerelease.25504.2 - 9.0.0-prerelease.25504.2 + 9.0.0-prerelease.25517.1 + 9.0.0-prerelease.25517.1 + 9.0.0-prerelease.25517.1 9.0.0-alpha.0.25516.2 3.12.0 From d892abee99f5dd7a78892c7f37b297786eb4c2c0 Mon Sep 17 00:00:00 2001 From: "dotnet-maestro[bot]" <42748379+dotnet-maestro[bot]@users.noreply.github.com> Date: Tue, 4 Nov 2025 20:52:08 -0500 Subject: [PATCH 11/33] [release/9.0-staging] Update dependencies from dotnet/cecil (#120926) This pull request updates the following dependencies [marker]: <> (Begin:b609d3b5-ab6f-473c-9ce1-f266baef16fc) ## From https://github.com/dotnet/cecil - **Subscription**: [b609d3b5-ab6f-473c-9ce1-f266baef16fc](https://maestro.dot.net/subscriptions?search=b609d3b5-ab6f-473c-9ce1-f266baef16fc) - **Build**: [20251026.1](https://dev.azure.com/dnceng/internal/_build/results?buildId=2825233) ([288658](https://maestro.dot.net/channel/3883/github:dotnet:cecil/build/288658)) - **Date Produced**: October 27, 2025 5:37:54 AM UTC - **Commit**: [4f28ab4904dcefea3464d910ffaf2cdc3067496a](https://github.com/dotnet/cecil/commit/4f28ab4904dcefea3464d910ffaf2cdc3067496a) - **Branch**: [release/9.0](https://github.com/dotnet/cecil/tree/release/9.0) [DependencyUpdate]: <> (Begin) - **Updates**: - From [0.11.5-alpha.25515.2 to 0.11.5-alpha.25526.1][2] - Microsoft.SourceBuild.Intermediate.cecil - Microsoft.DotNet.Cecil [2]: https://github.com/dotnet/cecil/compare/805b6bcdc7...4f28ab4904 [DependencyUpdate]: <> (End) [marker]: <> (End:b609d3b5-ab6f-473c-9ce1-f266baef16fc) --------- Co-authored-by: dotnet-maestro[bot] Co-authored-by: Andy Gocke --- eng/Version.Details.xml | 8 ++++---- eng/Versions.props | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/eng/Version.Details.xml b/eng/Version.Details.xml index 3860c3f9c0d533..eccafafe52059c 100644 --- a/eng/Version.Details.xml +++ b/eng/Version.Details.xml @@ -54,14 +54,14 @@ 803d8598f98fb4efd94604b32627ee9407f246db - + https://github.com/dotnet/cecil - 805b6bcdc748e5b63ea01c05e70432b615db1b04 + 4f28ab4904dcefea3464d910ffaf2cdc3067496a - + https://github.com/dotnet/cecil - 805b6bcdc748e5b63ea01c05e70432b615db1b04 + 4f28ab4904dcefea3464d910ffaf2cdc3067496a diff --git a/eng/Versions.props b/eng/Versions.props index 0db7bafc2d9f35..2ea0196a85d1e6 100644 --- a/eng/Versions.props +++ b/eng/Versions.props @@ -223,7 +223,7 @@ 9.0.0-preview-20241010.1 - 0.11.5-alpha.25515.2 + 0.11.5-alpha.25526.1 9.0.0-rtm.24511.16 From fe1f52e29fd0690f8da83d707ffc67dcd7720653 Mon Sep 17 00:00:00 2001 From: "dotnet-maestro[bot]" <42748379+dotnet-maestro[bot]@users.noreply.github.com> Date: Wed, 5 Nov 2025 01:53:59 +0000 Subject: [PATCH 12/33] [release/9.0-staging] Update dependencies from dotnet/icu (#120834) This pull request updates the following dependencies [marker]: <> (Begin:5e3f9b88-faad-436c-a580-ac009d20bb33) ## From https://github.com/dotnet/icu - **Subscription**: [5e3f9b88-faad-436c-a580-ac009d20bb33](https://maestro.dot.net/subscriptions?search=5e3f9b88-faad-436c-a580-ac009d20bb33) - **Build**: [20251030.1](https://dev.azure.com/dnceng/internal/_build/results?buildId=2827690) ([289015](https://maestro.dot.net/channel/3883/github:dotnet:icu/build/289015)) - **Date Produced**: October 30, 2025 10:58:07 AM UTC - **Commit**: [76f42e5d2c84cb2358793ef33826bc65140ee3fb](https://github.com/dotnet/icu/commit/76f42e5d2c84cb2358793ef33826bc65140ee3fb) - **Branch**: [dotnet/release/9.0](https://github.com/dotnet/icu/tree/dotnet/release/9.0) [DependencyUpdate]: <> (Begin) - **Updates**: - From [9.0.0-rtm.25511.1 to 9.0.0-rtm.25530.1][7] - Microsoft.NETCore.Runtime.ICU.Transport [7]: https://github.com/dotnet/icu/compare/9277e62381...76f42e5d2c [DependencyUpdate]: <> (End) [marker]: <> (End:5e3f9b88-faad-436c-a580-ac009d20bb33) --------- Co-authored-by: dotnet-maestro[bot] --- eng/Version.Details.xml | 4 ++-- eng/Versions.props | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/eng/Version.Details.xml b/eng/Version.Details.xml index eccafafe52059c..ea4543a04cbf14 100644 --- a/eng/Version.Details.xml +++ b/eng/Version.Details.xml @@ -1,8 +1,8 @@ - + https://github.com/dotnet/icu - 9277e623813e1f9c8cc21b5d3e59d606a8f024de + 76f42e5d2c84cb2358793ef33826bc65140ee3fb https://github.com/dotnet/msquic diff --git a/eng/Versions.props b/eng/Versions.props index 2ea0196a85d1e6..cad953d78dd8cb 100644 --- a/eng/Versions.props +++ b/eng/Versions.props @@ -227,7 +227,7 @@ 9.0.0-rtm.24511.16 - 9.0.0-rtm.25511.1 + 9.0.0-rtm.25530.1 9.0.0-rtm.24466.4 2.4.8 From 54d40cf9c5b8cc34b226f94e12f875cd019cb9da Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 6 Nov 2025 13:09:53 +0200 Subject: [PATCH 13/33] [release/9.0-staging] [mono][sgen] Add option to disable tarjan gc bridge optimization (#121376) Backport of #121243 to release/9.0-staging /cc @BrzVlad ## Customer Impact - [x] Customer reported - [ ] Found internally Applications on maui-android can randomly crash during GC. We've had a few fixes for the tarjan bridge merged a few months ago, but there is still one more issue. The problem is caused by a specific optimization inside the tarjan gc bridge. The only workaround for a customer hitting this failure is to configure an environment variable so that their app uses a different gc bridge (which has worse performance). One customer reported that using the older gc bridge makes the application unusable due to degradation of performance. This PR allows users to opt out of a smaller optimization and keep using the tarjan gc bridge, as a workaround for .NET9. ## Regression - [ ] Yes - [x] No ## Testing Tested on our own gc bridge tests, with scenario causing the issue. ## Risk This PR has zero risk since it just adds support for disabling an optimization. By default, there is no change in behavior. I plan to backport to .NET10 the actual fix for this issue. --------- Co-authored-by: Vlad Brezae --- src/mono/mono/metadata/sgen-bridge.c | 2 ++ src/mono/mono/metadata/sgen-tarjan-bridge.c | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/mono/mono/metadata/sgen-bridge.c b/src/mono/mono/metadata/sgen-bridge.c index 1f7dc31c9b4b11..d29e2ff50cceac 100644 --- a/src/mono/mono/metadata/sgen-bridge.c +++ b/src/mono/mono/metadata/sgen-bridge.c @@ -687,6 +687,8 @@ sgen_bridge_handle_gc_param (const char *opt) if (!strcmp (opt, "bridge-require-precise-merge")) { bridge_processor_config.scc_precise_merge = TRUE; + } else if (!strcmp (opt, "disable-non-bridge-scc")) { + bridge_processor_config.disable_non_bridge_scc = TRUE; } else { return FALSE; } diff --git a/src/mono/mono/metadata/sgen-tarjan-bridge.c b/src/mono/mono/metadata/sgen-tarjan-bridge.c index 7a8ad5961d98e7..09b53051321353 100644 --- a/src/mono/mono/metadata/sgen-tarjan-bridge.c +++ b/src/mono/mono/metadata/sgen-tarjan-bridge.c @@ -976,9 +976,9 @@ dump_color_table (const char *why, gboolean do_index) int i = 0, j; printf ("colors%s:\n", why); - for (cur = root_color_bucket; cur; cur = cur->next, ++i) { + for (cur = root_color_bucket; cur; cur = cur->next) { ColorData *cd; - for (cd = &cur->data [0]; cd < cur->next_data; ++cd) { + for (cd = &cur->data [0]; cd < cur->next_data; ++cd, ++i) { if (do_index) printf ("\t%d(%d):", i, cd->api_index); else From 3bb4ae2f9694a7f74d4ac8a241e35b55e12818c8 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 7 Nov 2025 10:15:10 +0100 Subject: [PATCH 14/33] [release/9.0-staging] Remove audit sources from NuGet.config (#121426) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Backport of #120696 to release/9.0-staging /cc @akoeplinger ## Customer Impact - [ ] Customer reported - [X] Found internally no customer impact, this affects our internal builds due to CFS restrictions. ## Regression - [ ] Yes - [X] No ## Testing Tested in CI. ## Risk None. This just changes a setting for nuget package restore. **IMPORTANT**: If this backport is for a servicing release, please verify that: - For .NET 8 and .NET 9: The PR target branch is `release/X.0-staging`, not `release/X.0`. - For .NET 10+: The PR target branch is `release/X.0` (no `-staging` suffix). ## Package authoring no longer needed in .NET 9 **IMPORTANT**: Starting with .NET 9, you no longer need to edit a NuGet package's csproj to enable building and bump the version. Keep in mind that we still need package authoring in .NET 8 and older versions. Co-authored-by: Alexander Köplinger --- NuGet.config | 4 ---- 1 file changed, 4 deletions(-) diff --git a/NuGet.config b/NuGet.config index cadb407f96d974..54267704432aad 100644 --- a/NuGet.config +++ b/NuGet.config @@ -28,10 +28,6 @@ - - - - From b0fe7d0939bf04664eb3c0cd6a4055b3a7edeedc Mon Sep 17 00:00:00 2001 From: "dotnet-maestro[bot]" <42748379+dotnet-maestro[bot]@users.noreply.github.com> Date: Tue, 11 Nov 2025 12:14:50 -0800 Subject: [PATCH 15/33] [release/9.0-staging] Update dependencies from dotnet/arcade (#121430) This pull request updates the following dependencies [marker]: <> (Begin:943c2154-7e47-4fed-bb40-3e772747daf7) ## From https://github.com/dotnet/arcade - **Subscription**: [943c2154-7e47-4fed-bb40-3e772747daf7](https://maestro.dot.net/subscriptions?search=943c2154-7e47-4fed-bb40-3e772747daf7) - **Build**: [20251105.4](https://dev.azure.com/dnceng/internal/_build/results?buildId=2832013) ([289663](https://maestro.dot.net/channel/5175/github:dotnet:arcade/build/289663)) - **Date Produced**: November 5, 2025 7:38:32 PM UTC - **Commit**: [9eaf7b289d5003a94ee23658f057a6c06ddcd570](https://github.com/dotnet/arcade/commit/9eaf7b289d5003a94ee23658f057a6c06ddcd570) - **Branch**: [release/9.0](https://github.com/dotnet/arcade/tree/release/9.0) [DependencyUpdate]: <> (Begin) - **Updates**: - From [9.0.0-beta.25515.2 to 9.0.0-beta.25555.4][1] - Microsoft.SourceBuild.Intermediate.arcade - Microsoft.DotNet.Arcade.Sdk - Microsoft.DotNet.Build.Tasks.Archives - Microsoft.DotNet.Build.Tasks.Feed - Microsoft.DotNet.Build.Tasks.Installers - Microsoft.DotNet.Build.Tasks.Packaging - Microsoft.DotNet.Build.Tasks.TargetFramework - Microsoft.DotNet.Build.Tasks.Templating - Microsoft.DotNet.Build.Tasks.Workloads - Microsoft.DotNet.CodeAnalysis - Microsoft.DotNet.GenAPI - Microsoft.DotNet.GenFacades - Microsoft.DotNet.Helix.Sdk - Microsoft.DotNet.PackageTesting - Microsoft.DotNet.RemoteExecutor - Microsoft.DotNet.SharedFramework.Sdk - Microsoft.DotNet.VersionTools.Tasks - Microsoft.DotNet.XliffTasks - Microsoft.DotNet.XUnitExtensions - From [2.9.0-beta.25515.2 to 2.9.0-beta.25555.4][1] - Microsoft.DotNet.XUnitAssert - Microsoft.DotNet.XUnitConsoleRunner [1]: https://github.com/dotnet/arcade/compare/6666973b62...9eaf7b289d [DependencyUpdate]: <> (End) - **Updates to .NET SDKs in root:** - Updates sdk.version to 9.0.111 - Updates tools.dotnet to 9.0.111 [marker]: <> (End:943c2154-7e47-4fed-bb40-3e772747daf7) Co-authored-by: dotnet-maestro[bot] --- eng/Version.Details.xml | 84 +++++++++---------- eng/Versions.props | 32 +++---- .../job/publish-build-assets.yml | 5 ++ .../core-templates/post-build/post-build.yml | 5 ++ global.json | 6 +- 5 files changed, 71 insertions(+), 61 deletions(-) diff --git a/eng/Version.Details.xml b/eng/Version.Details.xml index ea4543a04cbf14..f5ceb005660a32 100644 --- a/eng/Version.Details.xml +++ b/eng/Version.Details.xml @@ -92,87 +92,87 @@ - + https://github.com/dotnet/arcade - 6666973b629b24e259162dba03486c23af464bab + 9eaf7b289d5003a94ee23658f057a6c06ddcd570 - + https://github.com/dotnet/arcade - 6666973b629b24e259162dba03486c23af464bab + 9eaf7b289d5003a94ee23658f057a6c06ddcd570 - + https://github.com/dotnet/arcade - 6666973b629b24e259162dba03486c23af464bab + 9eaf7b289d5003a94ee23658f057a6c06ddcd570 - + https://github.com/dotnet/arcade - 6666973b629b24e259162dba03486c23af464bab + 9eaf7b289d5003a94ee23658f057a6c06ddcd570 - + https://github.com/dotnet/arcade - 6666973b629b24e259162dba03486c23af464bab + 9eaf7b289d5003a94ee23658f057a6c06ddcd570 - + https://github.com/dotnet/arcade - 6666973b629b24e259162dba03486c23af464bab + 9eaf7b289d5003a94ee23658f057a6c06ddcd570 - + https://github.com/dotnet/arcade - 6666973b629b24e259162dba03486c23af464bab + 9eaf7b289d5003a94ee23658f057a6c06ddcd570 - + https://github.com/dotnet/arcade - 6666973b629b24e259162dba03486c23af464bab + 9eaf7b289d5003a94ee23658f057a6c06ddcd570 - + https://github.com/dotnet/arcade - 6666973b629b24e259162dba03486c23af464bab + 9eaf7b289d5003a94ee23658f057a6c06ddcd570 - + https://github.com/dotnet/arcade - 6666973b629b24e259162dba03486c23af464bab + 9eaf7b289d5003a94ee23658f057a6c06ddcd570 - + https://github.com/dotnet/arcade - 6666973b629b24e259162dba03486c23af464bab + 9eaf7b289d5003a94ee23658f057a6c06ddcd570 - + https://github.com/dotnet/arcade - 6666973b629b24e259162dba03486c23af464bab + 9eaf7b289d5003a94ee23658f057a6c06ddcd570 - + https://github.com/dotnet/arcade - 6666973b629b24e259162dba03486c23af464bab + 9eaf7b289d5003a94ee23658f057a6c06ddcd570 - + https://github.com/dotnet/arcade - 6666973b629b24e259162dba03486c23af464bab + 9eaf7b289d5003a94ee23658f057a6c06ddcd570 - + https://github.com/dotnet/arcade - 6666973b629b24e259162dba03486c23af464bab + 9eaf7b289d5003a94ee23658f057a6c06ddcd570 - + https://github.com/dotnet/arcade - 6666973b629b24e259162dba03486c23af464bab + 9eaf7b289d5003a94ee23658f057a6c06ddcd570 - + https://github.com/dotnet/arcade - 6666973b629b24e259162dba03486c23af464bab + 9eaf7b289d5003a94ee23658f057a6c06ddcd570 - + https://github.com/dotnet/arcade - 6666973b629b24e259162dba03486c23af464bab + 9eaf7b289d5003a94ee23658f057a6c06ddcd570 - + https://github.com/dotnet/arcade - 6666973b629b24e259162dba03486c23af464bab + 9eaf7b289d5003a94ee23658f057a6c06ddcd570 - + https://github.com/dotnet/arcade - 6666973b629b24e259162dba03486c23af464bab + 9eaf7b289d5003a94ee23658f057a6c06ddcd570 https://github.com/dotnet/runtime-assets @@ -332,9 +332,9 @@ https://github.com/dotnet/xharness 6717f7d268fc03a524a6834eb9a154b6b3a9da9a - + https://github.com/dotnet/arcade - 6666973b629b24e259162dba03486c23af464bab + 9eaf7b289d5003a94ee23658f057a6c06ddcd570 https://dev.azure.com/dnceng/internal/_git/dotnet-optimization diff --git a/eng/Versions.props b/eng/Versions.props index cad953d78dd8cb..9a77629ea6ca71 100644 --- a/eng/Versions.props +++ b/eng/Versions.props @@ -85,22 +85,22 @@ 9.0.109 - 9.0.0-beta.25515.2 - 9.0.0-beta.25515.2 - 9.0.0-beta.25515.2 - 9.0.0-beta.25515.2 - 2.9.0-beta.25515.2 - 9.0.0-beta.25515.2 - 2.9.0-beta.25515.2 - 9.0.0-beta.25515.2 - 9.0.0-beta.25515.2 - 9.0.0-beta.25515.2 - 9.0.0-beta.25515.2 - 9.0.0-beta.25515.2 - 9.0.0-beta.25515.2 - 9.0.0-beta.25515.2 - 9.0.0-beta.25515.2 - 9.0.0-beta.25515.2 + 9.0.0-beta.25555.4 + 9.0.0-beta.25555.4 + 9.0.0-beta.25555.4 + 9.0.0-beta.25555.4 + 2.9.0-beta.25555.4 + 9.0.0-beta.25555.4 + 2.9.0-beta.25555.4 + 9.0.0-beta.25555.4 + 9.0.0-beta.25555.4 + 9.0.0-beta.25555.4 + 9.0.0-beta.25555.4 + 9.0.0-beta.25555.4 + 9.0.0-beta.25555.4 + 9.0.0-beta.25555.4 + 9.0.0-beta.25555.4 + 9.0.0-beta.25555.4 1.4.0 diff --git a/eng/common/core-templates/job/publish-build-assets.yml b/eng/common/core-templates/job/publish-build-assets.yml index a58c8a418e8a99..6b5ff28cc70633 100644 --- a/eng/common/core-templates/job/publish-build-assets.yml +++ b/eng/common/core-templates/job/publish-build-assets.yml @@ -145,6 +145,11 @@ jobs: PromoteToChannelIds: ${{ parameters.PromoteToChannelIds }} is1ESPipeline: ${{ parameters.is1ESPipeline }} + # Darc is targeting 8.0, so make sure it's installed + - task: UseDotNet@2 + inputs: + version: 8.0.x + - task: AzureCLI@2 displayName: Publish Using Darc inputs: diff --git a/eng/common/core-templates/post-build/post-build.yml b/eng/common/core-templates/post-build/post-build.yml index 2ee8bbfff54553..221d1ac6de1945 100644 --- a/eng/common/core-templates/post-build/post-build.yml +++ b/eng/common/core-templates/post-build/post-build.yml @@ -305,6 +305,11 @@ stages: - task: NuGetAuthenticate@1 + # Darc is targeting 8.0, so make sure it's installed + - task: UseDotNet@2 + inputs: + version: 8.0.x + - task: AzureCLI@2 displayName: Publish Using Darc inputs: diff --git a/global.json b/global.json index 319cc97ffc232c..8e4f40830f5042 100644 --- a/global.json +++ b/global.json @@ -8,9 +8,9 @@ "dotnet": "9.0.111" }, "msbuild-sdks": { - "Microsoft.DotNet.Arcade.Sdk": "9.0.0-beta.25515.2", - "Microsoft.DotNet.Helix.Sdk": "9.0.0-beta.25515.2", - "Microsoft.DotNet.SharedFramework.Sdk": "9.0.0-beta.25515.2", + "Microsoft.DotNet.Arcade.Sdk": "9.0.0-beta.25555.4", + "Microsoft.DotNet.Helix.Sdk": "9.0.0-beta.25555.4", + "Microsoft.DotNet.SharedFramework.Sdk": "9.0.0-beta.25555.4", "Microsoft.Build.NoTargets": "3.7.0", "Microsoft.Build.Traversal": "3.4.0", "Microsoft.NET.Sdk.IL": "9.0.0-rtm.24511.16" From e9313ed0caa7be6473c467001c4cf186d9c5a599 Mon Sep 17 00:00:00 2001 From: "dotnet-maestro[bot]" <42748379+dotnet-maestro[bot]@users.noreply.github.com> Date: Tue, 11 Nov 2025 12:17:17 -0800 Subject: [PATCH 16/33] [release/9.0-staging] Update dependencies from dotnet/cecil (#121516) This pull request updates the following dependencies [marker]: <> (Begin:b609d3b5-ab6f-473c-9ce1-f266baef16fc) ## From https://github.com/dotnet/cecil - **Subscription**: [b609d3b5-ab6f-473c-9ce1-f266baef16fc](https://maestro.dot.net/subscriptions?search=b609d3b5-ab6f-473c-9ce1-f266baef16fc) - **Build**: [20251109.3](https://dev.azure.com/dnceng/internal/_build/results?buildId=2835062) ([290106](https://maestro.dot.net/channel/3883/github:dotnet:cecil/build/290106)) - **Date Produced**: November 10, 2025 5:44:32 AM UTC - **Commit**: [6f2435da56379f9542c90e27ced6c103067cd875](https://github.com/dotnet/cecil/commit/6f2435da56379f9542c90e27ced6c103067cd875) - **Branch**: [release/9.0](https://github.com/dotnet/cecil/tree/release/9.0) [DependencyUpdate]: <> (Begin) - **Dependency Updates**: - From [0.11.5-alpha.25526.1 to 0.11.5-alpha.25559.3][1] - Microsoft.SourceBuild.Intermediate.cecil - Microsoft.DotNet.Cecil [1]: https://github.com/dotnet/cecil/compare/4f28ab4904...6f2435da56 [DependencyUpdate]: <> (End) [marker]: <> (End:b609d3b5-ab6f-473c-9ce1-f266baef16fc) Co-authored-by: dotnet-maestro[bot] --- eng/Version.Details.xml | 8 ++++---- eng/Versions.props | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/eng/Version.Details.xml b/eng/Version.Details.xml index f5ceb005660a32..dc5b37a038e470 100644 --- a/eng/Version.Details.xml +++ b/eng/Version.Details.xml @@ -54,14 +54,14 @@ 803d8598f98fb4efd94604b32627ee9407f246db - + https://github.com/dotnet/cecil - 4f28ab4904dcefea3464d910ffaf2cdc3067496a + 6f2435da56379f9542c90e27ced6c103067cd875 - + https://github.com/dotnet/cecil - 4f28ab4904dcefea3464d910ffaf2cdc3067496a + 6f2435da56379f9542c90e27ced6c103067cd875 diff --git a/eng/Versions.props b/eng/Versions.props index 9a77629ea6ca71..af062ac09cf385 100644 --- a/eng/Versions.props +++ b/eng/Versions.props @@ -223,7 +223,7 @@ 9.0.0-preview-20241010.1 - 0.11.5-alpha.25526.1 + 0.11.5-alpha.25559.3 9.0.0-rtm.24511.16 From d4ff34564bcaf4ec5a02ecdca17ea63e5481cc42 Mon Sep 17 00:00:00 2001 From: Aaron R Robinson Date: Fri, 14 Nov 2025 11:01:28 -0800 Subject: [PATCH 17/33] [release/9.0-staging] Add flags when the clang's major version is > 20.0 (#121151) ## Customer Impact - [x] Customer reported - [ ] Found internally These issues were reported in https://github.com/dotnet/runtime/issues/119706 as problems with clang-21 on Fedora 43. The investigation uncovered that clang introduced a potentially breaking change in clang-20 that we do not currently consume. These build changes impact VMR related builds when linux distrobutions performing source build adopt clang-21. clang-20 breaking change log - https://releases.llvm.org/20.1.0/tools/clang/docs/ReleaseNotes.html#potentially-breaking-changes. This PR contains the minimal changes needed to fix issues from the following PR https://github.com/dotnet/runtime/pull/120775. .NET 10: https://github.com/dotnet/runtime/pull/121124 .NET 8: https://github.com/dotnet/runtime/pull/121150 ## Regression - [ ] Yes - [x] No Build with the new clang-21 compiler will cause the runtime to crash. ## Testing This has been validated using various legs and examples to demonstrate the usage of undefined behavior these flags convert into "defined" behavior in C/C++. ## Risk Low. This has zero impact on our production build since we specifically target clang-18. This is only valid for those partners that are using clang-20+. --- eng/native/configurecompiler.cmake | 18 +++++++++++++++--- src/coreclr/debug/di/rspriv.h | 4 ++-- src/coreclr/debug/di/rsthread.cpp | 12 ++++++------ 3 files changed, 23 insertions(+), 11 deletions(-) diff --git a/eng/native/configurecompiler.cmake b/eng/native/configurecompiler.cmake index 109b947e4eb6fb..c114c03a9a1eda 100644 --- a/eng/native/configurecompiler.cmake +++ b/eng/native/configurecompiler.cmake @@ -526,9 +526,21 @@ if (CLR_CMAKE_HOST_UNIX) # Disable frame pointer optimizations so profilers can get better call stacks add_compile_options(-fno-omit-frame-pointer) - # Make signed arithmetic overflow of addition, subtraction, and multiplication wrap around - # using twos-complement representation (this is normally undefined according to the C++ spec). - add_compile_options(-fwrapv) + if((CMAKE_C_COMPILER_ID STREQUAL "Clang" AND CMAKE_C_COMPILER_VERSION VERSION_GREATER_EQUAL 20.0) OR + (CMAKE_CXX_COMPILER_ID STREQUAL "Clang" AND CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL 20.0)) + # Make signed overflow well-defined. Implies the following flags in clang-20 and above. + # -fwrapv - Make signed arithmetic overflow of addition, subtraction, and multiplication wrap around + # using twos-complement representation (this is normally undefined according to the C++ spec). + # -fwrapv-pointer - The same as -fwrapv but for pointers. + add_compile_options(-fno-strict-overflow) + + # Suppress C++ strict aliasing rules. This matches our use of MSVC. + add_compile_options(-fno-strict-aliasing) + else() + # Make signed arithmetic overflow of addition, subtraction, and multiplication wrap around + # using twos-complement representation (this is normally undefined according to the C++ spec). + add_compile_options(-fwrapv) + endif() if(CLR_CMAKE_HOST_APPLE) # Clang will by default emit objc_msgSend stubs in Xcode 14, which ld from earlier Xcodes doesn't understand. diff --git a/src/coreclr/debug/di/rspriv.h b/src/coreclr/debug/di/rspriv.h index 7e2b49b3170107..119ca6f7c087ae 100644 --- a/src/coreclr/debug/di/rspriv.h +++ b/src/coreclr/debug/di/rspriv.h @@ -6404,8 +6404,8 @@ class CordbThread : public CordbBase, public ICorDebugThread, // Lazily initialized. EXCEPTION_RECORD * m_pExceptionRecord; - static const CorDebugUserState kInvalidUserState = CorDebugUserState(-1); - CorDebugUserState m_userState; // This is the current state of the + static const int kInvalidUserState = -1; + int m_userState; // This is the current state of the // thread, at the time that the // left side synchronized diff --git a/src/coreclr/debug/di/rsthread.cpp b/src/coreclr/debug/di/rsthread.cpp index cd7f79867a54d3..8c4f3317eff661 100644 --- a/src/coreclr/debug/di/rsthread.cpp +++ b/src/coreclr/debug/di/rsthread.cpp @@ -783,7 +783,7 @@ CorDebugUserState CordbThread::GetUserState() m_userState = pDAC->GetUserState(m_vmThreadToken); } - return m_userState; + return (CorDebugUserState)m_userState; } @@ -887,7 +887,7 @@ HRESULT CordbThread::CreateStepper(ICorDebugStepper ** ppStepper) //Returns true if current user state of a thread is USER_WAIT_SLEEP_JOIN bool CordbThread::IsThreadWaitingOrSleeping() { - CorDebugUserState userState = m_userState; + int userState = m_userState; if (userState == kInvalidUserState) { //If m_userState is not ready, we'll read from DAC only part of it which @@ -3721,14 +3721,14 @@ HRESULT CordbUnmanagedThread::SetupFirstChanceHijackForSync() LOG((LF_CORDB, LL_INFO10000, "CUT::SFCHFS: hijackCtx started as:\n")); LogContext(GetHijackCtx()); - // Save the thread's full context for all platforms except for x86 because we need the + // Save the thread's full context for all platforms except for x86 because we need the // DT_CONTEXT_EXTENDED_REGISTERS to avoid getting incomplete information and corrupt the thread context DT_CONTEXT context; -#ifdef TARGET_X86 +#ifdef TARGET_X86 context.ContextFlags = DT_CONTEXT_FULL | DT_CONTEXT_EXTENDED_REGISTERS; #else context.ContextFlags = DT_CONTEXT_FULL; -#endif +#endif BOOL succ = DbiGetThreadContext(m_handle, &context); _ASSERTE(succ); @@ -3739,7 +3739,7 @@ HRESULT CordbUnmanagedThread::SetupFirstChanceHijackForSync() LOG((LF_CORDB, LL_ERROR, "CUT::SFCHFS: DbiGetThreadContext error=0x%x\n", error)); } -#ifdef TARGET_X86 +#ifdef TARGET_X86 GetHijackCtx()->ContextFlags = DT_CONTEXT_FULL | DT_CONTEXT_EXTENDED_REGISTERS; #else GetHijackCtx()->ContextFlags = DT_CONTEXT_FULL; From 0c90233d65ea35340f187774dae639a319d8d550 Mon Sep 17 00:00:00 2001 From: "dotnet-maestro[bot]" <42748379+dotnet-maestro[bot]@users.noreply.github.com> Date: Fri, 14 Nov 2025 18:27:25 -0500 Subject: [PATCH 18/33] [release/9.0-staging] Update dependencies from dotnet/cecil (#121606) This pull request updates the following dependencies [marker]: <> (Begin:b609d3b5-ab6f-473c-9ce1-f266baef16fc) ## From https://github.com/dotnet/cecil - **Subscription**: [b609d3b5-ab6f-473c-9ce1-f266baef16fc](https://maestro.dot.net/subscriptions?search=b609d3b5-ab6f-473c-9ce1-f266baef16fc) - **Build**: [20251113.2](https://dev.azure.com/dnceng/internal/_build/results?buildId=2838193) ([290681](https://maestro.dot.net/channel/3883/github:dotnet:cecil/build/290681)) - **Date Produced**: November 13, 2025 6:50:34 PM UTC - **Commit**: [0b1a2e363a2e54e3e31e88672b6def6d86164c5d](https://github.com/dotnet/cecil/commit/0b1a2e363a2e54e3e31e88672b6def6d86164c5d) - **Branch**: [release/9.0](https://github.com/dotnet/cecil/tree/release/9.0) [DependencyUpdate]: <> (Begin) - **Dependency Updates**: - From [0.11.5-alpha.25559.3 to 0.11.5-alpha.25563.2][1] - Microsoft.SourceBuild.Intermediate.cecil - Microsoft.DotNet.Cecil [1]: https://github.com/dotnet/cecil/compare/6f2435da56...0b1a2e363a [DependencyUpdate]: <> (End) [marker]: <> (End:b609d3b5-ab6f-473c-9ce1-f266baef16fc) Co-authored-by: dotnet-maestro[bot] --- eng/Version.Details.xml | 8 ++++---- eng/Versions.props | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/eng/Version.Details.xml b/eng/Version.Details.xml index dc5b37a038e470..39add6c2f98483 100644 --- a/eng/Version.Details.xml +++ b/eng/Version.Details.xml @@ -54,14 +54,14 @@ 803d8598f98fb4efd94604b32627ee9407f246db - + https://github.com/dotnet/cecil - 6f2435da56379f9542c90e27ced6c103067cd875 + 0b1a2e363a2e54e3e31e88672b6def6d86164c5d - + https://github.com/dotnet/cecil - 6f2435da56379f9542c90e27ced6c103067cd875 + 0b1a2e363a2e54e3e31e88672b6def6d86164c5d diff --git a/eng/Versions.props b/eng/Versions.props index af062ac09cf385..8b37233cb8fdea 100644 --- a/eng/Versions.props +++ b/eng/Versions.props @@ -223,7 +223,7 @@ 9.0.0-preview-20241010.1 - 0.11.5-alpha.25559.3 + 0.11.5-alpha.25563.2 9.0.0-rtm.24511.16 From ff2572677495fbb5486141569a2c4b699daf8010 Mon Sep 17 00:00:00 2001 From: "dotnet-maestro[bot]" <42748379+dotnet-maestro[bot]@users.noreply.github.com> Date: Fri, 14 Nov 2025 23:29:57 +0000 Subject: [PATCH 19/33] [release/9.0-staging] Update dependencies from dotnet/roslyn (#121568) This pull request updates the following dependencies [marker]: <> (Begin:60694bfc-fbc6-40d6-af1a-4c5dac51a701) ## From https://github.com/dotnet/roslyn - **Subscription**: [60694bfc-fbc6-40d6-af1a-4c5dac51a701](https://maestro.dot.net/subscriptions?search=60694bfc-fbc6-40d6-af1a-4c5dac51a701) - **Build**: [20251111.11](https://dev.azure.com/dnceng/internal/_build/results?buildId=2836753) ([290456](https://maestro.dot.net/channel/4906/github:dotnet:roslyn/build/290456)) - **Date Produced**: November 12, 2025 9:26:18 AM UTC - **Commit**: [272651916acd264189724508f884596017e84afc](https://github.com/dotnet/roslyn/commit/272651916acd264189724508f884596017e84afc) - **Branch**: [release/dev17.12](https://github.com/dotnet/roslyn/tree/release/dev17.12) [DependencyUpdate]: <> (Begin) - **Dependency Updates**: - From [4.12.0-3.25467.18 to 4.12.0-3.25561.11][1] - Microsoft.SourceBuild.Intermediate.roslyn - Microsoft.CodeAnalysis - Microsoft.CodeAnalysis.CSharp - Microsoft.Net.Compilers.Toolset [1]: https://github.com/dotnet/roslyn/compare/dcf9af2b54...272651916a [DependencyUpdate]: <> (End) [marker]: <> (End:60694bfc-fbc6-40d6-af1a-4c5dac51a701) Co-authored-by: dotnet-maestro[bot] --- eng/Version.Details.xml | 16 ++++++++-------- eng/Versions.props | 6 +++--- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/eng/Version.Details.xml b/eng/Version.Details.xml index 39add6c2f98483..0eb30a308cf65f 100644 --- a/eng/Version.Details.xml +++ b/eng/Version.Details.xml @@ -360,17 +360,17 @@ https://github.com/dotnet/runtime-assets 7ace84ca21dc53ca1e9c5d6f6d02b8245461eabf - + https://github.com/dotnet/roslyn - dcf9af2b54e4469b94697b1b92d31354ce698f66 + 272651916acd264189724508f884596017e84afc - + https://github.com/dotnet/roslyn - dcf9af2b54e4469b94697b1b92d31354ce698f66 + 272651916acd264189724508f884596017e84afc - + https://github.com/dotnet/roslyn - dcf9af2b54e4469b94697b1b92d31354ce698f66 + 272651916acd264189724508f884596017e84afc https://github.com/dotnet/roslyn-analyzers @@ -381,9 +381,9 @@ 16865ea61910500f1022ad2b96c499e5df02c228 - + https://github.com/dotnet/roslyn - dcf9af2b54e4469b94697b1b92d31354ce698f66 + 272651916acd264189724508f884596017e84afc diff --git a/eng/Versions.props b/eng/Versions.props index 8b37233cb8fdea..09fba3d8de60fa 100644 --- a/eng/Versions.props +++ b/eng/Versions.props @@ -44,9 +44,9 @@ Any tools that contribute to the design-time experience should use the MicrosoftCodeAnalysisVersion_LatestVS property above to ensure they do not break the local dev experience. --> - 4.12.0-3.25467.18 - 4.12.0-3.25467.18 - 4.12.0-3.25467.18 + 4.12.0-3.25561.11 + 4.12.0-3.25561.11 + 4.12.0-3.25561.11 - + https://github.com/dotnet/source-build-reference-packages - 2621104ca7f734b64166a4eb3cf4927166b82da9 + a9cadb09ddcc99b1e535efb0648047634f0c4f40 From 3e7bf22153a92de8b0ff319406382c71d998beb8 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 14 Nov 2025 23:31:51 +0000 Subject: [PATCH 21/33] [release/9.0-staging] Don't try to offer a conversion to SG COM when properties are involved (#119404) --- ...omImportToGeneratedComInterfaceAnalyzer.cs | 4 ++ .../ConvertToGeneratedComInterfaceTests.cs | 48 ++++++++++++++++++- 2 files changed, 50 insertions(+), 2 deletions(-) diff --git a/src/libraries/System.Runtime.InteropServices/gen/ComInterfaceGenerator/Analyzers/ConvertComImportToGeneratedComInterfaceAnalyzer.cs b/src/libraries/System.Runtime.InteropServices/gen/ComInterfaceGenerator/Analyzers/ConvertComImportToGeneratedComInterfaceAnalyzer.cs index f9b96eb7e30184..6dbde4e9753c4a 100644 --- a/src/libraries/System.Runtime.InteropServices/gen/ComInterfaceGenerator/Analyzers/ConvertComImportToGeneratedComInterfaceAnalyzer.cs +++ b/src/libraries/System.Runtime.InteropServices/gen/ComInterfaceGenerator/Analyzers/ConvertComImportToGeneratedComInterfaceAnalyzer.cs @@ -64,6 +64,10 @@ public override void Initialize(AnalysisContext context) foreach (var method in type.GetMembers().OfType().Where(m => !m.IsStatic && m.IsAbstract)) { + // Non-ordinary methods (e.g., property/event accessors) are not supported by the COM generator. + if (method.MethodKind != MethodKind.Ordinary) + return; + // Ignore types with methods with unsupported returns if (method.ReturnsByRef || method.ReturnsByRefReadonly) return; diff --git a/src/libraries/System.Runtime.InteropServices/tests/ComInterfaceGenerator.Unit.Tests/ConvertToGeneratedComInterfaceTests.cs b/src/libraries/System.Runtime.InteropServices/tests/ComInterfaceGenerator.Unit.Tests/ConvertToGeneratedComInterfaceTests.cs index e224f16b87d1af..35c5e120f55c77 100644 --- a/src/libraries/System.Runtime.InteropServices/tests/ComInterfaceGenerator.Unit.Tests/ConvertToGeneratedComInterfaceTests.cs +++ b/src/libraries/System.Runtime.InteropServices/tests/ComInterfaceGenerator.Unit.Tests/ConvertToGeneratedComInterfaceTests.cs @@ -161,7 +161,7 @@ public interface [|INoString|] string fixedSource = """ using System.Runtime.InteropServices; using System.Runtime.InteropServices.Marshalling; - + [GeneratedComInterface(StringMarshalling = StringMarshalling.Custom, StringMarshallingCustomType = typeof(BStrStringMarshaller))] [Guid("5DA39CDF-DCAD-447A-836E-EA80DB34D81B")] [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)] @@ -408,7 +408,7 @@ public partial interface I [return: MarshalAs(UnmanagedType.Error)] HResult Foo(); } - + [StructLayout(LayoutKind.Sequential)] public struct HResult { @@ -456,5 +456,49 @@ public interface IInterfaceIsIInspectable await VerifyCS.VerifyCodeFixAsync(source, source); } + + [Fact] + public async Task Property() + { + // Properties are not supported at this time. + // Make sure we don't offer a fix in this scenario. + string source = """ + using System.Runtime.InteropServices; + + [ComImport] + [Guid("5DA39CDF-DCAD-447A-836E-EA80DB34D81B")] + [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)] + public interface I + { + int Prop + { + get; + } + } + """; + + await VerifyCS.VerifyCodeFixAsync(source, source); + } + + [Fact] + public async Task Event() + { + // Events are not supported at this time. + // Make sure we don't offer a fix in this scenario. + string source = """ + using System; + using System.Runtime.InteropServices; + + [ComImport] + [Guid("5DA39CDF-DCAD-447A-836E-EA80DB34D81B")] + [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)] + public interface I + { + event Action Evt; + } + """; + + await VerifyCS.VerifyCodeFixAsync(source, source); + } } } From 556caa4a1124eafd4ecac1a9c49e727d1a165e37 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 14 Nov 2025 18:32:34 -0500 Subject: [PATCH 22/33] [release/9.0-staging] [mono] Fix crash while debugging AOT'ed app. (#117891) Backport of #117627 to release/9.0-staging /cc @thaystg ## Customer Impact - [ ] Customer reported - [X] Found internally We initially backported this change to 10, but held off because there were no reported issues with .NET 9. That has changed with https://devdiv.visualstudio.com/DevDiv/_workitems/edit/2604939 where we were able to reproduce the issue. The change fixes a crash in debugger by adding a null check around TLS data before dereferencing a pointer. ## Regression - [ ] Yes - [X] No [If yes, specify when the regression was introduced. Provide the PR or commit if known.] ## Testing Manually tested a default iOS SDK application ## Risk Low **IMPORTANT**: If this backport is for a servicing release, please verify that: - The PR target branch is `release/X.0-staging`, not `release/X.0`. ## Package authoring no longer needed in .NET 9 **IMPORTANT**: Starting with .NET 9, you no longer need to edit a NuGet package's csproj to enable building and bump the version. Keep in mind that we still need package authoring in .NET 8 and older versions. Co-authored-by: Thays Grazia Co-authored-by: Larry Ewing --- src/mono/mono/component/debugger-agent.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mono/mono/component/debugger-agent.c b/src/mono/mono/component/debugger-agent.c index 82b4633ae73a21..480dead33d5451 100644 --- a/src/mono/mono/component/debugger-agent.c +++ b/src/mono/mono/component/debugger-agent.c @@ -4124,7 +4124,7 @@ jit_end (MonoProfiler *prof, MonoMethod *method, MonoJitInfo *jinfo) if (assembly) { DebuggerTlsData *tls; tls = (DebuggerTlsData *)mono_native_tls_get_value (debugger_tls_id); - if (!CHECK_ICORDBG (TRUE) || tls->invoke == NULL) { + if (!CHECK_ICORDBG (TRUE) || !tls || tls->invoke == NULL) { process_profiler_event (EVENT_KIND_ASSEMBLY_LOAD, assembly); } else { mono_dbg_assembly_load (prof, assembly); //send later From 930a7790ac715318ed513e076d06644c93027d18 Mon Sep 17 00:00:00 2001 From: Kevin Jones Date: Mon, 17 Nov 2025 18:29:29 -0500 Subject: [PATCH 23/33] [release/9.0-staging] Backport Replace test certificate chain that uses RSA+SHA-1 --- .../Cryptography/X509Certificates/TestData.cs | 433 ++++++++++++------ .../tests/X509Certificates/ChainTests.cs | 62 ++- .../tests/X509Certificates/CollectionTests.cs | 4 +- .../AuthorityKeyIdentifierTests.cs | 32 +- .../X509Certificates/MatchesHostnameTests.cs | 18 +- 5 files changed, 339 insertions(+), 210 deletions(-) diff --git a/src/libraries/Common/tests/System/Security/Cryptography/X509Certificates/TestData.cs b/src/libraries/Common/tests/System/Security/Cryptography/X509Certificates/TestData.cs index 610d623ba9f0d0..4eeb89bcc04a9c 100644 --- a/src/libraries/Common/tests/System/Security/Cryptography/X509Certificates/TestData.cs +++ b/src/libraries/Common/tests/System/Security/Cryptography/X509Certificates/TestData.cs @@ -1643,159 +1643,296 @@ public static SecureString CreatePfxDataPasswordSecureString() "09D7E3D4317079AF0CD0A8A49251AB129157F9894A036487").HexToByteArray(); internal static readonly byte[] MicrosoftDotComSslCertBytes = ( - "3082087930820661a00302010202136b000003f4e3a67a2348550c330000" + - "000003f4300d06092a864886f70d01010b0500304f310b30090603550406" + + "3082181a30821602a00302010202133302610d241f61f27343ab6aab0000" + + "02610d24300d06092a864886f70d01010c0500305d310b30090603550406" + "13025553311e301c060355040a13154d6963726f736f667420436f72706f" + - "726174696f6e3120301e060355040313174d6963726f736f667420525341" + - "20544c53204341203031301e170d3230303832383232313730325a170d32" + - "31303832383232313730325a308188310b3009060355040613025553310b" + - "30090603550408130257413110300e060355040713075265646d6f6e6431" + - "1e301c060355040a13154d6963726f736f667420436f72706f726174696f" + - "6e311e301c060355040b13154d6963726f736f667420436f72706f726174" + - "696f6e311a3018060355040313117777772e6d6963726f736f66742e636f" + - "6d30820122300d06092a864886f70d01010105000382010f003082010a02" + - "82010100c69ea6351173387784f57cd1af5de2b7e7752f954fc2fc66d045" + - "66be4922566ded721fdda0e23d6e542c4d5b663546a9410dc27818fbef40" + - "c2ceff2e3c9a6944fdcd5e62228a7e12b9a2beb6b52118d24e176991f1b0" + - "4465789607cb06cb2315cc1698ef140bb8962f0139854e21ea2ac0610723" + - "4034594aae4cf6e63d3f3c039a6f9e535721fce2347c055579ef73d04d12" + - "7c8f8c69c4889be5674a85aec9fe631fe9836aee734f21b0bdf88c16b462" + - "8ad735052849d98b497f4997733477827de4584ea01bca09572b40dcbc34" + - "ccd42af6c42214b8c6c3b5a708d8d40c8916bfec4e1d8da184de4342b40d" + - "8134189587b381c707d42719de822de64ff277c10203010001a382041230" + - "82040e30820104060a2b06010401d6790204020481f50481f200f0007600" + - "f65c942fd1773022145418083094568ee34d131933bfdf0c2f200bcc4ef1" + - "64e300000174372e743d0000040300473045022100930438131ebc6c1a6d" + - "b83517ebbfcfecb5dd5d4899edc83d5539a79f59382005022024609430a9" + - "cf09344c0f88b848adf62cbfd421ffe756b076f7263f2ff0cb00ed007600" + - "4494652eb0eeceafc44007d8a8fe28c0dae682bed8cb31b53fd33396b5b6" + - "81a800000174372e745000000403004730450221009bd86214f6f66215b8" + - "ca63e61f87dd1cf443af22dbeecec5ab2c6c16fc40b0ad0220267015da53" + - "5c1b557e8c8f9119a8c896d557a31277d9a87e9aee2ce6fdae979f302706" + - "092b060104018237150a041a3018300a06082b06010505070302300a0608" + - "2b06010505070301303d06092b06010401823715070430302e06262b0601" + - "04018237150887da867583eed90182c9851b81b59e6185f4eb60815db9f8" + - "108691d07802016402012330818706082b06010505070101047b30793053" + - "06082b060105050730028647687474703a2f2f7777772e6d6963726f736f" + - "66742e636f6d2f706b692f6d73636f72702f4d6963726f736f6674253230" + - "525341253230544c53253230434125323030312e637274302206082b0601" + - "05050730018616687474703a2f2f6f6373702e6d736f6373702e636f6d30" + - "1d0603551d0e041604148c75c331eb0496672786a7168161398fbc17bb38" + - "300b0603551d0f0404030204b03081990603551d1104819130818e821377" + - "777771612e6d6963726f736f66742e636f6d82117777772e6d6963726f73" + - "6f66742e636f6d8218737461746963766965772e6d6963726f736f66742e" + - "636f6d8211692e732d6d6963726f736f66742e636f6d820d6d6963726f73" + - "6f66742e636f6d8211632e732d6d6963726f736f66742e636f6d82157072" + - "69766163792e6d6963726f736f66742e636f6d3081b00603551d1f0481a8" + - "3081a53081a2a0819fa0819c864d687474703a2f2f6d7363726c2e6d6963" + - "726f736f66742e636f6d2f706b692f6d73636f72702f63726c2f4d696372" + - "6f736f6674253230525341253230544c53253230434125323030312e6372" + - "6c864b687474703a2f2f63726c2e6d6963726f736f66742e636f6d2f706b" + - "692f6d73636f72702f63726c2f4d6963726f736f66742532305253412532" + - "30544c53253230434125323030312e63726c30570603551d200450304e30" + - "4206092b0601040182372a013035303306082b0601050507020116276874" + - "74703a2f2f7777772e6d6963726f736f66742e636f6d2f706b692f6d7363" + - "6f72702f6370733008060667810c010202301f0603551d23041830168014" + - "b5760c3011cec792424d4cc75c2cc8a90ce80b64301d0603551d25041630" + - "1406082b0601050507030206082b06010505070301300d06092a864886f7" + - "0d01010b050003820201004a69de19b185c500841e607746e90c40e37298" + - "e16ea7c6d6f5517c2efbac51f7f5789213fcb61ba98093bfb17a73e47d78" + - "273e21c8fd47dbe992065ea83971b6704766dd561f530d15d58acde25d91" + - "13322a3ca2b1d6bcf454879738a5c350f675e019dd5f67637d0c9265279e" + - "d528d2e532f5f131f80133251ab58e3bcb018bdd75ba608f348a53a27931" + - "2e68ae08aa26cc521f9db5b30743d94c7eb49c10563a07379a9cb0d8f48c" + - "c5efc960bf331d0a9ba43e059f07cfdeb2c3a09e9ef2c0611c5dd6b7af7c" + - "ecfa99942291d1971eac307fa598570e150d3d2aa07e2e66303d6c1c52e1" + - "d8dc08b4b1f79898f442ea41e520b1240ecad11eef25fcc4e7a8f76bb2b4" + - "6c1bf084f14d3ab84c5ee27b5623280ccceb086d700f07139b792202cfca" + - "76da55075097d7b1e4011a1008fec3f48750d15b06290da418c9b7460fd8" + - "0e0e2ca0b8b360ba60f411512ecc38a301d2943b48c193cc25cf160007ad" + - "1c30c7cd98a4571ca68295727a3bf95ab76e1020c45ee16e661530c88bf5" + - "26e56b4d038eb8882940d78e82038484a3ea581c86bd0d7959d10e185174" + - "ec060030f3ad6541c4797a301aed40d42cd30fd21d7f0d58b6801e383c19" + - "0fd4bf9263f72c1ed260370b1add02cf6489898b8c3ae078cb04712d1d07" + - "3e84756b54b0281649eb9a05e05ef1e939184f9a9244471277b2dd11385d" + - "af125671c3331768048c27aed2").HexToByteArray(); + "726174696f6e312e302c060355040313254d6963726f736f667420417a75" + + "72652052534120544c532049737375696e67204341203038301e170d3235" + + "313030313035313731345a170d3236303333303035313731345a3064310b" + + "3009060355040613025553310b30090603550408130257413110300e0603" + + "55040713075265646d6f6e64311e301c060355040a13154d6963726f736f" + + "667420436f72706f726174696f6e311630140603550403130d6d6963726f" + + "736f66742e636f6d30820122300d06092a864886f70d0101010500038201" + + "0f003082010a0282010100c5b136196b05affe46996b6639b7c6b62e39ec" + + "11ba950e947686dad6fe29a3e16ff15aa33345631d6e85ea7e01bc5e12d7" + + "6f2c0eac51fb3f44eb35904629398563888d4709cbec93010b22b2d97589" + + "e5393f474e460b6693ea2036bbbc1d50e300c1a1b5ccdfc30896f2e9d13b" + + "6f232f17c793537594ca4ce7008b9c08d30944e6b4699919e7d079f5adb0" + + "bde4b069c0c9be99c85b8843a45b287bef5658074bcbfb158475740ba44c" + + "cbe11cf646c386d7c6f2ff038d64a7267197846655bd8838930dcd5fddbe" + + "ca136414b84ec0a2532f8b68997e434cfe054068c4ae9b4a103f7680d3a1" + + "a718a40390d70be44c5eb1ed2bc7c626519c103ada4fead6ff5941020301" + + "0001a38213ca308213c63082017d060a2b06010401d6790204020482016d" + + "0482016901670076000e5794bcf3aea93e331b2c9907b3f790df9bc23d71" + + "3225dd21a925ac61c54e21000001999e3d3ed70000040300473045022063" + + "b8d9723c1019aaf04cf81db9f49990fc99326ae57fc7f22a1ab1b696dc84" + + "a40221009eef31b6d42182c5572b189e8e87f960b43cae66a1226ae9beec" + + "e9964a7dee7e0076006411c46ca412eca7891ca2022e00bcab4f2807d41e" + + "3527abeafed503c97dcdf0000001999e3d3f830000040300473045022014" + + "46af1d4037f0b8af665985c46b2c01c69eb05da359749963b05636057c35" + + "40022100852b0e08ae544b61cef8fbf7c917cf668433a38cdd09f8310aff" + + "84e40246a8bf007500969764bf555897adf743876837084277e9f03ad5f6" + + "a4f3366e46a43f0fcaa9c6000001999e3d3f3b000004030046304402206c" + + "7d1e193f0a4d81007fc8db44713bc6d1c04f870a2b90afba0b2ad5f9bf66" + + "77022055864f0d8eda1c57a7d367c20e2854fb3f3cb66fb3d8cc145e9158" + + "53d546bc5f302706092b060104018237150a041a3018300a06082b060105" + + "05070302300a06082b06010505070301303c06092b060104018237150704" + + "2f302d06252b060104018237150887bdd71b81e7eb4682819d2e8ed00c87" + + "f0da1d5d82abe73087edf11f02016402012d3081b406082b060105050701" + + "010481a73081a4307306082b060105050730028667687474703a2f2f7777" + + "772e6d6963726f736f66742e636f6d2f706b696f70732f63657274732f4d" + + "6963726f736f6674253230417a757265253230525341253230544c532532" + + "3049737375696e67253230434125323030382532302d253230787369676e" + + "2e637274302d06082b060105050730018621687474703a2f2f6f6e656f63" + + "73702e6d6963726f736f66742e636f6d2f6f637370301d0603551d0e0416" + + "04148e3d858c25c1e2b3f8972699653b96021d7f3a0a300e0603551d0f01" + + "01ff0404030205a030820fd20603551d1104820fc930820fc5820d6d6963" + + "726f736f66742e636f6d820f732e6d6963726f736f66742e636f6d821067" + + "612e6d6963726f736f66742e636f6d82116165702e6d6963726f736f6674" + + "2e636f6d82116165722e6d6963726f736f66742e636f6d82116772762e6d" + + "6963726f736f66742e636f6d82116875702e6d6963726f736f66742e636f" + + "6d82116d61632e6d6963726f736f66742e636f6d82116d6b622e6d696372" + + "6f736f66742e636f6d8211706d652e6d6963726f736f66742e636f6d8211" + + "706d692e6d6963726f736f66742e636f6d82117273732e6d6963726f736f" + + "66742e636f6d82117361722e6d6963726f736f66742e636f6d821174636f" + + "2e6d6963726f736f66742e636f6d8212667573652e6d6963726f736f6674" + + "2e636f6d82126965616b2e6d6963726f736f66742e636f6d82126d616332" + + "2e6d6963726f736f66742e636f6d82126d6373702e6d6963726f736f6674" + + "2e636f6d82126f70656e2e6d6963726f736f66742e636f6d821273686f70" + + "2e6d6963726f736f66742e636f6d8212737075722e6d6963726f736f6674" + + "2e636f6d8213697470726f2e6d6963726f736f66742e636f6d82136d616e" + + "676f2e6d6963726f736f66742e636f6d82136d757369632e6d6963726f73" + + "6f66742e636f6d821370796d65732e6d6963726f736f66742e636f6d8213" + + "73746f72652e6d6963726f736f66742e636f6d82146165746865722e6d69" + + "63726f736f66742e636f6d8214616c657274732e6d6963726f736f66742e" + + "636f6d821464657369676e2e6d6963726f736f66742e636f6d8214676172" + + "6167652e6d6963726f736f66742e636f6d82146769676a616d2e6d696372" + + "6f736f66742e636f6d82146d73637465632e6d6963726f736f66742e636f" + + "6d82146f6e6c696e652e6d6963726f736f66742e636f6d82147374726561" + + "6d2e6d6963726f736f66742e636f6d82156166666c696e6b2e6d6963726f" + + "736f66742e636f6d8215636f6e6e6563742e6d6963726f736f66742e636f" + + "6d8215646576656c6f702e6d6963726f736f66742e636f6d8215646f6d61" + + "696e732e6d6963726f736f66742e636f6d82156578616d706c652e6d6963" + + "726f736f66742e636f6d82156d6164656972612e6d6963726f736f66742e" + + "636f6d82156d73646e6973762e6d6963726f736f66742e636f6d82156d73" + + "70726573732e6d6963726f736f66742e636f6d82157777772e6165702e6d" + + "6963726f736f66742e636f6d82157777772e6165722e6d6963726f736f66" + + "742e636f6d8215777777626574612e6d6963726f736f66742e636f6d8216" + + "627573696e6573732e6d6963726f736f66742e636f6d8216656d70726573" + + "61732e6d6963726f736f66742e636f6d82166c6561726e696e672e6d6963" + + "726f736f66742e636f6d82166d73646e77696b692e6d6963726f736f6674" + + "2e636f6d82166f70656e6e6573732e6d6963726f736f66742e636f6d8216" + + "70696e706f696e742e6d6963726f736f66742e636f6d8216736e61636b62" + + "6f782e6d6963726f736f66742e636f6d821673706f6e736f72732e6d6963" + + "726f736f66742e636f6d821673746174696f6e712e6d6963726f736f6674" + + "2e636f6d8217616973746f726965732e6d6963726f736f66742e636f6d82" + + "17636f6d6d756e6974792e6d6963726f736f66742e636f6d821763726177" + + "6c6d73646e2e6d6963726f736f66742e636f6d8217696f747363686f6f6c" + + "2e6d6963726f736f66742e636f6d82176d657373656e6765722e6d696372" + + "6f736f66742e636f6d82176d696e6563726166742e6d6963726f736f6674" + + "2e636f6d82186261636b6f66666963652e6d6963726f736f66742e636f6d" + + "8218656e74657270726973652e6d6963726f736f66742e636f6d8218696f" + + "7463656e7472616c2e6d6963726f736f66742e636f6d821870696e756e62" + + "6c6f636b2e6d6963726f736f66742e636f6d82187265726f757465343433" + + "2e6d6963726f736f66742e636f6d8219636f6d6d756e69746965732e6d69" + + "63726f736f66742e636f6d82196578706c6f72652d736d622e6d6963726f" + + "736f66742e636f6d821965787072657373696f6e732e6d6963726f736f66" + + "742e636f6d82196f6e6465726e656d6572732e6d6963726f736f66742e63" + + "6f6d82197465636861636164656d792e6d6963726f736f66742e636f6d82" + + "1974657272617365727665722e6d6963726f736f66742e636f6d821a636f" + + "6d6d756e6974696573322e6d6963726f736f66742e636f6d821a636f6e6e" + + "6563746576656e742e6d6963726f736f66742e636f6d821a64617461706c" + + "6174666f726d2e6d6963726f736f66742e636f6d821a656e747265707265" + + "6e6575722e6d6963726f736f66742e636f6d821a6878642e726573656172" + + "63682e6d6963726f736f66742e636f6d821a6d73706172746e6572697261" + + "2e6d6963726f736f66742e636f6d821a6d79646174616865616c74682e6d" + + "6963726f736f66742e636f6d821a6f656d636f6d6d756e6974792e6d6963" + + "726f736f66742e636f6d821a7265616c2d73746f726965732e6d6963726f" + + "736f66742e636f6d821a7777772e666f726d7370726f2e6d6963726f736f" + + "66742e636f6d821b6675747572656465636f6465642e6d6963726f736f66" + + "742e636f6d821b7570677261646563656e7465722e6d6963726f736f6674" + + "2e636f6d821c6c6561726e616e616c79746963732e6d6963726f736f6674" + + "2e636f6d821c6f6e6c696e656c6561726e696e672e6d6963726f736f6674" + + "2e636f6d821d627573696e65737363656e7472616c2e6d6963726f736f66" + + "742e636f6d821d636c6f75642d696d6d657273696f6e2e6d6963726f736f" + + "66742e636f6d821d73747564656e74706172746e6572732e6d6963726f73" + + "6f66742e636f6d821e616e616c7974696373706172746e65722e6d696372" + + "6f736f66742e636f6d821e627573696e657373706c6174666f726d2e6d69" + + "63726f736f66742e636f6d821e6578706c6f72652d73656375726974792e" + + "6d6963726f736f66742e636f6d821e6b6c65696e756e7465726e65686d65" + + "6e2e6d6963726f736f66742e636f6d821e706172746e6572636f6d6d756e" + + "6974792e6d6963726f736f66742e636f6d821f6578706c6f72652d6d6172" + + "6b6574696e672e6d6963726f736f66742e636f6d821f696e6e6f76617469" + + "6f6e636f6e746573742e6d6963726f736f66742e636f6d821f706172746e" + + "6572696e63656e74697665732e6d6963726f736f66742e636f6d821f7068" + + "6f656e6978636174616c6f677561742e6d6963726f736f66742e636f6d82" + + "1f737a6b6f6c7970727a79737a6c6f7363692e6d6963726f736f66742e63" + + "6f6d821f7777772e706f7765726175746f6d6174652e6d6963726f736f66" + + "742e636f6d822073756363657373696f6e706c616e6e696e672e6d696372" + + "6f736f66742e636f6d82226c756d6961636f6e766572736174696f6e7375" + + "6b2e6d6963726f736f66742e636f6d822373756363657373696f6e706c61" + + "6e6e696e677561742e6d6963726f736f66742e636f6d8224627573696e65" + + "73736d6f62696c69747963656e7465722e6d6963726f736f66742e636f6d" + + "8225736b797065616e647465616d732e66617374747261636b2e6d696372" + + "6f736f66742e636f6d82277777772e6d6963726f736f6674646c61706172" + + "746e65726f772e6d6963726f736f66742e636f6d8228636f6d6d65726369" + + "616c61707063657274696669636174696f6e2e6d6963726f736f66742e63" + + "6f6d82297777772e736b797065616e647465616d732e6661737474726163" + + "6b2e6d6963726f736f66742e636f6d822263656f636f6e6e656374696f6e" + + "732e6576656e742e6d6963726f736f66742e636f6d821862697a34616672" + + "696b612e6d6963726f736f66742e636f6d8216636173686261636b2e6d69" + + "63726f736f66742e636f6d821a7777772e636173686261636b2e6d696372" + + "6f736f66742e636f6d8213766973696f2e6d6963726f736f66742e636f6d" + + "8217696e736964656d73722e6d6963726f736f66742e636f6d821f646576" + + "656c6f70657276656c6f636974796173736573736d656e742e636f6d8223" + + "7777772e646576656c6f70657276656c6f636974796173736573736d656e" + + "742e636f6d820a6765617273352e636f6d820e7777772e6765617273352e" + + "636f6d82147777772e6765617273746163746963732e636f6d8210676561" + + "7273746163746963732e636f6d82116d31322e6d6963726f736f66742e63" + + "6f6d820c736565696e6761692e636f6d8218796f757263686f6963652e6d" + + "6963726f736f66742e636f6d82196d7674642e6576656e74732e6d696372" + + "6f736f66742e636f6d8215696d6167696e652e6d6963726f736f66742e63" + + "6f6d82106d6963726f736f66742e636f6d2e617582147777772e6d696372" + + "6f736f66742e636f6d2e6175821664796e616d6963732e6d6963726f736f" + + "66742e636f6d821b706f776572706c6174666f726d2e6d6963726f736f66" + + "742e636f6d8217706f776572617070732e6d6963726f736f66742e636f6d" + + "821b706f7765726175746f6d6174652e6d6963726f736f66742e636f6d82" + + "20706f7765727669727475616c6167656e74732e6d6963726f736f66742e" + + "636f6d8218706f77657270616765732e6d6963726f736f66742e636f6d82" + + "1f746573742e69646561732e6661627269632e6d6963726f736f66742e63" + + "6f6d82117364732e6d6963726f736f66742e636f6d82157070652e736473" + + "2e6d6963726f736f66742e636f6d821b7777772e6d6963726f736f667433" + + "3635636f70696c6f742e636f6d82107777772e6a636c61726974792e636f" + + "6d821b74656368696e6e6f7661746f727373706f746c696768742e636f6d" + + "821f7777772e74656368696e6e6f7661746f727373706f746c696768742e" + + "636f6d820a636f70696c6f742e616982156765746c6963656e73696e6772" + + "656164792e636f6d82197777772e6765746c6963656e73696e6772656164" + + "792e636f6d82146a706e2e64656c76652e6f66666963652e636f6d821461" + + "75732e64656c76652e6f66666963652e636f6d8214696e642e64656c7665" + + "2e6f66666963652e636f6d82146b6f722e64656c76652e6f66666963652e" + + "636f6d8216636f6272612e6d652e6d6963726f736f66742e636f6d821777" + + "77772e627573696e65737363656e7472616c2e636f6d8213627573696e65" + + "737363656e7472616c2e636f6d821c6d7361696461746173747564696f2e" + + "6f66666963657070652e6e6574821a69646561732e6661627269632e6d69" + + "63726f736f66742e636f6d820c7777772e6370742e6c696e6b8208637074" + + "2e6c696e6b820c796172702e646f742e6e657482136d6963726f736f6674" + + "73747265616d2e636f6d82177777772e6d6963726f736f66747374726561" + + "6d2e636f6d82177765622e6d6963726f736f667473747265616d2e636f6d" + + "8213646973636f7665722e636f70696c6f742e6169820b636f70696c6f74" + + "2e636f6d820f7777772e636f70696c6f742e636f6d8214646973636f7665" + + "722e636f70696c6f742e636f6d821b7265736561726368666f72756d2e6d" + + "6963726f736f66742e636f6d300c0603551d130101ff04023000306a0603" + + "551d1f04633061305fa05da05b8659687474703a2f2f7777772e6d696372" + + "6f736f66742e636f6d2f706b696f70732f63726c2f4d6963726f736f6674" + + "253230417a757265253230525341253230544c5325323049737375696e67" + + "253230434125323030382e63726c30660603551d20045f305d3051060c2b" + + "0601040182374c837d01013041303f06082b060105050702011633687474" + + "703a2f2f7777772e6d6963726f736f66742e636f6d2f706b696f70732f44" + + "6f63732f5265706f7369746f72792e68746d3008060667810c010202301f" + + "0603551d23041830168014f67e2fbd80a34ab2705bebdf9a1fd8edca6180" + + "07301d0603551d250416301406082b0601050507030206082b0601050507" + + "0301300d06092a864886f70d01010c050003820201005fc651b8586fc73c" + + "d99453a8bdb56ee14cb64a5c31e9e2a9df2d81e13c0a96b2d707845d0d8f" + + "54ac8847769a22bc9abdbe68b29e85831ae2acc1e1b2b9563fa26bccb6f7" + + "92b83cd5f15e5160e75f4880c889dae43f6204082574871c8725e05ebe09" + + "28e548a071976e6b6b5ed8be7739bfee62f0b62bcf9adee028fac306316f" + + "f0ea3597db75565bf52946baefa23bfe34823ee831328282302907f42d06" + + "0dd5d54d3464dbf49270b836d612ac5085aea50f08d750b977dd2a127ae2" + + "fb54cde54277496847d40872767a012a8884c02522b48b8c547ddde9c210" + + "0eeea8b8eb97b70448d306bbae97e8f8ce311344cffa85b5f9efd0a82b10" + + "c835ab2275725ee3981ebae7479e52a7c5d544da5021a4e407cfcfedcbf0" + + "a87002b0c5fdec304214b5c0fcf91d2e3a93c54095508caf6fcbcd94ebe9" + + "463d8671c4720345a6aa890e82d0da6bd91dfe7b2017db28a2f8805d2058" + + "01c24ba79b1b7fae8a39370499db2a001390638d52642d446628bdfe0ecf" + + "ac9768af2ee74d938c5867231ad1102ab7c142dde30caa8ed4d878dbd1e5" + + "a50443053bc032fc740a794cf0d8f08427e8fd50199ebb24b91554bbb2e6" + + "a22d919df822440cd9e8a9cd7e063c2c30a17a93fd58a2ff24ae1b409a4b" + + "84a2d14f7fc197db879bd98938ca1a02c5fa09ba78ea7abd4e09263a8175" + + "c3c3aa6eb10f8c7155e6be3c6e7395a5e7cde7451adaa587").HexToByteArray(); internal static readonly byte[] MicrosoftDotComIssuerBytes = ( - "3082055a30820442a00302010202100f14965f202069994fd5c7ac788941" + - "e2300d06092a864886f70d01010b0500305a310b30090603550406130249" + - "4531123010060355040a130942616c74696d6f726531133011060355040b" + - "130a43796265725472757374312230200603550403131942616c74696d6f" + - "7265204379626572547275737420526f6f74301e170d3230303732313233" + - "303030305a170d3234313030383037303030305a304f310b300906035504" + - "0613025553311e301c060355040a13154d6963726f736f667420436f7270" + - "6f726174696f6e3120301e060355040313174d6963726f736f6674205253" + - "4120544c5320434120303130820222300d06092a864886f70d0101010500" + - "0382020f003082020a0282020100aa6277cf9a63b20684f39036f499f314" + - "51abea950a3b4606fd11411ffe5b0658c9386e08fc4f4448cd3aa4f7bd1e" + - "a2e295b8be5120c5bfb270635d780c43c029cd64490996daafcefd055f2b" + - "2a91e8016e2e189b2c9cd0017f69f5ee3f53885cba056cbe2215671482f2" + - "2cd2be5b6337ccaf6085e8966b6b8008a86ebe009c6b9570fce41812b11d" + - "1bb2c11331673334e625c9625b58827576f2fef23f3b16dfaa4283e3326d" + - "9b8e4326f0bd0e1fa1a73aaf2cc88ae6ea3ff9a5d2258f92aa1a08129cfe" + - "ac4ac7c3eb8094ab8716d12349e7a4bbc791dfe679343f414aa73a26d2ea" + - "6f46e33873e6e5d491ae0b789e78a5ef96e373d8f79565e905bf4f5cff52" + - "a7f9cf08afa74d0999c071a3527aa53bd79b015403e3b662b05a279c3026" + - "8eb64d56a117177a7b95a107ac5331b6d62e0fcd4174ecf101b2fd45bffc" + - "31e146423136431eb9aa055f847f91b18bae0fd754c3fdf064086ad39c8e" + - "ea7934ec033d73e01b36d46811c75970b0877cc0dc6e45ca36ce43267702" + - "a9700de8b857544442c3fbac1b632608c2d2231f7f930b7c6f08549a2b4e" + - "5dce9fa53ed2985bd102dbf183ce3052483863f1b1fbed23d33e92b5278d" + - "d04273d79d236871ba595e0752a6964dbf7c4e6f742205c0538016d8604e" + - "97314f894e4863d8edf9e5c2d90eb20bf6694cbd4b01c9cbdd06bf3a02eb" + - "1cdd308b0d4a1460f9d5644f4344a1ed0203010001a38201253082012130" + - "1d0603551d0e04160414b5760c3011cec792424d4cc75c2cc8a90ce80b64" + - "301f0603551d23041830168014e59d5930824758ccacfa085436867b3ab5" + - "044df0300e0603551d0f0101ff040403020186301d0603551d2504163014" + - "06082b0601050507030106082b0601050507030230120603551d130101ff" + - "040830060101ff020100303406082b060105050701010428302630240608" + - "2b060105050730018618687474703a2f2f6f6373702e6469676963657274" + - "2e636f6d303a0603551d1f04333031302fa02da02b8629687474703a2f2f" + - "63726c332e64696769636572742e636f6d2f4f6d6e69726f6f7432303235" + - "2e63726c302a0603551d20042330213008060667810c0102013008060667" + - "810c010202300b06092b0601040182372a01300d06092a864886f70d0101" + - "0b050003820101009f2bbe92675bda7b8aade8ff9d4d050eedb60d1541d1" + - "e615dc0360f9f422569c48f99daeda2b3ca8c0abd0ba95b8c8c1fd7c6371" + - "b6c87a889b3046a38e7d9602e3f82204efe036c06fc2bf2e0d6eedd67628" + - "0d81873e9be7a7108cda661f4051eae7bebf4e6798bb5459636f42e30f31" + - "601964000f260c97d184c0a67a193b70de4526dc96463d9c663fe13a8238" + - "e53603042857a4e94b64a218886d60898d7abe10918bace63f3130bfeb64" + - "d79e8de9c192566e388d343faecd6c6b4252623cd46989e0a057590b839f" + - "c6722442f5080384ce1663f334f105763719b206de133e137061d304f2b8" + - "476f05e38a88302b47455e7954c5f9ddebfa3f785175d25b").HexToByteArray(); + "308205ac30820494a00302010202100efb7e547edf0ff1069aee57696d7b" + + "a0300d06092a864886f70d01010c05003061310b30090603550406130255" + + "5331153013060355040a130c446967694365727420496e63311930170603" + + "55040b13107777772e64696769636572742e636f6d3120301e0603550403" + + "1317446967694365727420476c6f62616c20526f6f74204732301e170d32" + + "33303630383030303030305a170d3236303832353233353935395a305d31" + + "0b3009060355040613025553311e301c060355040a13154d6963726f736f" + + "667420436f72706f726174696f6e312e302c060355040313254d6963726f" + + "736f667420417a7572652052534120544c532049737375696e6720434120" + + "303830820222300d06092a864886f70d01010105000382020f003082020a" + + "0282020100b2ee8205cdc0d56556e899666d4b0ac05fc2e2297b1b09cc2e" + + "14bec51e40f99baee896639d4ee78e2a1344479ca416cfe678a1b57f0cdd" + + "df9ffe435f8a4f1715f3d2085e612bb52b23f045aeeeb74401562760c15b" + + "b2dab090854d128cf838833cda19fe379a79ef390718fa20cc5e9338f454" + + "38af3263208f7aa9c7be85691396f49192f8413f1b7728524506d4b14892" + + "68eb85e72dde67d55cf766da0e4858ec21591364e12cbbf93d0d16c732e8" + + "b77b75f1ddaf40fe71dbd2349fa345b23dfb27677f107fd9e9afe5840573" + + "2a37d896819c43520fc831081a1f606099cc2c566251b9bf1819a5a4a56b" + + "f0cd37396282474b6145b7e753a528b24af01ab1020279e88c5114c3e8fc" + + "8ba8052c13565ed04eb58be097c48708254a514525e1839f479cc5e0e90a" + + "8ab26e51b3a607600e98b8d824871a6c3bf131c9abca14229e883effe8e0" + + "1c99d8eb6a29812b6475a22630fcf22c1ed9696567c6945db4528ed59bc6" + + "91979136f6cf014291da435e927ba1dcdb45bf3d9d637c4fec07e1c8b13f" + + "b7cbd6ef69c0ce544acfef8bef40a00af8ffc9e39b3f06803c3776b19d28" + + "8f6bbf37e93a7a01aad387be1815be418092a09e5e018dfa8a5d1fbbb758" + + "487603a3b441e5a3d32ea9f26e9f3031e01ab5c6a073c53d38ce3682110b" + + "4da585011bb2a029a0a91ef2f1f014f4d8e172aae6ebed17ceffefccc7e1" + + "2f8525a5fd46ef0203010001a38201623082015e30120603551d130101ff" + + "040830060101ff020100301d0603551d0e04160414f67e2fbd80a34ab270" + + "5bebdf9a1fd8edca618007301f0603551d230418301680144e2254201895" + + "e6e36ee60ffafab912ed06178f39300e0603551d0f0101ff040403020186" + + "301d0603551d250416301406082b0601050507030106082b060105050703" + + "02307606082b06010505070101046a3068302406082b0601050507300186" + + "18687474703a2f2f6f6373702e64696769636572742e636f6d304006082b" + + "060105050730028634687474703a2f2f636163657274732e646967696365" + + "72742e636f6d2f4469676943657274476c6f62616c526f6f7447322e6372" + + "7430420603551d1f043b30393037a035a0338631687474703a2f2f63726c" + + "332e64696769636572742e636f6d2f4469676943657274476c6f62616c52" + + "6f6f7447322e63726c301d0603551d20041630143008060667810c010201" + + "3008060667810c010202300d06092a864886f70d01010c05000382010100" + + "968001701f7809e1fa0d62b06b8e79d014f32f19531d536c79027949eb67" + + "3e906e3cd2cf80e2def58ed9327e192ba9a17de2bb4623336a7e1417d083" + + "e6b1774dc09ebe8dc8c6b755f987c1c2f95b198bfee89997de600c95a51b" + + "db7636a4e3688b114910e70030a291e799920b95b89d0ea30dfa7b432ff9" + + "d38310a5d8c97e593dd111ec21919754fc3f25d6c1a74c3aa436f8a390aa" + + "c9d999a9932b12f6c6935a7c91e8059017a4a7fe5655f77ce81747db1b3e" + + "18a3b7872880f2206b0421897eaae28db467666eeae7ec9d5c5de38490c9" + + "59fc56e4405864126b533fdafbc2bfefc063c08f33d95609a46e2deabe28" + + "b4e181e6c1320cf0f0ab1d34468baef2").HexToByteArray(); internal static readonly byte[] MicrosoftDotComRootBytes = ( - "308203773082025fa0030201020204020000b9300d06092a864886f70d01" + - "01050500305a310b300906035504061302494531123010060355040a1309" + - "42616c74696d6f726531133011060355040b130a43796265725472757374" + - "312230200603550403131942616c74696d6f726520437962657254727573" + - "7420526f6f74301e170d3030303531323138343630305a170d3235303531" + - "323233353930305a305a310b300906035504061302494531123010060355" + - "040a130942616c74696d6f726531133011060355040b130a437962657254" + - "72757374312230200603550403131942616c74696d6f7265204379626572" + - "547275737420526f6f7430820122300d06092a864886f70d010101050003" + - "82010f003082010a0282010100a304bb22ab983d57e826729ab579d429e2" + - "e1e89580b1b0e35b8e2b299a64dfa15dedb009056ddb282ece62a262feb4" + - "88da12eb38eb219dc0412b01527b8877d31c8fc7bab988b56a09e773e811" + - "40a7d1ccca628d2de58f0ba650d2a850c328eaf5ab25878a9a961ca967b8" + - "3f0cd5f7f952132fc21bd57070f08fc012ca06cb9ae1d9ca337a77d6f8ec" + - "b9f16844424813d2c0c2a4ae5e60feb6a605fcb4dd075902d459189863f5" + - "a563e0900c7d5db2067af385eaebd403ae5e843e5fff15ed69bcf9393672" + - "75cf77524df3c9902cb93de5c923533f1f2498215c079929bdc63aece76e" + - "863a6b97746333bd681831f0788d76bffc9e8e5d2a86a74d90dc271a3902" + - "03010001a3453043301d0603551d0e04160414e59d5930824758ccacfa08" + - "5436867b3ab5044df030120603551d130101ff040830060101ff02010330" + - "0e0603551d0f0101ff040403020106300d06092a864886f70d0101050500" + - "0382010100850c5d8ee46f51684205a0ddbb4f27258403bdf764fd2dd730" + - "e3a41017ebda2929b6793f76f6191323b8100af958a4d46170bd04616a12" + - "8a17d50abdc5bc307cd6e90c258d86404feccca37e38c637114feddd6831" + - "8e4cd2b30174eebe755e07481a7f70ff165c84c07985b805fd7fbe6511a3" + - "0fc002b4f852373904d5a9317a18bfa02af41299f7a34582e33c5ef59d9e" + - "b5c89e7c2ec8a49e4e08144b6dfd706d6b1a63bd64e61fb7cef0f29f2ebb" + - "1bb7f250887392c2e2e3168d9a3202ab8e18dde91011ee7e35ab90af3e30" + - "947ad0333da7650ff5fc8e9e62cf47442c015dbb1db532d247d2382ed0fe" + - "81dc326a1eb5ee3cd5fce7811d19c32442ea6339a9").HexToByteArray(); + "3082038e30820276a0030201020210033af1e6a711a9a0bb2864b11d09fa" + + "e5300d06092a864886f70d01010b05003061310b30090603550406130255" + + "5331153013060355040a130c446967694365727420496e63311930170603" + + "55040b13107777772e64696769636572742e636f6d3120301e0603550403" + + "1317446967694365727420476c6f62616c20526f6f74204732301e170d31" + + "33303830313132303030305a170d3338303131353132303030305a306131" + + "0b300906035504061302555331153013060355040a130c44696769436572" + + "7420496e6331193017060355040b13107777772e64696769636572742e63" + + "6f6d3120301e06035504031317446967694365727420476c6f62616c2052" + + "6f6f7420473230820122300d06092a864886f70d01010105000382010f00" + + "3082010a0282010100bb37cd34dc7b6bc9b26890ad4a75ff46ba210a088d" + + "f51954c9fb88dbf3aef23a89913c7ae6ab061a6bcfac2de85e092444ba62" + + "9a7ed6a3a87ee054752005ac50b79c631a6c30dcda1f19b1d71edefdd7e0" + + "cb948337aeec1f434edd7b2cd2bd2ea52fe4a9b8ad3ad499a4b625e99b6b" + + "00609260ff4f214918f76790ab61069c8ff2bae9b4e992326bb5f357e85d" + + "1bcd8c1dab95049549f3352d96e3496ddd77e3fb494bb4ac5507a98f95b3" + + "b423bb4c6d45f0f6a9b29530b4fd4c558c274a57147c829dcd7392d3164a" + + "060c8c50d18f1e09be17a1e621cafd83e510bc83a50ac46728f67314143d" + + "4676c387148921344daf0f450ca649a1babb9cc5b1338329850203010001" + + "a3423040300f0603551d130101ff040530030101ff300e0603551d0f0101" + + "ff040403020186301d0603551d0e041604144e2254201895e6e36ee60ffa" + + "fab912ed06178f39300d06092a864886f70d01010b050003820101006067" + + "28946f0e4863eb31ddea6718d5897d3cc58b4a7fe9bedb2b17dfb05f7377" + + "2a3213398167428423f2456735ec88bff88fb0610c34a4ae204c84c6dbf8" + + "35e176d9dfa642bbc74408867f3674245ada6c0d145935bdf249ddb61fc9" + + "b30d472a3d992fbb5cbbb5d420e1995f534615db689bf0f330d53e31e28d" + + "849ee38adada963e3513a55ff0f970507047411157194ec08fae06c49513" + + "172f1b259f75f2b18e99a16f13b14171fe882ac84f102055d7f31445e5e0" + + "44f4ea879532930efe5346fa2c9dff8b22b94bd90945a4dea4b89a58dd1b" + + "7d529f8e59438881a49e26d56faddd0dc6377ded03921be5775f76ee3c8d" + + "c45d565ba2d9666eb33537e532b6").HexToByteArray(); internal static readonly byte[] Rsa384CertificatePemBytes = ByteUtils.AsciiBytes( @"-----BEGIN CERTIFICATE----- diff --git a/src/libraries/System.Security.Cryptography/tests/X509Certificates/ChainTests.cs b/src/libraries/System.Security.Cryptography/tests/X509Certificates/ChainTests.cs index a9b209003ec496..eb4f24d9b9f113 100644 --- a/src/libraries/System.Security.Cryptography/tests/X509Certificates/ChainTests.cs +++ b/src/libraries/System.Security.Cryptography/tests/X509Certificates/ChainTests.cs @@ -24,7 +24,7 @@ private static bool TrustsMicrosoftDotComRoot using (var chainHolder = new ChainHolder()) { X509Chain chain = chainHolder.Chain; - chain.ChainPolicy.VerificationTime = new DateTime(2021, 02, 26, 12, 01, 01, DateTimeKind.Local); + chain.ChainPolicy.VerificationTime = new DateTime(2025, 12, 25, 12, 01, 01, DateTimeKind.Local); chain.ChainPolicy.RevocationMode = X509RevocationMode.NoCheck; return chain.Build(microsoftDotCom); @@ -50,7 +50,7 @@ public static void BuildChain() // Halfway between microsoftDotCom's NotBefore and NotAfter // This isn't a boundary condition test. - chain.ChainPolicy.VerificationTime = new DateTime(2021, 02, 26, 12, 01, 01, DateTimeKind.Local); + chain.ChainPolicy.VerificationTime = new DateTime(2025, 12, 25, 12, 01, 01, DateTimeKind.Local); chain.ChainPolicy.RevocationMode = X509RevocationMode.NoCheck; bool valid = chain.Build(microsoftDotCom); @@ -82,7 +82,7 @@ public static void VerifyChainFromHandle() chain.ChainPolicy.ExtraStore.Add(microsoftDotComRoot); chain.ChainPolicy.ExtraStore.Add(microsoftDotComIssuer); chain.ChainPolicy.VerificationFlags = X509VerificationFlags.AllowUnknownCertificateAuthority; - chain.ChainPolicy.VerificationTime = new DateTime(2021, 02, 26, 12, 01, 01, DateTimeKind.Local); + chain.ChainPolicy.VerificationTime = new DateTime(2025, 12, 25, 12, 01, 01, DateTimeKind.Local); chain.ChainPolicy.RevocationMode = X509RevocationMode.NoCheck; bool valid = chain.Build(microsoftDotCom); @@ -113,7 +113,7 @@ public static void VerifyChainFromHandle() // Re-set the ChainPolicy properties chain2.ChainPolicy.VerificationFlags = X509VerificationFlags.AllowUnknownCertificateAuthority; - chain2.ChainPolicy.VerificationTime = new DateTime(2021, 02, 26, 12, 01, 01, DateTimeKind.Local); + chain2.ChainPolicy.VerificationTime = new DateTime(2025, 12, 25, 12, 01, 01, DateTimeKind.Local); chain2.ChainPolicy.RevocationMode = X509RevocationMode.NoCheck; valid = chain2.Build(microsoftDotCom); @@ -137,7 +137,7 @@ public static void VerifyChainFromHandle_Unix() chain.ChainPolicy.ExtraStore.Add(microsoftDotComIssuer); chain.ChainPolicy.VerificationFlags = X509VerificationFlags.AllowUnknownCertificateAuthority; - chain.ChainPolicy.VerificationTime = new DateTime(2021, 02, 26, 12, 01, 01, DateTimeKind.Local); + chain.ChainPolicy.VerificationTime = new DateTime(2025, 12, 25, 12, 01, 01, DateTimeKind.Local); chain.ChainPolicy.RevocationMode = X509RevocationMode.NoCheck; bool valid = chain.Build(microsoftDotCom); @@ -159,7 +159,7 @@ public static void TestDispose() { chain = chainHolder.Chain; chain.ChainPolicy.VerificationFlags = X509VerificationFlags.AllowUnknownCertificateAuthority; - chain.ChainPolicy.VerificationTime = new DateTime(2021, 02, 26, 12, 01, 01, DateTimeKind.Local); + chain.ChainPolicy.VerificationTime = new DateTime(2025, 12, 25, 12, 01, 01, DateTimeKind.Local); chain.ChainPolicy.RevocationMode = X509RevocationMode.NoCheck; chain.Build(microsoftDotCom); @@ -288,11 +288,7 @@ public static void SystemTrustCertificateWithCustomRootTrust(bool addCertificate // Check some known conditions. - if (OperatingSystem.IsLinux() || PlatformDetection.IsApplePlatform26OrLater) - { - Assert.Equal(2, chain.ChainElements.Count); - } - else if (PlatformDetection.IsApplePlatform) + if (OperatingSystem.IsLinux() || PlatformDetection.IsApplePlatform) { Assert.Equal(3, chain.ChainElements.Count); } @@ -314,10 +310,6 @@ public static IEnumerable BuildChainCustomTrustStoreData() { // Android doesn't support an empty custom root X509ChainStatusFlags flags = X509ChainStatusFlags.UntrustedRoot; - if (!SignatureSupport.SupportsX509Sha1Signatures) - { - flags |= X509ChainStatusFlags.NotSignatureValid; - } yield return new object[] { false, flags, BuildChainCustomTrustStoreTestArguments.TrustedIntermediateUntrustedRoot }; } @@ -427,30 +419,24 @@ public static void Invalidx509ChainTrustMode(int trustMode) public static IEnumerable VerifyExpirationData() { // The test will be using the chain for TestData.MicrosoftDotComSslCertBytes - // The leaf cert (microsoft.com) is valid from 2020-08-28 22:17:02Z to 2021-08-28 22:17:02Z - DateTime[] validTimes = - { - // The NotBefore value - new DateTime(2020, 08, 28, 22, 17, 02, DateTimeKind.Utc), - - // One second before the NotAfter value - new DateTime(2021, 08, 28, 22, 17, 01, DateTimeKind.Utc), - }; + DateTime notBefore = new DateTime(2025, 10, 01, 05, 17, 14, DateTimeKind.Utc); + DateTime notAfter = new DateTime(2026, 03, 30, 05, 17, 14, DateTimeKind.Utc); // The NotAfter value as a boundary condition differs on Windows and OpenSSL. // Windows considers it valid (<= NotAfter). // OpenSSL considers it invalid (< NotAfter), with a comment along the lines of // "it'll be invalid in a millisecond, why bother with the <=" // So that boundary condition is not being tested. + DateTime[] validTimes = [notBefore, notAfter.AddSeconds(-1)]; DateTime[] invalidTimes = - { + [ // One second before the NotBefore time - new DateTime(2020, 08, 28, 22, 17, 01, DateTimeKind.Utc), + notBefore.AddSeconds(-1), // One second after the NotAfter time - new DateTime(2021, 08, 28, 22, 17, 03, DateTimeKind.Utc), - }; + notAfter.AddSeconds(1) + ]; List testCases = new List((validTimes.Length + invalidTimes.Length) * 3); @@ -502,7 +488,10 @@ public static void VerifyExpiration_LocalTime(DateTime verificationTime, bool sh bool builtSuccessfully = chain.Build(microsoftDotCom); - Assert.Equal(shouldBeValid, builtSuccessfully); + if (shouldBeValid != builtSuccessfully) + { + Assert.Fail($"Expected chain validity to be '{shouldBeValid}' but was '{builtSuccessfully}'. Chain flags: '{chain.AllStatusFlags()}'."); + } // If we failed to build the chain, validate the chain status if (!shouldBeValid) @@ -656,11 +645,14 @@ public static void BuildChain_FailOnlyApplicationPolicy() X509ChainStatusFlags.NoError, (a, status) => a | status.Status)); - Assert.Equal( - X509ChainStatusFlags.NotValidForUsage, - holder.Chain.ChainElements[2].ChainElementStatus.Aggregate( - X509ChainStatusFlags.NoError, - (a, status) => a | status.Status)); + if (!PlatformDetection.IsWindows) + { + Assert.Equal( + X509ChainStatusFlags.NotValidForUsage, + holder.Chain.ChainElements[2].ChainElementStatus.Aggregate( + X509ChainStatusFlags.NoError, + (a, status) => a | status.Status)); + } } } @@ -748,7 +740,7 @@ public static void BuildChain_MicrosoftDotCom_WithRootCertInUserAndSystemRootCer } X509Chain chainValidator = chainHolder.Chain; - chainValidator.ChainPolicy.VerificationTime = new DateTime(2021, 02, 26, 12, 01, 01, DateTimeKind.Local); + chainValidator.ChainPolicy.VerificationTime = new DateTime(2025, 12, 25, 12, 01, 01, DateTimeKind.Local); chainValidator.ChainPolicy.RevocationMode = X509RevocationMode.NoCheck; bool chainBuildResult = chainValidator.Build(microsoftDotCom); diff --git a/src/libraries/System.Security.Cryptography/tests/X509Certificates/CollectionTests.cs b/src/libraries/System.Security.Cryptography/tests/X509Certificates/CollectionTests.cs index caf9ed53ea1be8..a779b5f6338f75 100644 --- a/src/libraries/System.Security.Cryptography/tests/X509Certificates/CollectionTests.cs +++ b/src/libraries/System.Security.Cryptography/tests/X509Certificates/CollectionTests.cs @@ -904,7 +904,7 @@ public static void X509ChainElementCollection_CopyTo_NonZeroLowerBound_ThrowsInd // Halfway between microsoftDotCom's NotBefore and NotAfter // This isn't a boundary condition test. - chain.ChainPolicy.VerificationTime = new DateTime(2021, 02, 26, 12, 01, 01, DateTimeKind.Local); + chain.ChainPolicy.VerificationTime = new DateTime(2025, 12, 25, 12, 01, 01, DateTimeKind.Local); bool valid = chain.Build(microsoftDotCom); Assert.True(valid, "Precondition: Chain built validly"); @@ -1318,7 +1318,7 @@ public static void X509ChainElementCollection_IndexerVsEnumerator() // Halfway between microsoftDotCom's NotBefore and NotAfter // This isn't a boundary condition test. - chain.ChainPolicy.VerificationTime = new DateTime(2021, 02, 26, 12, 01, 01, DateTimeKind.Local); + chain.ChainPolicy.VerificationTime = new DateTime(2025, 12, 25, 12, 01, 01, DateTimeKind.Local); chain.ChainPolicy.RevocationMode = X509RevocationMode.NoCheck; bool valid = chain.Build(microsoftDotCom); diff --git a/src/libraries/System.Security.Cryptography/tests/X509Certificates/ExtensionsTests/AuthorityKeyIdentifierTests.cs b/src/libraries/System.Security.Cryptography/tests/X509Certificates/ExtensionsTests/AuthorityKeyIdentifierTests.cs index 520d52cbc85123..aea774d4b6968d 100644 --- a/src/libraries/System.Security.Cryptography/tests/X509Certificates/ExtensionsTests/AuthorityKeyIdentifierTests.cs +++ b/src/libraries/System.Security.Cryptography/tests/X509Certificates/ExtensionsTests/AuthorityKeyIdentifierTests.cs @@ -91,14 +91,14 @@ public static void CreateKeyIdOnlyFromCertificate() } Assert.False(akid.Critical, "akid.Critical"); - Assert.Equal("30168014B5760C3011CEC792424D4CC75C2CC8A90CE80B64", akid.RawData.ByteArrayToHex()); + Assert.Equal("30168014F67E2FBD80A34AB2705BEBDF9A1FD8EDCA618007", akid.RawData.ByteArrayToHex()); Assert.False(akid.RawIssuer.HasValue, "akid.RawIssuer.HasValue"); Assert.Null(akid.NamedIssuer); Assert.False(akid.SerialNumber.HasValue, "akid.SerialNumber.HasValue"); Assert.True(akid.KeyIdentifier.HasValue, "akid.KeyIdentifier.HasValue"); Assert.Equal( - "B5760C3011CEC792424D4CC75C2CC8A90CE80B64", + "F67E2FBD80A34AB2705BEBDF9A1FD8EDCA618007", akid.KeyIdentifier.GetValueOrDefault().ByteArrayToHex()); } @@ -128,10 +128,10 @@ public static void CreateIssuerAndSerialFromCertificate() Assert.False(akid.KeyIdentifier.HasValue, "akid.KeyIdentifier.HasValue"); const string ExpectedHex = - "3072A15EA45C305A310B300906035504061302494531123010060355040A1309" + - "42616C74696D6F726531133011060355040B130A437962657254727573743122" + - "30200603550403131942616C74696D6F7265204379626572547275737420526F" + - "6F7482100F14965F202069994FD5C7AC788941E2"; + "3079A165A4633061310B300906035504061302555331153013060355040A130C" + + "446967694365727420496E6331193017060355040B13107777772E6469676963" + + "6572742E636F6D3120301E06035504031317446967694365727420476C6F6261" + + "6C20526F6F7420473282100EFB7E547EDF0FF1069AEE57696D7BA0"; Assert.Equal(ExpectedHex, akid.RawData.ByteArrayToHex()); } @@ -162,15 +162,15 @@ public static void CreateFullFromCertificate() Assert.True(akid.KeyIdentifier.HasValue, "akid.KeyIdentifier.HasValue"); Assert.Equal( - "B5760C3011CEC792424D4CC75C2CC8A90CE80B64", + "F67E2FBD80A34AB2705BEBDF9A1FD8EDCA618007", akid.KeyIdentifier.GetValueOrDefault().ByteArrayToHex()); const string ExpectedHex = - "3081888014B5760C3011CEC792424D4CC75C2CC8A90CE80B64A15EA45C305A31" + - "0B300906035504061302494531123010060355040A130942616C74696D6F7265" + - "31133011060355040B130A437962657254727573743122302006035504031319" + - "42616C74696D6F7265204379626572547275737420526F6F7482100F14965F20" + - "2069994FD5C7AC788941E2"; + "30818F8014F67E2FBD80A34AB2705BEBDF9A1FD8EDCA618007A165A463306131" + + "0B300906035504061302555331153013060355040A130C446967694365727420" + + "496E6331193017060355040B13107777772E64696769636572742E636F6D3120" + + "301E06035504031317446967694365727420476C6F62616C20526F6F74204732" + + "82100EFB7E547EDF0FF1069AEE57696D7BA0"; Assert.Equal(ExpectedHex, akid.RawData.ByteArrayToHex()); } @@ -517,10 +517,10 @@ public static void CreateIssuerAndSerial(bool fromArray) Assert.False(akid.KeyIdentifier.HasValue, "akid.KeyIdentifier.HasValue"); const string ExpectedHex = - "3072A15EA45C305A310B300906035504061302494531123010060355040A1309" + - "42616C74696D6F726531133011060355040B130A437962657254727573743122" + - "30200603550403131942616C74696D6F7265204379626572547275737420526F" + - "6F7482100F14965F202069994FD5C7AC788941E2"; + "3079A165A4633061310B300906035504061302555331153013060355040A130C" + + "446967694365727420496E6331193017060355040B13107777772E6469676963" + + "6572742E636F6D3120301E06035504031317446967694365727420476C6F6261" + + "6C20526F6F7420473282100EFB7E547EDF0FF1069AEE57696D7BA0"; Assert.Equal(ExpectedHex, akid.RawData.ByteArrayToHex()); } diff --git a/src/libraries/System.Security.Cryptography/tests/X509Certificates/MatchesHostnameTests.cs b/src/libraries/System.Security.Cryptography/tests/X509Certificates/MatchesHostnameTests.cs index aeccf2c9db7629..8e8a70025e4230 100644 --- a/src/libraries/System.Security.Cryptography/tests/X509Certificates/MatchesHostnameTests.cs +++ b/src/libraries/System.Security.Cryptography/tests/X509Certificates/MatchesHostnameTests.cs @@ -15,17 +15,17 @@ public static class MatchesHostnameTests [InlineData("fruit.example", false)] [InlineData("127.0.0.1", false)] [InlineData("microsoft.com", true)] - [InlineData("www.microsoft.com", true)] - [InlineData("wwwqa.microsoft.com", true)] + [InlineData("www.microsoft.com.au", true)] + [InlineData("copilot.ai", true)] [InlineData("wwwqa2.microsoft.com", false)] - [InlineData("staticview.microsoft.com", true)] - [InlineData("c.s-microsoft.com", true)] - [InlineData("i.s-microsoft.com", true)] - [InlineData("j.s-microsoft.com", false)] + [InlineData("yarp.dot.net", true)] + [InlineData("explore-smb.microsoft.com", true)] + [InlineData("real-stories.microsoft.com", true)] + [InlineData("ghost-stories.microsoft.com", false)] [InlineData("s-microsoft.com", false)] - [InlineData("privacy.microsoft.com", true)] - [InlineData("more.privacy.microsoft.com", false)] - [InlineData("moreprivacy.microsoft.com", false)] + [InlineData("discover.copilot.com", true)] + [InlineData("more.discover.copilot.com", false)] + [InlineData("morediscover.copilot.com", false)] public static void MicrosoftDotComSslMatchesHostname(string candidate, bool expected) { using (X509Certificate2 cert = new X509Certificate2(TestData.MicrosoftDotComSslCertBytes)) From 4f25f80dca877b498773493b691616854535be27 Mon Sep 17 00:00:00 2001 From: "dotnet-maestro[bot]" <42748379+dotnet-maestro[bot]@users.noreply.github.com> Date: Thu, 20 Nov 2025 15:01:52 +0000 Subject: [PATCH 24/33] [release/9.0-staging] Update dependencies from dotnet/cecil (#121725) This pull request updates the following dependencies [marker]: <> (Begin:b609d3b5-ab6f-473c-9ce1-f266baef16fc) ## From https://github.com/dotnet/cecil - **Subscription**: [b609d3b5-ab6f-473c-9ce1-f266baef16fc](https://maestro.dot.net/subscriptions?search=b609d3b5-ab6f-473c-9ce1-f266baef16fc) - **Build**: [20251116.3](https://dev.azure.com/dnceng/internal/_build/results?buildId=2840716) ([291085](https://maestro.dot.net/channel/3883/github:dotnet:cecil/build/291085)) - **Date Produced**: November 17, 2025 5:40:30 AM UTC - **Commit**: [60faa90ec95fd499f8aba4b7d212da1993b7ee15](https://github.com/dotnet/cecil/commit/60faa90ec95fd499f8aba4b7d212da1993b7ee15) - **Branch**: [release/9.0](https://github.com/dotnet/cecil/tree/release/9.0) [DependencyUpdate]: <> (Begin) - **Dependency Updates**: - From [0.11.5-alpha.25563.2 to 0.11.5-alpha.25566.3][1] - Microsoft.SourceBuild.Intermediate.cecil - Microsoft.DotNet.Cecil [1]: https://github.com/dotnet/cecil/compare/0b1a2e363a...60faa90ec9 [DependencyUpdate]: <> (End) [marker]: <> (End:b609d3b5-ab6f-473c-9ce1-f266baef16fc) Co-authored-by: dotnet-maestro[bot] --- NuGet.config | 1 - eng/Version.Details.xml | 8 ++++---- eng/Versions.props | 2 +- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/NuGet.config b/NuGet.config index 54267704432aad..04c60be9de534f 100644 --- a/NuGet.config +++ b/NuGet.config @@ -9,7 +9,6 @@ - diff --git a/eng/Version.Details.xml b/eng/Version.Details.xml index b4c07921c173fe..ded94fa77b748b 100644 --- a/eng/Version.Details.xml +++ b/eng/Version.Details.xml @@ -54,14 +54,14 @@ 803d8598f98fb4efd94604b32627ee9407f246db - + https://github.com/dotnet/cecil - 0b1a2e363a2e54e3e31e88672b6def6d86164c5d + 60faa90ec95fd499f8aba4b7d212da1993b7ee15 - + https://github.com/dotnet/cecil - 0b1a2e363a2e54e3e31e88672b6def6d86164c5d + 60faa90ec95fd499f8aba4b7d212da1993b7ee15 diff --git a/eng/Versions.props b/eng/Versions.props index 09fba3d8de60fa..d280dda4b6da5a 100644 --- a/eng/Versions.props +++ b/eng/Versions.props @@ -223,7 +223,7 @@ 9.0.0-preview-20241010.1 - 0.11.5-alpha.25563.2 + 0.11.5-alpha.25566.3 9.0.0-rtm.24511.16 From 81d9bea73a2d78c848bbde6b827914f20bb5dccf Mon Sep 17 00:00:00 2001 From: "dotnet-maestro[bot]" <42748379+dotnet-maestro[bot]@users.noreply.github.com> Date: Thu, 20 Nov 2025 15:04:00 +0000 Subject: [PATCH 25/33] [release/9.0-staging] Update dependencies from dotnet/roslyn (#121724) This pull request updates the following dependencies [marker]: <> (Begin:60694bfc-fbc6-40d6-af1a-4c5dac51a701) ## From https://github.com/dotnet/roslyn - **Subscription**: [60694bfc-fbc6-40d6-af1a-4c5dac51a701](https://maestro.dot.net/subscriptions?search=60694bfc-fbc6-40d6-af1a-4c5dac51a701) - **Build**: [20251119.8](https://dev.azure.com/dnceng/internal/_build/results?buildId=2842956) ([291511](https://maestro.dot.net/channel/4906/github:dotnet:roslyn/build/291511)) - **Date Produced**: November 19, 2025 8:53:26 PM UTC - **Commit**: [dc344ef24932dcd53cdd24c15364a5996bc6a675](https://github.com/dotnet/roslyn/commit/dc344ef24932dcd53cdd24c15364a5996bc6a675) - **Branch**: [release/dev17.12](https://github.com/dotnet/roslyn/tree/release/dev17.12) [DependencyUpdate]: <> (Begin) - **Dependency Updates**: - From [4.12.0-3.25561.11 to 4.12.0-3.25569.8][2] - Microsoft.SourceBuild.Intermediate.roslyn - Microsoft.CodeAnalysis - Microsoft.CodeAnalysis.CSharp - Microsoft.Net.Compilers.Toolset [2]: https://github.com/dotnet/roslyn/compare/272651916a...dc344ef249 [DependencyUpdate]: <> (End) [marker]: <> (End:60694bfc-fbc6-40d6-af1a-4c5dac51a701) --------- Co-authored-by: dotnet-maestro[bot] --- eng/Version.Details.xml | 16 ++++++++-------- eng/Versions.props | 6 +++--- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/eng/Version.Details.xml b/eng/Version.Details.xml index ded94fa77b748b..c7006b5a7577e4 100644 --- a/eng/Version.Details.xml +++ b/eng/Version.Details.xml @@ -360,17 +360,17 @@ https://github.com/dotnet/runtime-assets 7ace84ca21dc53ca1e9c5d6f6d02b8245461eabf - + https://github.com/dotnet/roslyn - 272651916acd264189724508f884596017e84afc + dc344ef24932dcd53cdd24c15364a5996bc6a675 - + https://github.com/dotnet/roslyn - 272651916acd264189724508f884596017e84afc + dc344ef24932dcd53cdd24c15364a5996bc6a675 - + https://github.com/dotnet/roslyn - 272651916acd264189724508f884596017e84afc + dc344ef24932dcd53cdd24c15364a5996bc6a675 https://github.com/dotnet/roslyn-analyzers @@ -381,9 +381,9 @@ 16865ea61910500f1022ad2b96c499e5df02c228 - + https://github.com/dotnet/roslyn - 272651916acd264189724508f884596017e84afc + dc344ef24932dcd53cdd24c15364a5996bc6a675 diff --git a/eng/Versions.props b/eng/Versions.props index d280dda4b6da5a..a4d267554e8aa5 100644 --- a/eng/Versions.props +++ b/eng/Versions.props @@ -44,9 +44,9 @@ Any tools that contribute to the design-time experience should use the MicrosoftCodeAnalysisVersion_LatestVS property above to ensure they do not break the local dev experience. --> - 4.12.0-3.25561.11 - 4.12.0-3.25561.11 - 4.12.0-3.25561.11 + 4.12.0-3.25569.8 + 4.12.0-3.25569.8 + 4.12.0-3.25569.8 - 9.0.0-prerelease.25517.1 - 9.0.0-prerelease.25517.1 - 9.0.0-prerelease.25517.1 + 9.0.0-prerelease.25564.2 + 9.0.0-prerelease.25564.2 + 9.0.0-prerelease.25564.2 9.0.0-alpha.0.25516.2 3.12.0 From 7b46d58e388ee35a077c68ceae9f1f9c38a77915 Mon Sep 17 00:00:00 2001 From: "dotnet-maestro[bot]" <42748379+dotnet-maestro[bot]@users.noreply.github.com> Date: Thu, 20 Nov 2025 15:06:45 +0000 Subject: [PATCH 27/33] [release/9.0-staging] Update dependencies from dotnet/icu (#121678) This pull request updates the following dependencies [marker]: <> (Begin:5e3f9b88-faad-436c-a580-ac009d20bb33) ## From https://github.com/dotnet/icu - **Subscription**: [5e3f9b88-faad-436c-a580-ac009d20bb33](https://maestro.dot.net/subscriptions?search=5e3f9b88-faad-436c-a580-ac009d20bb33) - **Build**: [20251115.2](https://dev.azure.com/dnceng/internal/_build/results?buildId=2839874) ([291020](https://maestro.dot.net/channel/3883/github:dotnet:icu/build/291020)) - **Date Produced**: November 15, 2025 5:14:48 PM UTC - **Commit**: [e3a37f4e3820fe5f8dd98440b128854e486d1888](https://github.com/dotnet/icu/commit/e3a37f4e3820fe5f8dd98440b128854e486d1888) - **Branch**: [dotnet/release/9.0](https://github.com/dotnet/icu/tree/dotnet/release/9.0) [DependencyUpdate]: <> (Begin) - **Dependency Updates**: - From [9.0.0-rtm.25530.1 to 9.0.0-rtm.25565.2][1] - Microsoft.NETCore.Runtime.ICU.Transport [1]: https://github.com/dotnet/icu/compare/76f42e5d2c...e3a37f4e38 [DependencyUpdate]: <> (End) [marker]: <> (End:5e3f9b88-faad-436c-a580-ac009d20bb33) Co-authored-by: dotnet-maestro[bot] --- eng/Version.Details.xml | 4 ++-- eng/Versions.props | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/eng/Version.Details.xml b/eng/Version.Details.xml index 9f6f68cc03ea9e..922d822d55d862 100644 --- a/eng/Version.Details.xml +++ b/eng/Version.Details.xml @@ -1,8 +1,8 @@ - + https://github.com/dotnet/icu - 76f42e5d2c84cb2358793ef33826bc65140ee3fb + e3a37f4e3820fe5f8dd98440b128854e486d1888 https://github.com/dotnet/msquic diff --git a/eng/Versions.props b/eng/Versions.props index b0b4e5ea26f491..b0a2d4e47cfdb5 100644 --- a/eng/Versions.props +++ b/eng/Versions.props @@ -227,7 +227,7 @@ 9.0.0-rtm.24511.16 - 9.0.0-rtm.25530.1 + 9.0.0-rtm.25565.2 9.0.0-rtm.24466.4 2.4.8 From 504ce9c926d220f86a3180fb212a4ee68e5b6b5b Mon Sep 17 00:00:00 2001 From: "dotnet-maestro[bot]" <42748379+dotnet-maestro[bot]@users.noreply.github.com> Date: Thu, 20 Nov 2025 15:08:11 +0000 Subject: [PATCH 28/33] [release/9.0-staging] Update dependencies from dotnet/runtime-assets (#121677) This pull request updates the following dependencies [marker]: <> (Begin:e06e39ae-771e-498d-7895-08dcbc301dc2) ## From https://github.com/dotnet/runtime-assets - **Subscription**: [e06e39ae-771e-498d-7895-08dcbc301dc2](https://maestro.dot.net/subscriptions?search=e06e39ae-771e-498d-7895-08dcbc301dc2) - **Build**: [20251115.2](https://dev.azure.com/dnceng/internal/_build/results?buildId=2839871) ([291017](https://maestro.dot.net/channel/3883/github:dotnet:runtime-assets/build/291017)) - **Date Produced**: November 15, 2025 4:49:22 PM UTC - **Commit**: [91ea918f8fb26ec1d290283e5c5eeb1b003113da](https://github.com/dotnet/runtime-assets/commit/91ea918f8fb26ec1d290283e5c5eeb1b003113da) - **Branch**: [release/9.0](https://github.com/dotnet/runtime-assets/tree/release/9.0) [DependencyUpdate]: <> (Begin) - **Dependency Updates**: - From [9.0.0-beta.25516.2 to 9.0.0-beta.25565.2][1] - Microsoft.DotNet.CilStrip.Sources - System.ComponentModel.TypeConverter.TestData - System.Data.Common.TestData - System.Drawing.Common.TestData - System.Formats.Tar.TestData - System.IO.Compression.TestData - System.IO.Packaging.TestData - System.Net.TestData - System.Private.Runtime.UnicodeData - System.Runtime.Numerics.TestData - System.Runtime.TimeZoneData - System.Security.Cryptography.X509Certificates.TestData - System.Text.RegularExpressions.TestData - System.Windows.Extensions.TestData [1]: https://github.com/dotnet/runtime-assets/compare/7ace84ca21...91ea918f8f [DependencyUpdate]: <> (End) [marker]: <> (End:e06e39ae-771e-498d-7895-08dcbc301dc2) Co-authored-by: dotnet-maestro[bot] --- eng/Version.Details.xml | 56 ++++++++++++++++++++--------------------- eng/Versions.props | 28 ++++++++++----------- 2 files changed, 42 insertions(+), 42 deletions(-) diff --git a/eng/Version.Details.xml b/eng/Version.Details.xml index 922d822d55d862..25c0c73e6b6da9 100644 --- a/eng/Version.Details.xml +++ b/eng/Version.Details.xml @@ -174,57 +174,57 @@ https://github.com/dotnet/arcade 9eaf7b289d5003a94ee23658f057a6c06ddcd570 - + https://github.com/dotnet/runtime-assets - 7ace84ca21dc53ca1e9c5d6f6d02b8245461eabf + 91ea918f8fb26ec1d290283e5c5eeb1b003113da - + https://github.com/dotnet/runtime-assets - 7ace84ca21dc53ca1e9c5d6f6d02b8245461eabf + 91ea918f8fb26ec1d290283e5c5eeb1b003113da - + https://github.com/dotnet/runtime-assets - 7ace84ca21dc53ca1e9c5d6f6d02b8245461eabf + 91ea918f8fb26ec1d290283e5c5eeb1b003113da - + https://github.com/dotnet/runtime-assets - 7ace84ca21dc53ca1e9c5d6f6d02b8245461eabf + 91ea918f8fb26ec1d290283e5c5eeb1b003113da - + https://github.com/dotnet/runtime-assets - 7ace84ca21dc53ca1e9c5d6f6d02b8245461eabf + 91ea918f8fb26ec1d290283e5c5eeb1b003113da - + https://github.com/dotnet/runtime-assets - 7ace84ca21dc53ca1e9c5d6f6d02b8245461eabf + 91ea918f8fb26ec1d290283e5c5eeb1b003113da - + https://github.com/dotnet/runtime-assets - 7ace84ca21dc53ca1e9c5d6f6d02b8245461eabf + 91ea918f8fb26ec1d290283e5c5eeb1b003113da - + https://github.com/dotnet/runtime-assets - 7ace84ca21dc53ca1e9c5d6f6d02b8245461eabf + 91ea918f8fb26ec1d290283e5c5eeb1b003113da - + https://github.com/dotnet/runtime-assets - 7ace84ca21dc53ca1e9c5d6f6d02b8245461eabf + 91ea918f8fb26ec1d290283e5c5eeb1b003113da - + https://github.com/dotnet/runtime-assets - 7ace84ca21dc53ca1e9c5d6f6d02b8245461eabf + 91ea918f8fb26ec1d290283e5c5eeb1b003113da - + https://github.com/dotnet/runtime-assets - 7ace84ca21dc53ca1e9c5d6f6d02b8245461eabf + 91ea918f8fb26ec1d290283e5c5eeb1b003113da - + https://github.com/dotnet/runtime-assets - 7ace84ca21dc53ca1e9c5d6f6d02b8245461eabf + 91ea918f8fb26ec1d290283e5c5eeb1b003113da - + https://github.com/dotnet/runtime-assets - 7ace84ca21dc53ca1e9c5d6f6d02b8245461eabf + 91ea918f8fb26ec1d290283e5c5eeb1b003113da https://github.com/dotnet/llvm-project @@ -356,9 +356,9 @@ https://github.com/dotnet/hotreload-utils 6190778452c8e5e7092aecd64679c0ce39f87529 - + https://github.com/dotnet/runtime-assets - 7ace84ca21dc53ca1e9c5d6f6d02b8245461eabf + 91ea918f8fb26ec1d290283e5c5eeb1b003113da https://github.com/dotnet/roslyn diff --git a/eng/Versions.props b/eng/Versions.props index b0a2d4e47cfdb5..95fb380e7d94b1 100644 --- a/eng/Versions.props +++ b/eng/Versions.props @@ -147,20 +147,20 @@ 8.0.0 4.5.4 - 9.0.0-beta.25516.2 - 9.0.0-beta.25516.2 - 9.0.0-beta.25516.2 - 9.0.0-beta.25516.2 - 9.0.0-beta.25516.2 - 9.0.0-beta.25516.2 - 9.0.0-beta.25516.2 - 9.0.0-beta.25516.2 - 9.0.0-beta.25516.2 - 9.0.0-beta.25516.2 - 9.0.0-beta.25516.2 - 9.0.0-beta.25516.2 - 9.0.0-beta.25516.2 - 9.0.0-beta.25516.2 + 9.0.0-beta.25565.2 + 9.0.0-beta.25565.2 + 9.0.0-beta.25565.2 + 9.0.0-beta.25565.2 + 9.0.0-beta.25565.2 + 9.0.0-beta.25565.2 + 9.0.0-beta.25565.2 + 9.0.0-beta.25565.2 + 9.0.0-beta.25565.2 + 9.0.0-beta.25565.2 + 9.0.0-beta.25565.2 + 9.0.0-beta.25565.2 + 9.0.0-beta.25565.2 + 9.0.0-beta.25565.2 1.0.0-prerelease.24462.2 1.0.0-prerelease.24462.2 From 525dfe947094496bb78edf74bb93a7373938be60 Mon Sep 17 00:00:00 2001 From: "dotnet-maestro[bot]" <42748379+dotnet-maestro[bot]@users.noreply.github.com> Date: Thu, 20 Nov 2025 15:10:27 +0000 Subject: [PATCH 29/33] [release/9.0-staging] Update dependencies from dotnet/hotreload-utils (#121663) This pull request updates the following dependencies [marker]: <> (Begin:b458125c-6cf0-41ea-981d-2709b660d5c5) ## From https://github.com/dotnet/hotreload-utils - **Subscription**: [b458125c-6cf0-41ea-981d-2709b660d5c5](https://maestro.dot.net/subscriptions?search=b458125c-6cf0-41ea-981d-2709b660d5c5) - **Build**: [20251115.2](https://dev.azure.com/dnceng/internal/_build/results?buildId=2839875) ([291016](https://maestro.dot.net/channel/3883/github:dotnet:hotreload-utils/build/291016)) - **Date Produced**: November 15, 2025 4:39:42 PM UTC - **Commit**: [6e573ac4b374c5a60c364396b1e94d648f1f8245](https://github.com/dotnet/hotreload-utils/commit/6e573ac4b374c5a60c364396b1e94d648f1f8245) - **Branch**: [release/9.0](https://github.com/dotnet/hotreload-utils/tree/release/9.0) [DependencyUpdate]: <> (Begin) - **Dependency Updates**: - From [9.0.0-alpha.0.25516.2 to 9.0.0-alpha.0.25565.2][1] - Microsoft.DotNet.HotReload.Utils.Generator.BuildTool [1]: https://github.com/dotnet/hotreload-utils/compare/6190778452...6e573ac4b3 [DependencyUpdate]: <> (End) [marker]: <> (End:b458125c-6cf0-41ea-981d-2709b660d5c5) Co-authored-by: dotnet-maestro[bot] --- eng/Version.Details.xml | 4 ++-- eng/Versions.props | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/eng/Version.Details.xml b/eng/Version.Details.xml index 25c0c73e6b6da9..12f8259f9344cf 100644 --- a/eng/Version.Details.xml +++ b/eng/Version.Details.xml @@ -352,9 +352,9 @@ https://dev.azure.com/dnceng/internal/_git/dotnet-optimization 9d7532585ce71e30ab55f0364d3cecccaf0775d1 - + https://github.com/dotnet/hotreload-utils - 6190778452c8e5e7092aecd64679c0ce39f87529 + 6e573ac4b374c5a60c364396b1e94d648f1f8245 https://github.com/dotnet/runtime-assets diff --git a/eng/Versions.props b/eng/Versions.props index 95fb380e7d94b1..c17308ff4ff9cc 100644 --- a/eng/Versions.props +++ b/eng/Versions.props @@ -195,7 +195,7 @@ 9.0.0-prerelease.25564.2 9.0.0-prerelease.25564.2 - 9.0.0-alpha.0.25516.2 + 9.0.0-alpha.0.25565.2 3.12.0 4.5.0 6.0.0 From a2494f99f288097191ab6a8d3cbc0680a1f6a9eb Mon Sep 17 00:00:00 2001 From: "dotnet-maestro[bot]" <42748379+dotnet-maestro[bot]@users.noreply.github.com> Date: Wed, 26 Nov 2025 11:24:11 -0500 Subject: [PATCH 30/33] [release/9.0-staging] Update dependencies from dotnet/icu (#121944) This pull request updates the following dependencies [marker]: <> (Begin:5e3f9b88-faad-436c-a580-ac009d20bb33) ## From https://github.com/dotnet/icu - **Subscription**: [5e3f9b88-faad-436c-a580-ac009d20bb33](https://maestro.dot.net/subscriptions?search=5e3f9b88-faad-436c-a580-ac009d20bb33) - **Build**: [20251124.1](https://dev.azure.com/dnceng/internal/_build/results?buildId=2846433) ([292103](https://maestro.dot.net/channel/3883/github:dotnet:icu/build/292103)) - **Date Produced**: November 24, 2025 4:37:47 PM UTC - **Commit**: [e18dd5d9e047367be7486ab66636b892cbe24a67](https://github.com/dotnet/icu/commit/e18dd5d9e047367be7486ab66636b892cbe24a67) - **Branch**: [dotnet/release/9.0](https://github.com/dotnet/icu/tree/dotnet/release/9.0) [DependencyUpdate]: <> (Begin) - **Dependency Updates**: - From [9.0.0-rtm.25565.2 to 9.0.0-rtm.25574.1][1] - Microsoft.NETCore.Runtime.ICU.Transport [1]: https://github.com/dotnet/icu/compare/e3a37f4e38...e18dd5d9e0 [DependencyUpdate]: <> (End) [marker]: <> (End:5e3f9b88-faad-436c-a580-ac009d20bb33) Co-authored-by: dotnet-maestro[bot] --- eng/Version.Details.xml | 4 ++-- eng/Versions.props | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/eng/Version.Details.xml b/eng/Version.Details.xml index 12f8259f9344cf..bf3012a9fdc26e 100644 --- a/eng/Version.Details.xml +++ b/eng/Version.Details.xml @@ -1,8 +1,8 @@ - + https://github.com/dotnet/icu - e3a37f4e3820fe5f8dd98440b128854e486d1888 + e18dd5d9e047367be7486ab66636b892cbe24a67 https://github.com/dotnet/msquic diff --git a/eng/Versions.props b/eng/Versions.props index c17308ff4ff9cc..003cb21152a834 100644 --- a/eng/Versions.props +++ b/eng/Versions.props @@ -227,7 +227,7 @@ 9.0.0-rtm.24511.16 - 9.0.0-rtm.25565.2 + 9.0.0-rtm.25574.1 9.0.0-rtm.24466.4 2.4.8 From 100e27bcb1a604815996d2163c4a524a74d9bad5 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 1 Dec 2025 21:33:38 +0000 Subject: [PATCH 31/33] [release/9.0-staging] Don't assume all S_IFREG files are seekable (#120838) Backport of #120736 to release/9.0-staging /cc @rzikm ## Customer Impact None, the change is in Debug build only and doesn't affect shipped product. ## Regression No, test failures started after adding/updating AzureLinux3 OS in CI matrix. ## Testing CI passes. ## Risk Low, can be considered test-only change as the changes don't propagate to shipped product. --------- Co-authored-by: Radek Zikmund --- .../src/Microsoft/Win32/SafeHandles/SafeFileHandle.Unix.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/libraries/System.Private.CoreLib/src/Microsoft/Win32/SafeHandles/SafeFileHandle.Unix.cs b/src/libraries/System.Private.CoreLib/src/Microsoft/Win32/SafeHandles/SafeFileHandle.Unix.cs index 4029e70cef29e8..878eafb8c85291 100644 --- a/src/libraries/System.Private.CoreLib/src/Microsoft/Win32/SafeHandles/SafeFileHandle.Unix.cs +++ b/src/libraries/System.Private.CoreLib/src/Microsoft/Win32/SafeHandles/SafeFileHandle.Unix.cs @@ -344,7 +344,10 @@ private bool Init(string path, FileMode mode, FileAccess access, FileShare share // and for regular files (most common case) // avoid one extra sys call for determining whether file can be seeked _canSeek = NullableBool.True; - Debug.Assert(Interop.Sys.LSeek(this, 0, Interop.Sys.SeekWhence.SEEK_CUR) >= 0); + + // we exclude 0-length files from the assert because those may may be pseudofiles + // (e.g. /proc/net/route) and these are not seekable on all systems + Debug.Assert(status.Size == 0 || Interop.Sys.LSeek(this, 0, Interop.Sys.SeekWhence.SEEK_CUR) >= 0); } fileLength = status.Size; From fd6fdd42b9414e0f587c94dc0e9b9144fd87048f Mon Sep 17 00:00:00 2001 From: "dotnet-maestro[bot]" <42748379+dotnet-maestro[bot]@users.noreply.github.com> Date: Wed, 3 Dec 2025 13:11:43 +0000 Subject: [PATCH 32/33] [release/9.0-staging] Update dependencies from dotnet/hotreload-utils (#121928) This pull request updates the following dependencies [marker]: <> (Begin:b458125c-6cf0-41ea-981d-2709b660d5c5) ## From https://github.com/dotnet/hotreload-utils - **Subscription**: [b458125c-6cf0-41ea-981d-2709b660d5c5](https://maestro.dot.net/subscriptions?search=b458125c-6cf0-41ea-981d-2709b660d5c5) - **Build**: [20251124.4](https://dev.azure.com/dnceng/internal/_build/results?buildId=2846458) ([292102](https://maestro.dot.net/channel/3883/github:dotnet:hotreload-utils/build/292102)) - **Date Produced**: November 24, 2025 4:29:47 PM UTC - **Commit**: [81fc6af21b4133b2a5c5be0e6dc38b58048e732d](https://github.com/dotnet/hotreload-utils/commit/81fc6af21b4133b2a5c5be0e6dc38b58048e732d) - **Branch**: [release/9.0](https://github.com/dotnet/hotreload-utils/tree/release/9.0) [DependencyUpdate]: <> (Begin) - **Dependency Updates**: - From [9.0.0-alpha.0.25565.2 to 9.0.0-alpha.0.25574.4][1] - Microsoft.DotNet.HotReload.Utils.Generator.BuildTool [1]: https://github.com/dotnet/hotreload-utils/compare/6e573ac4b3...81fc6af21b [DependencyUpdate]: <> (End) [marker]: <> (End:b458125c-6cf0-41ea-981d-2709b660d5c5) Co-authored-by: dotnet-maestro[bot] --- eng/Version.Details.xml | 4 ++-- eng/Versions.props | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/eng/Version.Details.xml b/eng/Version.Details.xml index bf3012a9fdc26e..ebf206be5687ba 100644 --- a/eng/Version.Details.xml +++ b/eng/Version.Details.xml @@ -352,9 +352,9 @@ https://dev.azure.com/dnceng/internal/_git/dotnet-optimization 9d7532585ce71e30ab55f0364d3cecccaf0775d1 - + https://github.com/dotnet/hotreload-utils - 6e573ac4b374c5a60c364396b1e94d648f1f8245 + 81fc6af21b4133b2a5c5be0e6dc38b58048e732d https://github.com/dotnet/runtime-assets diff --git a/eng/Versions.props b/eng/Versions.props index 003cb21152a834..4e5e0e2dfebd89 100644 --- a/eng/Versions.props +++ b/eng/Versions.props @@ -195,7 +195,7 @@ 9.0.0-prerelease.25564.2 9.0.0-prerelease.25564.2 - 9.0.0-alpha.0.25565.2 + 9.0.0-alpha.0.25574.4 3.12.0 4.5.0 6.0.0 From 14f00aa2a28750ba2454a90f5a76f8fa35edfad8 Mon Sep 17 00:00:00 2001 From: "dotnet-maestro[bot]" <42748379+dotnet-maestro[bot]@users.noreply.github.com> Date: Wed, 3 Dec 2025 13:14:13 +0000 Subject: [PATCH 33/33] [release/9.0-staging] Update dependencies from dotnet/xharness (#121908) This pull request updates the following dependencies [marker]: <> (Begin:077f423f-1332-4108-a2ea-08dcc66548e6) ## From https://github.com/dotnet/xharness - **Subscription**: [077f423f-1332-4108-a2ea-08dcc66548e6](https://maestro.dot.net/subscriptions?search=077f423f-1332-4108-a2ea-08dcc66548e6) - **Build**: [20251120.2](https://dev.azure.com/dnceng/internal/_build/results?buildId=2843478) ([291594](https://maestro.dot.net/channel/5175/github:dotnet:xharness/build/291594)) - **Date Produced**: November 20, 2025 9:39:09 AM UTC - **Commit**: [3e74b96870050adc82beed3934abf93d40716012](https://github.com/dotnet/xharness/commit/3e74b96870050adc82beed3934abf93d40716012) - **Branch**: [release/9.0](https://github.com/dotnet/xharness/tree/release/9.0) [DependencyUpdate]: <> (Begin) - **Dependency Updates**: - From [9.0.0-prerelease.25564.2 to 9.0.0-prerelease.25570.2][1] - Microsoft.DotNet.XHarness.CLI - Microsoft.DotNet.XHarness.TestRunners.Common - Microsoft.DotNet.XHarness.TestRunners.Xunit [1]: https://github.com/dotnet/xharness/compare/bb1cfc0c87...3e74b96870 [DependencyUpdate]: <> (End) [marker]: <> (End:077f423f-1332-4108-a2ea-08dcc66548e6) Co-authored-by: dotnet-maestro[bot] Co-authored-by: Sam Patel <46026722+SamMonoRT@users.noreply.github.com> --- .config/dotnet-tools.json | 2 +- eng/Version.Details.xml | 12 ++++++------ eng/Versions.props | 6 +++--- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.config/dotnet-tools.json b/.config/dotnet-tools.json index bc23564e7f01fa..f1d0059d14badd 100644 --- a/.config/dotnet-tools.json +++ b/.config/dotnet-tools.json @@ -15,7 +15,7 @@ ] }, "microsoft.dotnet.xharness.cli": { - "version": "9.0.0-prerelease.25564.2", + "version": "9.0.0-prerelease.25570.2", "commands": [ "xharness" ] diff --git a/eng/Version.Details.xml b/eng/Version.Details.xml index ebf206be5687ba..9a92ab8ec45386 100644 --- a/eng/Version.Details.xml +++ b/eng/Version.Details.xml @@ -320,17 +320,17 @@ https://github.com/dotnet/runtime b030c4dfdfa1bf287f10f96006619a06bc2000ae - + https://github.com/dotnet/xharness - bb1cfc0c870d5b50cfd9795251e44f244e6a3f45 + 3e74b96870050adc82beed3934abf93d40716012 - + https://github.com/dotnet/xharness - bb1cfc0c870d5b50cfd9795251e44f244e6a3f45 + 3e74b96870050adc82beed3934abf93d40716012 - + https://github.com/dotnet/xharness - bb1cfc0c870d5b50cfd9795251e44f244e6a3f45 + 3e74b96870050adc82beed3934abf93d40716012 https://github.com/dotnet/arcade diff --git a/eng/Versions.props b/eng/Versions.props index 4e5e0e2dfebd89..9b21707a75533e 100644 --- a/eng/Versions.props +++ b/eng/Versions.props @@ -191,9 +191,9 @@ 1.4.0 17.4.0-preview-20220707-01 - 9.0.0-prerelease.25564.2 - 9.0.0-prerelease.25564.2 - 9.0.0-prerelease.25564.2 + 9.0.0-prerelease.25570.2 + 9.0.0-prerelease.25570.2 + 9.0.0-prerelease.25570.2 9.0.0-alpha.0.25574.4 3.12.0