rspec/rules/S6612/how-dotnet.adoc

4 lines
180 B
Plaintext

== How to fix it
When you are using the `ConcurrentDictionary` methods `GetOrAdd` or `AddOrUpdate`, reference the key by using the lambda's parameter instead of the method's one.