-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Support navigating to metadata in progression results #75728
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
Conversation
var symbolId = graphNode.GetValue<SymbolKey?>(RoslynGraphProperties.SymbolId); | ||
private async Task NavigateToAsync(GraphNode graphNode, CancellationToken cancellationToken) | ||
{ | ||
var projectId = graphNode.GetValue<ProjectId>(RoslynGraphProperties.ContextProjectId); |
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.
Are there any UI thread requirements for this?
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.
nope!
if (document == null) | ||
// Go through the mainline symbol id path if we have it. That way we notify third parties, and we can navigate | ||
// to metadata. | ||
var symbolId = graphNode.GetValue<SymbolKey?>(RoslynGraphProperties.SymbolId); |
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.
Do we ever get called for other languages (TS/F#) here?
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.
looks the same as before, so assumingthis is fine
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.
nope!
Fixes #7151