src/Common/Caching/BoundedCacheWithFactory.cs
Method GetOrCreateValue
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Wontfix
Wontfix
public TValue GetOrCreateValue(TKey key, Func<TKey, TValue> valueFactory)
{
lock (_weakReferencedEntries)
{
int indexToSetTarget = -1;
Unexpected tabs found. Invalid
Invalid
// Forked from https://github.com/dotnet/roslyn-analyzers/blob/5dd0dd5db8fa79932517f153854c0f2c24ac98a3/src/Utilities/Compiler/BoundedCacheWithFactory.cs
- Exclude checks