Skip to content

Move inheritance margin logic to a features service#83001

Merged
JoeRobich merged 2 commits intomainfrom
dev/jorobich/move-inheritance-margin
Apr 2, 2026
Merged

Move inheritance margin logic to a features service#83001
JoeRobich merged 2 commits intomainfrom
dev/jorobich/move-inheritance-margin

Conversation

@JoeRobich
Copy link
Copy Markdown
Member

@JoeRobich JoeRobich commented Mar 31, 2026

Create a TypeHierarchyService in the Features layer which can be used for both Inheritance Margin and the LSP TypeHierarchy handlers.

Microsoft Reviewers: Open in CodeFlow


Task<ImmutableArray<INamedTypeSymbol>> GetDerivedTypesAndImplementationsAsync(
INamedTypeSymbol typeSymbol,
Solution solution,
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.

Nit. Solution should be first. We try to order from widest to narrowest conceptual scope.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Good call!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants