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

Avoid double call to concurrent dictionary by using GetOrAdd #1625

Merged
merged 2 commits into from Jul 25, 2021

Conversation

jnyrup
Copy link
Member

@jnyrup jnyrup commented Jul 21, 2021

Reviewing #1603 revealing nothing problematic to me, but we can save a call to the ConcurrentDictionary Cache by using GetOrAdd instead.

... and some analyzer/styling nits.

@jnyrup jnyrup merged commit 6f6398d into fluentassertions:release-6.0 Jul 25, 2021
@jnyrup jnyrup deleted the 1603_follow_up branch July 25, 2021 17:51
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.

None yet

2 participants