CodeQL #77
Annotations
1 error and 13 warnings
|
Analyze (csharp)
CodeQL Action major versions v1 and v2 have been deprecated. Please update all occurrences of the CodeQL Action in your workflow files to v3. For more information, see https://github.blog/changelog/2025-01-10-code-scanning-codeql-action-v2-is-now-deprecated/
|
|
Analyze (csharp)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v3, actions/setup-dotnet@v3, github/codeql-action/analyze@v2, github/codeql-action/autobuild@v2, github/codeql-action/init@v2. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Analyze (csharp)
Unexpected input(s) 'include-prerelease', valid inputs are ['dotnet-version', 'dotnet-quality', 'global-json-file', 'source-url', 'owner', 'config-file', 'cache', 'cache-dependency-path']
|
|
Analyze (csharp):
src/TBC.OpenAPI.SDK.Core/HttpHelper.cs#L36
Call System.IDisposable.Dispose on object created by 'GetHttpClient()' before all references to it are out of scope (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2000)
|
|
Analyze (csharp):
src/TBC.OpenAPI.SDK.Core/HttpHelper.cs#L37
Call System.IDisposable.Dispose on object created by 'CreateRequestMessage(httpClient, HttpMethod.Get, path, query, headers)' before all references to it are out of scope (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2000)
|
|
Analyze (csharp):
src/TBC.OpenAPI.SDK.Core/HttpHelper.cs#L36
Call System.IDisposable.Dispose on object created by 'GetHttpClient()' before all references to it are out of scope (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2000)
|
|
Analyze (csharp):
src/TBC.OpenAPI.SDK.Core/Models/ProblemDetails.cs#L76
Change 'Errors' to be read-only by removing the property setter (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2227)
|
|
Analyze (csharp):
src/TBC.OpenAPI.SDK.Core/Models/ProblemDetails.cs#L76
Change 'Errors' to be read-only by removing the property setter (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2227)
|
|
Analyze (csharp):
src/TBC.OpenAPI.SDK.Core/Models/ApiResponse.cs#L7
Change 'Headers' to be read-only by removing the property setter (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2227)
|
|
Analyze (csharp):
src/TBC.OpenAPI.SDK.Core/Models/ApiResponse.cs#L7
Change 'Headers' to be read-only by removing the property setter (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2227)
|
|
Analyze (csharp):
src/TBC.OpenAPI.SDK.Core/Extensions/ServiceCollectionExtensions.cs#L26
Dereference of a possibly null reference.
|
|
Analyze (csharp):
src/TBC.OpenAPI.SDK.Core/QueryStringHelper/QueryStringBuilder.cs#L15
Cannot convert null literal to non-nullable reference type.
|
|
Analyze (csharp):
src/TBC.OpenAPI.SDK.Core/Models/ProblemDetailsJsonConverter.cs#L8
'ProblemDetailsJsonConverter.Type' hides inherited member 'JsonConverter<ProblemDetails>.Type'. Use the new keyword if hiding was intended.
|
|
Analyze (csharp)
Unexpected input(s) 'include-prerelease', valid inputs are ['dotnet-version', 'dotnet-quality', 'global-json-file', 'source-url', 'owner', 'config-file', 'cache', 'cache-dependency-path']
|