chore: replace our own TaskHelpers with a more robust impl. #201
Annotations
10 warnings
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)
|
src/MockHttp/Threading/AsyncHelpers.cs#L95
Rename parameter 'function' to 'd' to match the base class declaration. (https://rules.sonarsource.com/csharp/RSPEC-927)
|
src/MockHttp/Threading/AsyncHelpers.cs#L152
Rename parameter 'function' to 'd' to match the base class declaration. (https://rules.sonarsource.com/csharp/RSPEC-927)
|
src/MockHttp/Threading/AsyncHelpers.cs#L126
Remove this redundant jump. (https://rules.sonarsource.com/csharp/RSPEC-3626)
|
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)
|
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)
|
src/MockHttp/Threading/AsyncHelpers.cs#L95
Rename parameter 'function' to 'd' to match the base class declaration. (https://rules.sonarsource.com/csharp/RSPEC-927)
|
src/MockHttp/Threading/AsyncHelpers.cs#L152
Rename parameter 'function' to 'd' to match the base class declaration. (https://rules.sonarsource.com/csharp/RSPEC-927)
|
src/MockHttp/Threading/AsyncHelpers.cs#L126
Remove this redundant jump. (https://rules.sonarsource.com/csharp/RSPEC-3626)
|
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)
|
This job succeeded
Loading