Skip to content

Move to GitHub actions #3

Move to GitHub actions

Move to GitHub actions #3

Triggered via pull request December 29, 2023 12:08
@ErikEJErikEJ
synchronize #10
actions
Status Success
Total duration 2m 25s
Artifacts 1

dotnet.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
build: src/SqlClientExtensions/SqlDataSource.cs#L7
Abstract type 'SqlDataSource' should not have public constructors (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1012)
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/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/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/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
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#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/SqlDataSource.cs#L7
Abstract type 'SqlDataSource' should not have public constructors (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1012)
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/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)

Artifacts

Produced during runtime
Name Size
artifact Expired
37.2 KB