Tags: dotnet/runtime
Tags
[release/11.0-preview6] Fix async resumption stub with byref paramete… …rs (#130022) Backport of #129999 to release/11.0-preview6 /cc @jakobbotsch ## Customer Impact - [X] Customer reported - [ ] Found internally A Task-returning method `A` with a byref parameter may cause the runtime to throw an `InvalidProgramException` if directly returning the result of another Task-returning method `B()`, the task returned by `B` suspends and also one of the following is true: - `A` is marked with `[MethodImpl(MethodImplOptions.NoInlining)]` - `B` returns `Task<T>` and `A` returns `Task` In these cases the runtime produces an internal IL stub with invalid IL. The invalid IL tries to zero a byref local using `initobj`, which is not legal IL. Reported by ASP.NET in #129990. ## Regression - [X] Yes - [ ] No This issue exists since runtime async was introduced, but #128384 made it possible to hit this issue from C# code. ## Testing Unit test introduced. ## Risk Low. Adjust IL emission to load a `byref` zero without `initobj`. --------- Co-authored-by: Jakob Botsch Nielsen <jakob.botsch.nielsen@gmail.com>
[release/10.0] Fix blob type in CopyWithPrivateKey for ML-DSA (#129865) Backport of #129839 to release/10.0 /cc @PranavSenthilnathan ## Customer Impact - [ ] Customer reported - [x] Found internally Found when running unit tests on a recent Windows insider build. An exception will be thrown in some cases when an ML-DSA certificate and key are paired. Specifically, when the key is a BCrypt key that was generated or imported with a seed, we try to re-import it into NCrypt as a private key (instead of a seed). Previously, Windows was tolerant to this and was able to recognize that the key material represented the seed instead of the private key. With recent insider builds this has started to fail, so we need to be accurate when telling NCrypt the format of the key material. ## Regression - [ ] Yes - [x] No ## Testing Validated on insider build of Windows. This wasn't an issue before because Windows was more permissive in its ML-DSA imports by allowing seeds even when the blob type was private key instead. ## Risk Low. We're now passing the correct parameter for blob type as described in: https://learn.microsoft.com/en-us/windows/win32/api/bcrypt/nf-bcrypt-bcryptimportkeypair#parameters Co-authored-by: Pranav Senthilnathan <pranav.senthilnathan@live.com>
Merged PR 62358: Bump servicing version for System.Security.Cryptogra… …phy.Xml Bump servicing version for System.Security.Cryptography.Xml ---- #### AI description (iteration 1) #### PR Classification Version bump to increment the servicing version number for the System.Security.Cryptography.Xml package and enable package generation. #### PR Summary This pull request increments the servicing version from 3 to 4 and enables package generation on build for the System.Security.Cryptography.Xml library. - `System.Security.Cryptography.Xml.csproj`: Bumped `ServicingVersion` from 3 to 4 and set `GeneratePackageOnBuild` to `true` <!-- GitOpsUserAgent=GitOps.Apps.Server.pullrequestcopilot -->
Restore E_NOTIMPL fallback in DacDbiInterfaceImpl::GetContext (#128499)… … (#128920) On platforms where ICorDebugDataTarget::GetThreadContext returns E_NOTIMPL, restore the fallback that walks the thread's Frame chain to reconstruct a register context from REGDISPLAY. This is needed for managed debugging stack walks on non-Windows platforms. The fallback was removed in 5391e9e. Found using internal Visual Studio testing Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
[release/10.0] Update dependencies from dotnet/icu (#125098) This pull request updates the following dependencies [marker]: <> (Begin:db1ca3c9-37b3-43b6-a420-6f1f4040ce77) ## From https://github.com/dotnet/icu - **Subscription**: [db1ca3c9-37b3-43b6-a420-6f1f4040ce77](https://maestro.dot.net/subscriptions?search=db1ca3c9-37b3-43b6-a420-6f1f4040ce77) - **Build**: [20260402.1](https://dev.azure.com/dnceng/internal/_build/results?buildId=2942438) ([309043](https://maestro.dot.net/channel/5172/github:dotnet:icu/build/309043)) - **Date Produced**: April 2, 2026 7:15:48 PM UTC - **Commit**: [ebc90db84e994c920f183fe919fd0eb70db7fb81](dotnet/icu@ebc90db) - **Branch**: [dotnet/release/10.0](https://github.com/dotnet/icu/tree/dotnet/release/10.0) [DependencyUpdate]: <> (Begin) - **Dependency Updates**: - From [10.0.0-rtm.26104.1 to 10.0.0-rtm.26202.1][4] - Microsoft.NETCore.Runtime.ICU.Transport [4]: dotnet/icu@2d6216b...ebc90db [DependencyUpdate]: <> (End) [marker]: <> (End:db1ca3c9-37b3-43b6-a420-6f1f4040ce77) --------- Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com> Co-authored-by: Larry Ewing <lewing@microsoft.com> Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: lewing <24063+lewing@users.noreply.github.com>
Merged PR 60607: Updated Versions.props - MicrosoftNativeQuicMsQuicSc… …hannelVersion 2.4.18 Updated Versions.props - MicrosoftNativeQuicMsQuicSchannelVersion 2.4.18 ---- #### AI description (iteration 1) #### PR Classification Dependency version update to upgrade the MsQuic Schannel package from version 2.4.17 to 2.4.18. #### PR Summary This pull request updates the MsQuic Schannel dependency to a newer patch version. - `/eng/Versions.props`: Updated `MicrosoftNativeQuicMsQuicSchannelVersion` from 2.4.17 to 2.4.18 <!-- GitOpsUserAgent=GitOps.Apps.Server.pullrequestcopilot -->
Merged PR 60606: Updated Versions.props - MicrosoftNativeQuicMsQuicSc… …hannelVersion 2.4.18 Updated Versions.props - MicrosoftNativeQuicMsQuicSchannelVersion 2.4.18 ---- #### AI description (iteration 1) #### PR Classification Dependency version update to upgrade the MsQuic Schannel package from version 2.4.17 to 2.4.18. #### PR Summary This pull request updates the MsQuic Schannel dependency version in the project's version management file. - `eng/Versions.props`: Updated `MicrosoftNativeQuicMsQuicSchannelVersion` from 2.4.17 to 2.4.18 <!-- GitOpsUserAgent=GitOps.Apps.Server.pullrequestcopilot -->
PreviousNext