Skip to content

fix: remove MaxCount from async lock config #62

fix: remove MaxCount from async lock config

fix: remove MaxCount from async lock config #62

Triggered via pull request May 7, 2025 05:35
Status Success
Total duration 2m 10s
Artifacts

dotnet.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
build: CacheManager.Redis/Config/RedisConfig.cs#L14
Non-nullable property 'ConnectionString' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build: CacheManagerClear/CacheManagerClearBuilder.cs#L13
Member 'BuildPublisher' does not access instance data and can be marked as static (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1822)
build: CacheManagerClear/CacheManagerClearBuilder.cs#L32
Member 'BuildSubscriber' does not access instance data and can be marked as static (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1822)
build: CacheManager.Redis/CacheSource/RedisCacheSource.cs#L121
Change RedisCacheSource.DisposeAsync() to call GC.SuppressFinalize(object). This will prevent derived types that introduce a finalizer from needing to re-implement 'IDisposable' to call it. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1816)
build: CacheManager.Redis/RedisCacheBuilder.cs#L35
Call System.IDisposable.Dispose on object created by 'new RedisCacheSource(redisConfig, priority)' before all references to it are out of scope (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2000)
build: CacheManager.SqlServer/CacheSource/SqlServerDbCacheSourceWithGet.cs#L61
Change SqlServerDbCacheSourceWithGet.DisposeAsync() to call GC.SuppressFinalize(object). This will prevent derived types that introduce a finalizer from needing to re-implement 'IDisposable' to call it. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1816)
build: CacheManager.SqlServer/CacheSource/SqlServerDbCacheSourceWithGetWithSetAndClear.cs#L123
Change SqlServerDbCacheSourceWithGetAndSetAndClear.DisposeAsync() to call GC.SuppressFinalize(object). This will prevent derived types that introduce a finalizer from needing to re-implement 'IDisposable' to call it. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1816)
build: CacheManager.SqlServer/SqlServerDbCacheBuilder.cs#L64
Call System.IDisposable.Dispose on object created by 'new SqlServerDbCacheSourceWithGetAndSetAndClear(dbConfig, priority)' before all references to it are out of scope (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2000)
build: CacheManager.SqlServer/SqlServerDbCacheBuilder.cs#L35
Call System.IDisposable.Dispose on object created by 'new SqlServerDbCacheSourceWithGet(dbConfig, priority)' before all references to it are out of scope (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2000)
build: CacheManager/EasyCacheManager.cs#L52
Cache a 'CompositeFormat' for repeated use in this formatting operation (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1863)