Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove IDocumentSnapshot.GetImports #9845

Merged
merged 1 commit into from
Jan 23, 2024

Conversation

davidwengier
Copy link
Contributor

@davidwengier davidwengier commented Jan 23, 2024

Part of #9519

This was going to be part of a larger PR but that is proving to be extremely annoying to do, so I'm pulling this out while I have it.

The GetImports method was only used in one place, and was just indirection to call another method on the same class, so this PR just flattens that and simplifies the interface. This just gives us a lower surface area for cohosting.

@davidwengier davidwengier requested a review from a team as a code owner January 23, 2024 04:57
Copy link
Member

@DustinCampbell DustinCampbell left a comment

Choose a reason for hiding this comment

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

So close! This change was almost completely red. 😄

@davidwengier davidwengier merged commit 87c0666 into dotnet:main Jan 23, 2024
17 checks passed
@davidwengier davidwengier deleted the MoreSnapshotCleanup branch January 23, 2024 21:36
@ghost ghost added this to the Next milestone Jan 23, 2024
@Cosifne Cosifne modified the milestones: Next, 17.10 P1 Jan 30, 2024
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.

3 participants