Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Find all references shows incorrect count. #1322

Closed
mjrist opened this issue Jul 29, 2024 · 1 comment
Closed

[BUG] Find all references shows incorrect count. #1322

mjrist opened this issue Jul 29, 2024 · 1 comment
Labels
area-roslyn bug Something isn't working external External to this extension fixed

Comments

@mjrist
Copy link

mjrist commented Jul 29, 2024

Describe the Issue

I have a large solution (334 projects). When I look at find all references on a widely used class the reference count is incorrect and changes every time I click refresh:

For example clicking refresh on the same reference:
image
image
image
image
image

Also, rename does not update all references. Although it it consistently renames the same number of references if I rename, undo the changes and rename again.

If reload the solution and then rename it will update a different number of references.

Steps To Reproduce

Load a large solution and view "find all references" on a widely used reference. (I've seen this happen with a class with only 17 references).

Expected Behavior

Always show the same (and correct) reference count.

Environment Information

  • Ubuntu 23.10 dev container on WSL.
  • Vscode 1.91.1 (on windows 11)
  • C# extension v2.39.29
  • C# dev kit extension v1.8.14
@mjrist mjrist added the bug Something isn't working label Jul 29, 2024
@dibarbet
Copy link
Member

Duplicate of dotnet/vscode-csharp#7391

Fixed in v2.41.26 (pre-release) - just uploaded to the marketplace.

@dibarbet dibarbet added external External to this extension fixed labels Jul 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-roslyn bug Something isn't working external External to this extension fixed
Projects
None yet
Development

No branches or pull requests

3 participants