test: verify public API #87
Triggered via pull request
September 29, 2024 14:51
Status
Failure
Total duration
1m 38s
Artifacts
–
main.yml
on: pull_request
Annotations
10 errors and 10 warnings
build (v4.4.1-pr117.5):
test/MockHttp.Testing/Specs/PublicApiSpec.cs#L36
An object of a type convertible to 'Task' is required
|
build (v4.4.1-pr117.5):
test/MockHttp.Testing/Specs/PublicApiSpec.cs#L36
An object of a type convertible to 'Task' is required
|
build (v4.4.1-pr117.5):
test/MockHttp.Testing/Specs/PublicApiSpec.cs#L36
An object of a type convertible to 'Task' is required
|
build (v4.4.1-pr117.5):
test/MockHttp.Testing/Specs/PublicApiSpec.cs#L36
An object of a type convertible to 'Task' is required
|
build (v4.4.1-pr117.5):
test/MockHttp.Testing/Specs/PublicApiSpec.cs#L36
An object of a type convertible to 'Task' is required
|
build (v4.4.1-pr117.5):
test/MockHttp.Testing/Specs/PublicApiSpec.cs#L36
An object of a type convertible to 'Task' is required
|
build (v4.4.1-pr117.5):
test/MockHttp.Testing/Specs/PublicApiSpec.cs#L36
An object of a type convertible to 'Task' is required
|
build (v4.4.1-pr117.5):
test/MockHttp.Testing/Specs/PublicApiSpec.cs#L36
An object of a type convertible to 'Task' is required
|
build (v4.4.1-pr117.5):
test/MockHttp.Testing/Specs/PublicApiSpec.cs#L36
An object of a type convertible to 'Task' is required
|
build (v4.4.1-pr117.5):
test/MockHttp.Testing/Specs/PublicApiSpec.cs#L36
An object of a type convertible to 'Task' is required
|
build (v4.4.1-pr117.5):
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)
|
build (v4.4.1-pr117.5):
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)
|
build (v4.4.1-pr117.5):
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)
|
build (v4.4.1-pr117.5):
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)
|
build (v4.4.1-pr117.5):
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)
|
build (v4.4.1-pr117.5):
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)
|
build (v4.4.1-pr117.5):
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)
|
build (v4.4.1-pr117.5):
src/MockHttp/HttpMockException.cs#L39
Provide a message for the ObsoleteAttribute that marks .ctor as Obsolete (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1041)
|
build (v4.4.1-pr117.5):
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)
|
build (v4.4.1-pr117.5):
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)
|