Skip to content

fix: serialize immutable dictionary value comparers - #10225

Merged
ReubenBond merged 1 commit into
dotnet:mainfrom
ReubenBond:fix/immutable-dictionary-value-comparers
Jun 13, 2026
Merged

ReubenBond merged 1 commit into
dotnet:mainfrom
ReubenBond:fix/immutable-dictionary-value-comparers

Conversation

@ReubenBond

@ReubenBond ReubenBond commented Jun 13, 2026 •

Copy link
Copy Markdown
Member

ImmutableDictionary serialization currently preserves the key comparer but drops the value comparer. This adds a backward-compatible surrogate field for the value comparer and defaults to EqualityComparer.Default when reading older payloads.

Microsoft Reviewers: Open in CodeFlow

@ReubenBond
ReubenBond merged commit 2cdcc02 into dotnet:main Jun 13, 2026
61 of 62 checks passed
@ReubenBond
ReubenBond deleted the fix/immutable-dictionary-value-comparers branch June 13, 2026 22:54
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 14, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant