Skip to content

Update Refit.Tests to use net 4.8 #1441

Update Refit.Tests to use net 4.8

Update Refit.Tests to use net 4.8 #1441

Triggered via pull request February 4, 2025 20:52
Status Failure
Total duration 5m 55s
Artifacts

ci-build.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

1 error and 10 warnings
build / build
The process 'C:\Program Files\dotnet\dotnet.exe' failed with exit code 1
build / build: InterfaceStubGenerator.Shared/UniqueNameBuilder.cs#L6
Missing XML comment for publicly visible type or member 'UniqueNameBuilder'
build / build: InterfaceStubGenerator.Shared/UniqueNameBuilder.cs#L6
Missing XML comment for publicly visible type or member 'UniqueNameBuilder.UniqueNameBuilder()'
build / build: InterfaceStubGenerator.Shared/Emitter.cs#L180
Method WriteRefitMethod passes 'ReturnTypeMetadata' as the paramName argument to a ArgumentOutOfRangeException constructor. Replace this argument with one of the method's parameter names. Note that the provided parameter name should have the exact casing as declared on the method. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2208)
build / build: InterfaceStubGenerator.Shared/InterfaceStubGenerator.cs#L28
Unused field 'TypeParameterVariableName' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1823)
build / build: InterfaceStubGenerator.Shared/InterfaceStubGenerator.cs#L184
Type 'SyntaxReceiver' can be sealed because it has no subtypes in its containing assembly and is not externally visible (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1852)
build / build: InterfaceStubGenerator.Shared/UniqueNameBuilder.cs#L6
Missing XML comment for publicly visible type or member 'UniqueNameBuilder'
build / build: InterfaceStubGenerator.Shared/UniqueNameBuilder.cs#L6
Missing XML comment for publicly visible type or member 'UniqueNameBuilder.UniqueNameBuilder()'
build / build: InterfaceStubGenerator.Shared/Emitter.cs#L180
Method WriteRefitMethod passes 'ReturnTypeMetadata' as the paramName argument to a ArgumentOutOfRangeException constructor. Replace this argument with one of the method's parameter names. Note that the provided parameter name should have the exact casing as declared on the method. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2208)
build / build: InterfaceStubGenerator.Shared/InterfaceStubGenerator.cs#L28
Unused field 'TypeParameterVariableName' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1823)
build / build: Refit/ValidationApiException.cs#L9
Add the following constructor to ValidationApiException: public ValidationApiException(string message) (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1032)