Repository navigation
refactor(codegen): remove unused method signature comparer - #10874
Merged
ReubenBond merged 1 commit intoAug 28, 2026
Merged
Conversation
Contributor
There was a problem hiding this comment.
Copilot review overview
Review tier: Lite
Findings: None
What changed in this PR
Removes an internal Orleans code-generator helper (MethodSignatureComparer) from Orleans.CodeGenerator now that it has no remaining call sites, reducing maintenance surface and eliminating uncovered executable lines from the maintained codebase.
Changes:
- Deleted
MethodSignatureComparer(an internal comparer forIMethodSymbol) from the code generator model layer.
| File | Description |
|---|---|
| src/Orleans.CodeGenerator/Model/MethodSignatureComparer.cs | Removes an unused internal helper type from the code generator. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
11 tasks
ReubenBond
force-pushed
the
rb-issue-10866-audit-dead-code
branch
from
August 28, 2026 01:04
47f4c91 to
8b093ab
Compare
This was referenced Aug 28, 2026
Contributor
Code coverage78.58% line coverage - 99,433 / 126,531 lines Coverage details
|
This was referenced Aug 29, 2026
Merged
This was referenced Sep 7, 2026
This was referenced Sep 9, 2026
Closed
Closed
This was referenced Sep 16, 2026
Open
Merged
Merged
This was referenced Sep 23, 2026
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
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Summary
MethodSignatureComparer, an internal code-generator helper with no remaining call sitesRationale
The final use of
MethodSignatureComparer.Defaultwas removed by #9009, but the helper file remained. Semantic references and repository-wide symbol searches now find only the type's own declaration. The type is internal, has no reflection or source-generator registration, and does not appear in the generated public API surface. Removing it therefore reduces maintenance surface without changing package contracts or runtime behavior.The retained merged Cobertura report records 0 of 74 executable lines covered for this file. Removing it changes the merged line rate from 73.996990% to 74.035880%, a +0.038890 percentage-point denominator correction.
Part of #10866.
Microsoft Reviewers: Open in CodeFlow