Skip to content

Remove UseOldBehavior quirk switches#37770

Merged
AndriySvyryd merged 2 commits intomerge/release/10.0-to-mainfrom
copilot/sub-pr-37760
Feb 22, 2026
Merged

Remove UseOldBehavior quirk switches#37770
AndriySvyryd merged 2 commits intomerge/release/10.0-to-mainfrom
copilot/sub-pr-37760

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Feb 22, 2026

Removes all UseOldBehavior* AppContext quirk switches introduced during servicing fixes, making the new behavior unconditional.

  • UseOldBehavior37724 (InternalComplexEntry, InternalComplexCollectionEntry): Always restore Ordinal from OriginalOrdinal when transitioning from Deleted state; never re-insert entry into original collection on Deleted→Unchanged
  • UseOldBehavior37585 (InternalComplexCollectionEntry.GetCollection): Always return null when ordinal < 0 for nested complex collection entries
  • UseOldBehavior37162 (StructuralTypeMaterializerSource): Always use parameters.IsNullable for nullable complex type materialization check
  • UseOldBehavior37205 (StructuralTypeProjectionExpression): Removed unused declaration

💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Co-authored-by: AndriySvyryd <6539701+AndriySvyryd@users.noreply.github.com>
Copilot AI changed the title [WIP] Merge changes from release/10.0 to main Remove UseOldBehavior quirk switches Feb 22, 2026
Copilot AI requested a review from AndriySvyryd February 22, 2026 04:08
@AndriySvyryd AndriySvyryd marked this pull request as ready for review February 22, 2026 08:41
@AndriySvyryd AndriySvyryd requested a review from a team as a code owner February 22, 2026 08:41
@AndriySvyryd AndriySvyryd assigned roji and unassigned AndriySvyryd and Copilot Feb 22, 2026
@AndriySvyryd AndriySvyryd merged commit 62b0941 into merge/release/10.0-to-main Feb 22, 2026
7 checks passed
@AndriySvyryd AndriySvyryd deleted the copilot/sub-pr-37760 branch February 22, 2026 22:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants