[RuntimeAsync] Remove [RequiresPreviewFeatures] on runtime async API#124488
Merged
VSadov merged 6 commits intodotnet:mainfrom Feb 17, 2026
Merged
[RuntimeAsync] Remove [RequiresPreviewFeatures] on runtime async API#124488VSadov merged 6 commits intodotnet:mainfrom
VSadov merged 6 commits intodotnet:mainfrom
Conversation
Contributor
|
Tagging subscribers to this area: @agocke |
Contributor
There was a problem hiding this comment.
Pull request overview
Removes preview-feature annotations from the Runtime Async helper APIs and cleans up test/project warning suppressions that were only needed due to RequiresPreviewFeatures.
Changes:
- Removed
[RequiresPreviewFeatures]fromSystem.Runtime.CompilerServices.AsyncHelpersAPIs (ref + implementation). - Dropped
SYSLIB5007suppressions from runtime-async related test builds. - Updated linker test compile arguments to no longer suppress
SYSLIB5007.
Reviewed changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| src/tools/illink/test/Mono.Linker.Tests.Cases/DataFlow/RuntimeAsyncMethods.cs | Removes SYSLIB5007 suppression from linker test compilation. |
| src/tests/async/Directory.Build.props | Removes SYSLIB5007 from global NoWarn for async tests. |
| src/tests/Interop/COM/RuntimeAsync/RuntimeAsync.csproj | Removes SYSLIB5007 suppression (but leaves a redundant NoWarn property). |
| src/libraries/System.Runtime/ref/System.Runtime.cs | Removes [RequiresPreviewFeatures] from AsyncHelpers public reference surface. |
| src/libraries/System.Private.CoreLib/src/System/Runtime/CompilerServices/AsyncHelpers.cs | Removes [RequiresPreviewFeatures] from the library implementation (and stubs). |
| src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/AsyncHelpers.CoreCLR.cs | Removes [RequiresPreviewFeatures] from CoreCLR implementation helper (TransparentAwait). |
src/libraries/System.Private.CoreLib/src/System/Runtime/CompilerServices/AsyncHelpers.cs
Show resolved
Hide resolved
src/libraries/System.Private.CoreLib/src/System/Runtime/CompilerServices/AsyncHelpers.cs
Outdated
Show resolved
Hide resolved
src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/AsyncHelpers.CoreCLR.cs
Show resolved
Hide resolved
jkotas
approved these changes
Feb 17, 2026
jkotas
approved these changes
Feb 17, 2026
This was referenced Feb 17, 2026
Member
Author
|
/ba-g mono interpreter failures is #100800 |
Member
Author
|
Thanks! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The purpose of this attribute is to ship preview features in non-preview releases.
Also removes SYSLIB5007 suppressions as not needed. The API is not marked experimental for some time now.