Skip to content

Removes .NET Core 2.1 and .NET 5.0 from test libraries #235

Removes .NET Core 2.1 and .NET 5.0 from test libraries

Removes .NET Core 2.1 and .NET 5.0 from test libraries #235

Triggered via pull request October 6, 2024 04:48
@skwasjerskwasjer
opened #124
Status Success
Total duration 4m 36s
Artifacts

sonarcloud.yml

on: pull_request_target
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
analysis: src/MockHttp/IInvokedHttpRequestCollection.cs#L8
'IConcurrentReadOnlyCollection<IInvokedHttpRequest>' is obsolete: 'Will be removed in next version.'
analysis: src/MockHttp/Internal/Threading/ConcurrentCollection.cs#L6
'IConcurrentReadOnlyCollection<T>' is obsolete: 'Will be removed in next version.'
analysis: 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)
analysis: 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)
analysis: src/MockHttp/IInvokedHttpRequestCollection.cs#L8
'IConcurrentReadOnlyCollection<IInvokedHttpRequest>' is obsolete: 'Will be removed in next version.'
analysis: src/MockHttp/Internal/Threading/ConcurrentCollection.cs#L6
'IConcurrentReadOnlyCollection<T>' is obsolete: 'Will be removed in next version.'
analysis: 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)
analysis: 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)
analysis: src/MockHttp/IInvokedHttpRequestCollection.cs#L8
'IConcurrentReadOnlyCollection<IInvokedHttpRequest>' is obsolete: 'Will be removed in next version.'
analysis: src/MockHttp/Internal/Threading/ConcurrentCollection.cs#L6
'IConcurrentReadOnlyCollection<T>' is obsolete: 'Will be removed in next version.'