-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update FindSourceDefinitionAsync to chase through retargeted symbols
FindSourceDefinitionAsync, when presented with a source symbol, would immediately return that symbol. If the source symbol is a retargeted source symbol, we were still returning that symbol instead of returning the "original" definition in the other source assembly. This changes the behavior to now return the original source assembly, a behavior which seems more consistent and allows FindSourceDefinitionAsync to be used in scenarios where we care about IAssemblySymbol identity.
- Loading branch information
1 parent
85c5a7c
commit 4c49bf2
Showing
2 changed files
with
66 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters