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

Add ConcurrentDictionary GetOrAdd extension methods #8220

Merged
merged 1 commit into from
Mar 29, 2021

Conversation

realLiangshiwei
Copy link
Member

Avoid using the wrong GetOrAdd extension method when using ConcurrentDictionary

public static TValue GetOrAdd<TKey, TValue>(this IDictionary<TKey, TValue> dictionary, TKey key, Func<TKey, TValue> factory)

@maliming maliming requested a review from hikalkan March 26, 2021 10:28
@hikalkan hikalkan merged commit f62b9f1 into dev Mar 29, 2021
@hikalkan hikalkan deleted the liangshiwei/patch-1 branch March 29, 2021 12:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants