cleanup preprocessor directives (#695) #1582
Annotations
1 error and 8 warnings
|
infer
CodeQL Action major versions v1 and v2 have been deprecated. Please update all occurrences of the CodeQL Action in your workflow files to v3. For more information, see https://github.blog/changelog/2025-01-10-code-scanning-codeql-action-v2-is-now-deprecated/
|
|
infer:
BitFaster.Caching/Lru/ConcurrentLru.cs#L43
Change return type of method 'CreateExpireAfterAccess' from 'BitFaster.Caching.ICache<K, V>' to 'BitFaster.Caching.Lru.ConcurrentLruCore<K, V, BitFaster.Caching.Lru.LongTickCountLruItem<K, V>, BitFaster.Caching.Lru.AfterAccessPolicy<K, V>, TP>' for improved performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1859)
|
|
infer:
BitFaster.Caching/Lru/ConcurrentLru.cs#L49
Change return type of method 'CreateExpireAfter' from 'BitFaster.Caching.ICache<K, V>' to 'BitFaster.Caching.Lru.ConcurrentLruCore<K, V, BitFaster.Caching.Lru.LongTickCountLruItem<K, V>, BitFaster.Caching.Lru.DiscretePolicy<K, V>, TP>' for improved performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1859)
|
|
infer:
BitFaster.Caching/Atomic/AtomicEx.cs#L26
Possible multiple enumerations of 'IEnumerable' collection. Consider using an implementation that avoids multiple enumerations. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1851)
|
|
infer:
BitFaster.Caching/Atomic/AtomicEx.cs#L28
Possible multiple enumerations of 'IEnumerable' collection. Consider using an implementation that avoids multiple enumerations. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1851)
|
|
infer:
BitFaster.Caching/Lru/ConcurrentLru.cs#L43
Change return type of method 'CreateExpireAfterAccess' from 'BitFaster.Caching.ICache<K, V>' to 'BitFaster.Caching.Lru.ConcurrentLruCore<K, V, BitFaster.Caching.Lru.LongTickCountLruItem<K, V>, BitFaster.Caching.Lru.AfterAccessPolicy<K, V>, TP>' for improved performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1859)
|
|
infer:
BitFaster.Caching/Lru/ConcurrentLru.cs#L49
Change return type of method 'CreateExpireAfter' from 'BitFaster.Caching.ICache<K, V>' to 'BitFaster.Caching.Lru.ConcurrentLruCore<K, V, BitFaster.Caching.Lru.LongTickCountLruItem<K, V>, BitFaster.Caching.Lru.DiscretePolicy<K, V>, TP>' for improved performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1859)
|
|
infer:
BitFaster.Caching/Atomic/AtomicEx.cs#L26
Possible multiple enumerations of 'IEnumerable' collection. Consider using an implementation that avoids multiple enumerations. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1851)
|
|
infer:
BitFaster.Caching/Atomic/AtomicEx.cs#L28
Possible multiple enumerations of 'IEnumerable' collection. Consider using an implementation that avoids multiple enumerations. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1851)
|