Skip to content

Conversation

@ToddGrun
Copy link
Contributor

Use of this RoslynServiceExtensions.GetServiceAsync forces a main thread switch, even when not necessary. Instead, as we're in an AsyncPackage derived class, we can use the base class's GetServiceAsync method which doesn't do the main thread switch unless the requested interface requires it.

…Extensions

Use of this RoslynServiceExtensions.GetServiceAsync forces a main thread switch, even when not necessary. Instead, as we're in an AsyncPackage derived class, we can use the base class's GetServiceAsync method which doesn't do the main thread switch unless the requested interface requires it.
@ToddGrun ToddGrun requested a review from a team as a code owner March 24, 2025 16:33
@ghost ghost added Area-IDE untriaged Issues and PRs which have not yet been triaged by a lead labels Mar 24, 2025
@ToddGrun ToddGrun merged commit 51335ac into dotnet:release/dev17.15 Mar 25, 2025
25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area-IDE untriaged Issues and PRs which have not yet been triaged by a lead

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants