Skip to content

First step to target fully source gen implementation #844

First step to target fully source gen implementation

First step to target fully source gen implementation #844

Triggered via pull request September 1, 2024 16:43
Status Success
Total duration 5m 40s
Artifacts 1

ci-build.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

11 warnings
build / build
The following actions use a deprecated Node.js version and will be forced to run on node20: glennawatson/coverlet-msbuild@v2.1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build / build: InterfaceStubGenerator.Shared/RefitClientModel.cs#L12
Non-nullable property 'DisposeMethod' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build / build: InterfaceStubGenerator.Shared/InterfaceStubGenerator.cs#L118
In externally visible method 'void InterfaceStubGenerator.GenerateInterfaceStubs<TContext>(TContext context, Action<TContext, Diagnostic> reportDiagnostic, Action<TContext, string, SourceText> addSource, CSharpCompilation compilation, string? refitInternalNamespace, ImmutableArray<MethodDeclarationSyntax> candidateMethods, ImmutableArray<InterfaceDeclarationSyntax> candidateInterfaces)', validate parameter 'reportDiagnostic' is non-null before using it. If appropriate, throw an 'ArgumentNullException' when the argument is 'null'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062)
build / build: InterfaceStubGenerator.Shared/InterfaceStubGenerator.cs#L107
In externally visible method 'void InterfaceStubGenerator.GenerateInterfaceStubs<TContext>(TContext context, Action<TContext, Diagnostic> reportDiagnostic, Action<TContext, string, SourceText> addSource, CSharpCompilation compilation, string? refitInternalNamespace, ImmutableArray<MethodDeclarationSyntax> candidateMethods, ImmutableArray<InterfaceDeclarationSyntax> candidateInterfaces)', validate parameter 'compilation' is non-null before using it. If appropriate, throw an 'ArgumentNullException' when the argument is 'null'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062)
build / build: InterfaceStubGenerator.Shared/InterfaceStubGenerator.cs#L226
In externally visible method 'void InterfaceStubGenerator.GenerateInterfaceStubs<TContext>(TContext context, Action<TContext, Diagnostic> reportDiagnostic, Action<TContext, string, SourceText> addSource, CSharpCompilation compilation, string? refitInternalNamespace, ImmutableArray<MethodDeclarationSyntax> candidateMethods, ImmutableArray<InterfaceDeclarationSyntax> candidateInterfaces)', validate parameter 'addSource' is non-null before using it. If appropriate, throw an 'ArgumentNullException' when the argument is 'null'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062)
build / build: InterfaceStubGenerator.Shared/InterfaceStubGenerator.cs#L92
Member 'GenerateInterfaceStubs' does not access instance data and can be marked as static (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1822)
build / build: InterfaceStubGenerator.Shared/RefitMetadata.cs#L7
Type 'RefitMetadata' 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/InterfaceStubGenerator.cs#L798
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/RefitClientModel.cs#L8
Type 'RefitClientModel' 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/RefitClientModel.cs#L12
Non-nullable property 'DisposeMethod' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build / build: InterfaceStubGenerator.Shared/InterfaceStubGenerator.cs#L118
In externally visible method 'void InterfaceStubGeneratorV2.GenerateInterfaceStubs<TContext>(TContext context, Action<TContext, Diagnostic> reportDiagnostic, Action<TContext, string, SourceText> addSource, CSharpCompilation compilation, string? refitInternalNamespace, ImmutableArray<MethodDeclarationSyntax> candidateMethods, ImmutableArray<InterfaceDeclarationSyntax> candidateInterfaces)', validate parameter 'reportDiagnostic' is non-null before using it. If appropriate, throw an 'ArgumentNullException' when the argument is 'null'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062)

Artifacts

Produced during runtime
Name Size
nuget
629 KB