Skip to content

SymbolFinder.FindReferencesAsync is missing a reference to a type used in a document with implicit declaration only #49387

Answered by CyrusNajmabadi
SENya1990 asked this question in Q&A
Discussion options

You must be logged in to vote

In my opinion the term "reference" is not precisely defined in the documentation.

Correct. It's just generally an intuition. I don't think we'd strongly define it either as that would lock us into a particular implementatino/result strategy. We may absolutely change this in the future if we replaced our existing system with an entirely new system based on different concepts.

My naive understanding of "reference to a type" was that the term applies to both explicit and implicit declarations of a local variable.

Sure. As i mentioned, your intuition is fine and understandable. It's just not what we provide (for many reasons). The intuition here is more like "if i changed this name, what …

Replies: 2 comments 12 replies

Comment options

You must be logged in to vote
8 replies
@CyrusNajmabadi
Comment options

@CyrusNajmabadi
Comment options

@SENya1990
Comment options

@CyrusNajmabadi
Comment options

Answer selected by SENya1990
@CyrusNajmabadi
Comment options

Comment options

You must be logged in to vote
4 replies
@CyrusNajmabadi
Comment options

@CyrusNajmabadi
Comment options

@jbhaywood
Comment options

@CyrusNajmabadi
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #49387 on November 16, 2020 03:08.