You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Skip C# back compatibility for previously released experimental types - #12159
C# back-compat handling currently preserves experimental APIs as stable contracts, restricting changes even when those types graduate to stable.
Contract lookup: Exclude released types carrying System.Diagnostics.CodeAnalysis.ExperimentalAttribute from the shared compatibility lookup, covering type-shape preservation and member restoration.
Compatibility boundaries: Base the decision on the previous release. Newly marking a stable type experimental does not remove its compatibility guarantees; member-level experimental handling remains unchanged.
Azure Pipelines:
Successfully started running 1 pipeline(s).
1 pipeline(s) were filtered out due to trigger conditions.
There may be pipelines that require an authorized user to comment /azp run to run.
CopilotAI
changed the title
[WIP] Consider evaluating experimental types for back compat handling
Skip C# back compatibility for previously released experimental types
Oct 12, 2026
The member-level claim is not true for fixed enums: FixedEnumProvider.cs:129-180 iterates every historical field and can resurrect an experimental enum member without consulting this attribute. Since the PR description also says member handling is unchanged, remove these member-level guarantees; otherwise the fixed-enum path needs matching filtering and coverage.
The reason will be displayed to describe this comment to others. Learn more.
🔵 Needs a closer look
Member-level filtering contradicts the stated requirement that member-level experimental handling remain unchanged.
0 open findings
🧠 Review effort: Balanced
This branch has not been deployed
No deployments
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
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.
C# back-compat handling currently preserves experimental APIs as stable contracts, restricting changes even when those types graduate to stable.
System.Diagnostics.CodeAnalysis.ExperimentalAttributefrom the shared compatibility lookup, covering type-shape preservation and member restoration.