Skip to content

Bump Microsoft.Extensions.DependencyInjection.Abstractions and Microsoft.Extensions.Logging.Abstractions #210

Bump Microsoft.Extensions.DependencyInjection.Abstractions and Microsoft.Extensions.Logging.Abstractions

Bump Microsoft.Extensions.DependencyInjection.Abstractions and Microsoft.Extensions.Logging.Abstractions #210

Triggered via pull request April 20, 2026 23:37
Status Success
Total duration 1m 49s
Artifacts 1

dotnet.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
build: src/SqlClientExtensions/SqlClientListener.cs#L38
Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
build: src/SqlClientExtensions/SqlLoggingConfiguration.cs#L18
Call System.IDisposable.Dispose on object created by 'new SqlClientListener(loggerFactory, enableVerbose)' before all references to it are out of scope (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2000)
build: src/SqlClientExtensions/SqlClientListener.cs#L6
Type 'SqlClientListener' can be sealed because it has no subtypes in its containing assembly and is not externally visible (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1852)
build: src/SqlClientExtensions/SqlClientListener.cs#L38
The logging message template should not vary between calls to 'LoggerExtensions.Log(ILogger, LogLevel, string?, params object?[])' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2254)
build: src/SqlClientExtensions/SqlClientListener.cs#L38
For improved performance, use the LoggerMessage delegates instead of calling 'LoggerExtensions.Log(ILogger, LogLevel, string?, params object?[])' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1848)
build: src/SqlClientExtensions/SqlClientListener.cs#L38
Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
build: src/SqlClientExtensions/SqlClientListener.cs#L38
Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
build: src/SqlClientExtensions/SqlDataSource.cs#L93
Call System.IDisposable.Dispose on object created by 'OpenConnection()' before all references to it are out of scope (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2000)
build: src/SqlClientExtensions/SqlDataSource.cs#L96
Review if the query string passed to 'string SqlCommand.CommandText' in 'CreateCommand', accepts any user input (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2100)
build: src/SqlClientExtensions/SqlLoggingConfiguration.cs#L18
Call System.IDisposable.Dispose on object created by 'new SqlClientListener(loggerFactory, enableVerbose)' before all references to it are out of scope (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2000)

Artifacts

Produced during runtime
Name Size Digest
artifact
37.4 KB
sha256:484fe2f29545b0920ae3d81e6c895c1b38ce3c55203855a6e28473342564ac4c