Merge pull request #122 from skwasjer/feature/remove_netcore31_from_s… #231
Annotations
10 warnings
Analyze with SonarCloud:
src/MockHttp/IInvokedHttpRequestCollection.cs#L8
'IConcurrentReadOnlyCollection<IInvokedHttpRequest>' is obsolete: 'Will be removed in next version.'
|
Analyze with SonarCloud:
src/MockHttp/Internal/Threading/ConcurrentCollection.cs#L6
'IConcurrentReadOnlyCollection<T>' is obsolete: 'Will be removed in next version.'
|
Analyze with SonarCloud:
src/MockHttp/Internal/HttpCall.cs#L14
Remove this unread private field '_verifiableBecause' or refactor the code to use its value. (https://rules.sonarsource.com/csharp/RSPEC-4487)
|
Analyze with SonarCloud:
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 with SonarCloud:
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 with SonarCloud:
src/MockHttp/RequestMatching.cs#L74
Collection-specific "Exists" method should be used instead of the "Any" extension. (https://rules.sonarsource.com/csharp/RSPEC-6605)
|
Analyze with SonarCloud:
src/MockHttp/Internal/Extensions/ReadOnlyListExtensions.cs#L41
Do not update the loop counter 'i' within the loop body. (https://rules.sonarsource.com/csharp/RSPEC-127)
|
Analyze with SonarCloud:
src/MockHttp/Internal/Extensions/ReadOnlyListExtensions.cs#L54
Do not update the loop counter 'i' within the loop body. (https://rules.sonarsource.com/csharp/RSPEC-127)
|
Analyze with SonarCloud:
src/MockHttp/Matchers/QueryStringMatcher.cs#L69
Remove this parameter 'right', whose value is ignored in the method. (https://rules.sonarsource.com/csharp/RSPEC-1172)
|
Analyze with SonarCloud:
src/MockHttp/Internal/Response/Behaviors/TimeoutBehavior.cs#L39
Change this condition so that it does not always evaluate to 'True'. Some code paths are unreachable. (https://rules.sonarsource.com/csharp/RSPEC-2583)
|
Loading