Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitafb7e94

Browse files
vasily-kirichenkoKevinRansom
authored andcommitted
fixed: Find All References does not search symbol usages in the project(s) the symbol is declared (dotnet#2139)
1 parent5c1e4a9 commitafb7e94

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

‎vsintegration/src/FSharp.Editor/Navigation/FindReferencesService.fs‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,9 @@ type internal FSharpFindReferencesService
109109
letprojectsToCheck=
110110
match scopewith
111111
| Some(SymbolDeclarationLocation.Projects(declProjects,false))->
112-
declProjects|> List.collect(fun x-> x.GetDependentProjects())
112+
[for declProjectin declProjectsdo
113+
yield declProject
114+
yield! declProject.GetDependentProjects()]
113115
| Some(SymbolDeclarationLocation.Projects(declProjects,true))-> declProjects
114116
// The symbol is declared in .NET framework, an external assembly or in a C# project within the solution.
115117
// In order to find all its usages we have to check all F# projects.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp