Reduce the number of symbols retrieved by SymbolReferenceAnalyzer #4220
Labels
Area: C#
C# rules related issues.
Area: VB.NET
VB.NET rules related issues.
Type: Performance
It takes too long.
Milestone
Get the symbols only for those identifiers which appear multiple times in file (SonarQube has support only for in file highlighting).
One possible way to implement this is to register for symbols and keep a list of identifier names per file. Then, in the utility analyzers, before retrieving the symbol, check first if the identifier name is in the list of known identifiers.
The text was updated successfully, but these errors were encountered: