Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,9 @@ type internal FSharpFindReferencesService
let projectsToCheck =
match scope with
| Some (SymbolDeclarationLocation.Projects (declProjects, false)) ->
declProjects |> List.collect (fun x -> x.GetDependentProjects())
[ for declProject in declProjects do
yield declProject
yield! declProject.GetDependentProjects() ]
| Some (SymbolDeclarationLocation.Projects (declProjects, true)) -> declProjects
// The symbol is declared in .NET framework, an external assembly or in a C# project within the solution.
// In order to find all its usages we have to check all F# projects.
Expand Down