Skip to content

Update Refit.Tests to use net 4.8 #1443

Update Refit.Tests to use net 4.8

Update Refit.Tests to use net 4.8 #1443

Re-run triggered February 9, 2025 10:15
Status Failure
Total duration 9m 53s
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/InterfaceStubGenerator.cs#L28
Unused field 'TypeParameterVariableName' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1823)
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#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: Refit/ApiException.cs#L67
Field RefitSettings is a member of type ApiException which is serializable but is of type Refit.RefitSettings which is not serializable (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2235)
build / build: Refit/MultipartItem.cs#L12
Abstract type 'MultipartItem' should not have public constructors (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1012)
build / build: Refit/MultipartItem.cs#L133
Properties should not return arrays (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1819)
build / build: Refit/ProblemDetails.cs#L13
Change 'Errors' to be read-only by removing the property setter (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2227)
build / build: Refit/ProblemDetails.cs#L19
Change 'Extensions' to be read-only by removing the property setter (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2227)