-
Notifications
You must be signed in to change notification settings - Fork 4k
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
Conversation
@@ -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; |
There was a problem hiding this comment.
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();
There was a problem hiding this comment.
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.
@ToddGrun ptal |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jasonmalinowski For review when you get back. |
Fixes https://devdiv.visualstudio.com/DevDiv/_workitems/edit/2054612.