rjmurillo/moq.analyzers

View on GitHub
src/Common/Caching/BoundedCacheWithFactory.cs

Summary

Maintainability
A
0 mins
Test Coverage

Method GetOrCreateValue has 32 lines of code (exceeds 25 allowed). Consider refactoring.
Wontfix

    public TValue GetOrCreateValue(TKey key, Func<TKey, TValue> valueFactory)
    {
        lock (_weakReferencedEntries)
        {
            int indexToSetTarget = -1;
Severity: Minor
Found in src/Common/Caching/BoundedCacheWithFactory.cs - About 1 hr to fix

    Unexpected tabs found.
    Invalid

    // Forked from https://github.com/dotnet/roslyn-analyzers/blob/5dd0dd5db8fa79932517f153854c0f2c24ac98a3/src/Utilities/Compiler/BoundedCacheWithFactory.cs

    There are no issues that match your filters.

    Category
    Status