-
Notifications
You must be signed in to change notification settings - Fork 847
Open
Labels
Area-LangService-FindAllReferencesFind all references across projects and solutionsFind all references across projects and solutionsFeature Requesthelp wanted
Milestone
Description
Pressing F12 on the new case testers takes you to the case definition, which is fantastic. However, case testers don't count as a reference/usage of a DU case. I think they should, even though the reference is implied rather than direct.
Describe the solution you'd like
type X = A | B
let c = A.IsBFind all references on B should return IsB instead of no results, otherwise someone might think B is unused and try to remove it.
Additional context
VS 17.9.0 Preview 3.0
Metadata
Metadata
Assignees
Labels
Area-LangService-FindAllReferencesFind all references across projects and solutionsFind all references across projects and solutionsFeature Requesthelp wanted
Type
Projects
Status
New