Skip to content

Merge pull request #5 from MarkCiliaVincenti/AsyncKeyedLockUpdate #59

Merge pull request #5 from MarkCiliaVincenti/AsyncKeyedLockUpdate

Merge pull request #5 from MarkCiliaVincenti/AsyncKeyedLockUpdate #59

Triggered via push May 7, 2025 05:14
Status Success
Total duration 2m 6s
Artifacts

dotnet.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
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/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.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: CacheManagerApi/CacheSource/ApiCacheSourceWithGet.cs#L62
Change ApiCacheSourceWithGet.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: CacheManagerApi/ApiCacheBuilder.cs#L36
Call System.IDisposable.Dispose on object created by 'new ApiCacheSourceWithGet(apiConfig, priority)' before all references to it are out of scope (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2000)
build: CacheManagerApi/Config/ApiType.cs#L6
Add a member to ApiType that has a value of zero with a suggested name of 'None' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1008)
build: CacheManagerApi/Config/ApiConfig.cs#L12
Change the type of property 'ApiConfig.Url' from 'string' to 'System.Uri' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1056)
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)