Skip to content

Add concrete interface collection codec snapshots#10106

Merged
ReubenBond merged 2 commits into
dotnet:mainfrom
ReubenBond:followup-interface-codec-snapshots
May 16, 2026
Merged

Add concrete interface collection codec snapshots#10106
ReubenBond merged 2 commits into
dotnet:mainfrom
ReubenBond:followup-interface-codec-snapshots

Conversation

@ReubenBond

@ReubenBond ReubenBond commented May 15, 2026

Copy link
Copy Markdown
Member

Reason

The original interface collection codec PR was merged before the final concrete runtime codec snapshot coverage landed in the merge commit.

Solution

This follow-up adds focused BitStreamFormatter snapshot tests which serialize concrete List<T>, HashSet<T>, and Dictionary<TKey,TValue> instances through interface-typed serializers. The tests assert that interface fallback codec aliases are not used when a concrete runtime codec exists, and the snapshots capture the concrete runtime codec payloads reviewers should expect.

Microsoft Reviewers: Open in CodeFlow

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@ReubenBond ReubenBond force-pushed the followup-interface-codec-snapshots branch from 8275af1 to aa3d164 Compare May 15, 2026 22:16
@ReubenBond ReubenBond enabled auto-merge May 15, 2026 22:18
@ReubenBond ReubenBond added this pull request to the merge queue May 16, 2026
Merged via the queue into dotnet:main with commit 20fc817 May 16, 2026
62 checks passed
@ReubenBond ReubenBond deleted the followup-interface-codec-snapshots branch May 16, 2026 17:51
@github-actions github-actions Bot locked and limited conversation to collaborators Jun 16, 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