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

Fix references count #4466

Merged
merged 1 commit into from
Oct 29, 2018
Merged

Conversation

bclothier
Copy link
Contributor

Closes #3038

The PR changes the storage from ConcurrentBag to ConcurrentDictionary and adds a check to remove references for a declaration, which fixes the issues where count of references is incorrect.

It was originally reported that ConcurrentDictionary caused unit tests to fail. However, in the intervening time, we have had changed our unit tests and it now passes without problem.

@retailcoder retailcoder merged commit a177cc5 into rubberduck-vba:next Oct 29, 2018
@bclothier bclothier deleted the FixReferences branch December 5, 2018 19:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

'Find All References' returns a factor of actual references
2 participants