Skip to content

Fix methods referenced in xml doc comments for MessagePackSerializer - #996

Merged
AArnott merged 1 commit into
mainfrom
fixCref
Jun 29, 2026
Merged

AArnott merged 1 commit into
mainfrom
fixCref

Conversation

@AArnott

@AArnott AArnott commented Jun 29, 2026

Copy link
Copy Markdown
Owner

Fix methods referenced in xml doc comments for MessagePackSerializer

Copilot AI review requested due to automatic review settings June 29, 2026 03:15

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the generated “automated friendly overloads” documentation for MessagePackSerializer so that XML doc comments reference the correct methods (particularly for the source-generated type-shape scenarios), improving doc-link accuracy and avoiding broken <see cref="..."/> references.

Changes:

  • Updated the T4 template to generate correct <see cref> targets for witness-type (TProvider) overloads in source-generation-required remarks.
  • Regenerated the corresponding .cs output so the doc comments now point to Serialize*/Deserialize*{T, TProvider} overloads rather than unrelated methods.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
src/Nerdbank.MessagePack/MessagePackSerializer.AutomatedFriendlyOverloads.tt Adjusts T4 generation logic to emit correct <see cref> strings for the intended alternative overloads.
src/Nerdbank.MessagePack/MessagePackSerializer.AutomatedFriendlyOverloads.cs Regenerated output reflecting corrected XML doc comment method references.

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.

2 participants