Include local-functions in the go-to index.#61568
Include local-functions in the go-to index.#61568CyrusNajmabadi merged 20 commits intodotnet:mainfrom
Conversation
|
Perf concerns aside, I have some usability concerns here. There's currently no way to filter out local functions from other members. That could easily mean that common local function names that coincide with member names will be hard to sort through... |
I'm not hugely concerned here as i don't expect local function names to have a particularly higher coincidence of collision with member names vs just having overloads. We could try this out and see if there's an issue :) |
|
@dotnet/roslyn-ide this is ready for review. |
src/Workspaces/VisualBasic/Portable/FindSymbols/VisualBasicDeclaredSymbolInfoFactoryService.vb
Show resolved
Hide resolved
…laredSymbolInfoFactoryService.vb
…/roslyn into localFuncindexing
| protected abstract void AddMemberDeclarationInfos( | ||
| SyntaxNode container, TMemberDeclarationSyntax memberDeclaration, StringTable stringTable, ArrayBuilder<DeclaredSymbolInfo> declaredSymbolInfos, string containerDisplayName, string fullyQualifiedContainerName); | ||
| protected abstract void AddLocalFunctionInfos( | ||
| TMemberDeclarationSyntax memberDeclaration, StringTable stringTable, ArrayBuilder<DeclaredSymbolInfo> declaredSymbolInfos, string containerDisplayName, string fullyQualifiedContainerName, CancellationToken cancellationToken); |
There was a problem hiding this comment.
I think this makes a lot more sense to read than what it was previously
Revert "Merge pull request #61568 from CyrusNajmabadi/localFuncindexing"
…ocalFuncindexing"" This reverts commit 2fe5202.
Fixes #39083
These have risen in priority, esp. as they may be used a lot in a top-level program.