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

Fix issues with JTF blocking in codemodel #73419

Merged
merged 5 commits into from
May 10, 2024

Conversation

CyrusNajmabadi
Copy link
Member

@CyrusNajmabadi CyrusNajmabadi commented May 10, 2024

@CyrusNajmabadi CyrusNajmabadi requested a review from a team as a code owner May 10, 2024 02:07
@dotnet-issue-labeler dotnet-issue-labeler bot added Area-IDE untriaged Issues and PRs which have not yet been triaged by a lead labels May 10, 2024
@@ -39,8 +41,8 @@ private RootCodeModel(CodeModelState state, EnvDTE.Project parent, ProjectId pro
private Project GetProject()
=> Workspace.CurrentSolution.GetProject(_projectId);

private Compilation GetCompilation()
=> GetProject().GetCompilationAsync().Result;
Copy link
Member Author

Choose a reason for hiding this comment

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

so old we're still calling .Result, not even GetAwaiter().GetResult();

Copy link
Contributor

Choose a reason for hiding this comment

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

Yep, at least 10 years old from the blame.

@CyrusNajmabadi
Copy link
Member Author

@ToddGrun ptal

Copy link
Contributor

@ToddGrun ToddGrun left a comment

Choose a reason for hiding this comment

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

:shipit:

@CyrusNajmabadi CyrusNajmabadi merged commit 19c7e71 into dotnet:main May 10, 2024
25 checks passed
@dotnet-policy-service dotnet-policy-service bot added this to the Next milestone May 10, 2024
@CyrusNajmabadi CyrusNajmabadi deleted the jtfCodeModel branch May 10, 2024 04:00
@CyrusNajmabadi
Copy link
Member Author

@jasonmalinowski For review when you get back.

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.

4 participants