Skip to content

CodeQL

CodeQL #189

Triggered via schedule January 11, 2025 07:11
Status Success
Total duration 5m 59s
Artifacts

codeql-analysis.yml

on: schedule
Matrix: Analyze
Fit to window
Zoom out
Zoom in

Annotations

1 error and 11 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)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Analyze (csharp): src/MockHttp/IInvokedHttpRequestCollection.cs#L8
'IConcurrentReadOnlyCollection<IInvokedHttpRequest>' is obsolete: 'Will be removed in next version.'
Analyze (csharp): src/MockHttp/Internal/Threading/ConcurrentCollection.cs#L6
'IConcurrentReadOnlyCollection<T>' is obsolete: 'Will be removed in next version.'
Analyze (csharp): src/MockHttp/Responses/IResponseBehavior.cs#L7
Rename type name ResponseHandlerDelegate so that it does not end in 'Delegate' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1711)
Analyze (csharp): src/MockHttp/Responses/IResponseBehavior.cs#L22
In virtual/interface member IResponseBehavior.HandleAsync(MockHttpRequestContext, HttpResponseMessage, ResponseHandlerDelegate, CancellationToken), rename parameter next so that it no longer conflicts with the reserved language keyword 'Next'. Using a reserved keyword as the name of a parameter on a virtual/interface member makes it harder for consumers in other languages to override/implement the member. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1716)
Analyze (csharp): src/MockHttp/IInvokedHttpRequestCollection.cs#L8
'IConcurrentReadOnlyCollection<IInvokedHttpRequest>' is obsolete: 'Will be removed in next version.'
Analyze (csharp): src/MockHttp/Internal/Threading/ConcurrentCollection.cs#L6
'IConcurrentReadOnlyCollection<T>' is obsolete: 'Will be removed in next version.'
Analyze (csharp): src/MockHttp/Responses/IResponseBehavior.cs#L7
Rename type name ResponseHandlerDelegate so that it does not end in 'Delegate' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1711)
Analyze (csharp): src/MockHttp/Responses/IResponseBehavior.cs#L22
In virtual/interface member IResponseBehavior.HandleAsync(MockHttpRequestContext, HttpResponseMessage, ResponseHandlerDelegate, CancellationToken), rename parameter next so that it no longer conflicts with the reserved language keyword 'Next'. Using a reserved keyword as the name of a parameter on a virtual/interface member makes it harder for consumers in other languages to override/implement the member. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1716)
Analyze (csharp): src/MockHttp/IInvokedHttpRequestCollection.cs#L8
'IConcurrentReadOnlyCollection<IInvokedHttpRequest>' is obsolete: 'Will be removed in next version.'
Analyze (csharp): src/MockHttp/Internal/Threading/ConcurrentCollection.cs#L6
'IConcurrentReadOnlyCollection<T>' is obsolete: 'Will be removed in next version.'