Bump the tests group across 1 directory with 4 updates #108
Annotations
10 errors and 10 warnings
Analyze (csharp):
src/EFCoreSecondLevelCacheInterceptor.HybridCache/EFHybridCacheDependenciesStore.cs#L32
The 'await' operator can only be used within an async method. Consider marking this method with the 'async' modifier and changing its return type to 'Task'.
|
Analyze (csharp):
src/EFCoreSecondLevelCacheInterceptor.HybridCache/EFHybridCacheDependenciesStore.cs#L54
The 'await' operator can only be used within an async method. Consider marking this method with the 'async' modifier and changing its return type to 'Task'.
|
Analyze (csharp):
src/EFCoreSecondLevelCacheInterceptor.HybridCache/EFHybridCacheDependenciesStore.cs#L70
The 'await' operator can only be used within an async method. Consider marking this method with the 'async' modifier and changing its return type to 'Task<ISet<string>>'.
|
Analyze (csharp):
src/EFCoreSecondLevelCacheInterceptor.HybridCache/EFHybridCacheProvider.cs#L64
Cannot implicitly convert type 'System.Threading.Tasks.ValueTask<EFCoreSecondLevelCacheInterceptor.EFCachedData?>' to 'EFCoreSecondLevelCacheInterceptor.EFCachedData'
|
Analyze (csharp):
src/EFCoreSecondLevelCacheInterceptor.HybridCache/EFHybridCacheProvider.cs#L34
ValueTask instances returned from method calls should always be used, typically awaited. Not doing so often represents a functional bug, but even if it doesn't, it can result in degraded performance if the target method pools objects for use with ValueTasks. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2012)
|
Analyze (csharp):
src/EFCoreSecondLevelCacheInterceptor.HybridCache/EFHybridCacheProvider.cs#L34
Observe the awaitable result of this method call by awaiting it, assigning to a variable, or passing it to another method (https://github.com/Microsoft/vs-threading/blob/main/doc/analyzers/VSTHRD110.md)
|
|
Analyze (csharp):
src/EFCoreSecondLevelCacheInterceptor.HybridCache/EFHybridCacheProvider.cs#L64
ValueTask instances returned from method calls should be directly awaited, returned, or passed as an argument to another method call. Other usage, such as storing an instance into a local or a field, is likely an indication of a bug, as ValueTask instances must only ever be consumed once. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2012)
|
Analyze (csharp):
src/EFCoreSecondLevelCacheInterceptor.HybridCache/EFHybridCacheDependenciesStore.cs#L62
ValueTask instances returned from method calls should always be used, typically awaited. Not doing so often represents a functional bug, but even if it doesn't, it can result in degraded performance if the target method pools objects for use with ValueTasks. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2012)
|
Analyze (csharp):
src/EFCoreSecondLevelCacheInterceptor.HybridCache/EFHybridCacheProvider.cs#L86
ValueTask instances returned from method calls should always be used, typically awaited. Not doing so often represents a functional bug, but even if it doesn't, it can result in degraded performance if the target method pools objects for use with ValueTasks. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2012)
|
Analyze (csharp):
src/Tests/EFCoreSecondLevelCacheInterceptor.UnitTests/EFServiceCollectionExtensionsTests.cs#L142
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
|
Analyze (csharp):
src/Tests/Issues/Issue192/Program.cs#L19
'IQueryableBatchExtensions.BatchDelete(IQueryable)' is obsolete: 'As of EF 7 there are native method ExcuteDelete.'
|
Analyze (csharp):
src/Tests/Issues/Issue192/Program.cs#L21
'IQueryableBatchExtensions.BatchUpdate<T>(IQueryable<T>, Expression<Func<T, T>>, Type?)' is obsolete: 'As of EF 7 there are native method ExcuteUpdate.'
|
Analyze (csharp):
src/Tests/EFCoreSecondLevelCacheInterceptor.PerformanceTests/Program.cs#L22
'ConfigExtensions.With(IConfig, params IAnalyser[])' is obsolete: 'This method will soon be removed, please start using .AddAnalyser() instead.'
|
Analyze (csharp):
src/Tests/EFCoreSecondLevelCacheInterceptor.PerformanceTests/Program.cs#L22
'ConfigExtensions.With(IConfig, params IExporter[])' is obsolete: 'This method will soon be removed, please start using .AddExporter() instead.'
|
Analyze (csharp):
src/Tests/EFCoreSecondLevelCacheInterceptor.PerformanceTests/Program.cs#L22
'ConfigExtensions.With(IConfig, params IDiagnoser[])' is obsolete: 'This method will soon be removed, please start using .AddDiagnoser() instead.'
|
Analyze (csharp):
src/Tests/EFCoreSecondLevelCacheInterceptor.PerformanceTests/Program.cs#L22
'ConfigExtensions.With(IConfig, params IColumn[])' is obsolete: 'This method will soon be removed, please start using .AddColumn() instead.'
|
Analyze (csharp):
src/Tests/EFCoreSecondLevelCacheInterceptor.PerformanceTests/Program.cs#L22
'ConfigExtensions.With(IConfig, params IColumn[])' is obsolete: 'This method will soon be removed, please start using .AddColumn() instead.'
|
Analyze (csharp):
src/Tests/EFCoreSecondLevelCacheInterceptor.PerformanceTests/Program.cs#L22
'ConfigExtensions.With(IConfig, params IColumn[])' is obsolete: 'This method will soon be removed, please start using .AddColumn() instead.'
|
Analyze (csharp):
src/Tests/EFCoreSecondLevelCacheInterceptor.PerformanceTests/Program.cs#L22
'ConfigExtensions.With(IConfig, params IColumn[])' is obsolete: 'This method will soon be removed, please start using .AddColumn() instead.'
|