Skip to content

Add SonarAnalyzer.CSharp and unified analyzer rulesets. #36

Add SonarAnalyzer.CSharp and unified analyzer rulesets.

Add SonarAnalyzer.CSharp and unified analyzer rulesets. #36

Triggered via push May 28, 2026 19:38
Status Failure
Total duration 1m 47s
Artifacts

ci.yml

on: push
dotnet-format  /  dotnet-format
1m 16s
dotnet-format / dotnet-format
pre-commit  /  pre-commit
13s
pre-commit / pre-commit
build  /  build
24s
build / build
publish  /  publish
publish / publish
Fit to window
Zoom out
Zoom in

Annotations

19 errors and 3 warnings
build / build
Process completed with exit code 1.
build / build: src/Autofac.Extras.AggregateService/ResolvingInterceptor.cs#L69
Drop 'Where' and move the condition into the 'FirstOrDefault'.
build / build: src/Autofac.Extras.AggregateService/ResolvingInterceptor.cs#L69
Drop 'Where' and move the condition into the 'FirstOrDefault'.
build / build: src/Autofac.Extras.AggregateService/ResolvingInterceptor.cs#L69
Drop 'Where' and move the condition into the 'FirstOrDefault'.
build / build: src/Autofac.Extras.AggregateService/ResolvingInterceptor.cs#L69
Drop 'Where' and move the condition into the 'FirstOrDefault'.
build / build: src/Autofac.Extras.AggregateService/ResolvingInterceptor.cs#L69
Drop 'Where' and move the condition into the 'FirstOrDefault'.
build / build: src/Autofac.Extras.AggregateService/ResolvingInterceptor.cs#L69
Drop 'Where' and move the condition into the 'FirstOrDefault'.
build / build: src/Autofac.Extras.AggregateService/ResolvingInterceptor.cs#L69
Drop 'Where' and move the condition into the 'FirstOrDefault'.
build / build: src/Autofac.Extras.AggregateService/ResolvingInterceptor.cs#L69
Drop 'Where' and move the condition into the 'FirstOrDefault'.
dotnet-format / dotnet-format: src/Autofac.Extras.AggregateService/AggregateServiceGenerator.cs#L50
Argument 2: cannot convert from 'string' to 'System.Exception'
dotnet-format / dotnet-format: src/Autofac.Extras.AggregateService/ResolvingInterceptor.cs#L69
Drop 'Where' and move the condition into the 'FirstOrDefault'.
dotnet-format / dotnet-format: src/Autofac.Extras.AggregateService/ContainerBuilderExtensions.cs#L54
Argument 2: cannot convert from 'string' to 'System.Exception?'
dotnet-format / dotnet-format: src/Autofac.Extras.AggregateService/ContainerBuilderExtensions.cs#L43
Argument 2: cannot convert from 'string' to 'System.Exception?'
dotnet-format / dotnet-format: src/Autofac.Extras.AggregateService/AggregateServiceGenerator.cs#L50
Argument 2: cannot convert from 'string' to 'System.Exception?'
dotnet-format / dotnet-format: src/Autofac.Extras.AggregateService/ResolvingInterceptor.cs#L69
Drop 'Where' and move the condition into the 'FirstOrDefault'.
dotnet-format / dotnet-format: src/Autofac.Extras.AggregateService/ContainerBuilderExtensions.cs#L54
Argument 2: cannot convert from 'string' to 'System.Exception?'
dotnet-format / dotnet-format: src/Autofac.Extras.AggregateService/ContainerBuilderExtensions.cs#L43
Argument 2: cannot convert from 'string' to 'System.Exception?'
dotnet-format / dotnet-format: src/Autofac.Extras.AggregateService/AggregateServiceGenerator.cs#L50
Argument 2: cannot convert from 'string' to 'System.Exception?'
dotnet-format / dotnet-format: src/Autofac.Extras.AggregateService/ResolvingInterceptor.cs#L69
Drop 'Where' and move the condition into the 'FirstOrDefault'.
pre-commit / pre-commit
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
dotnet-format / dotnet-format: test/Autofac.Extras.AggregateService.Test/IMyContext.cs#L15
The property name 'MyService' is confusing given the existence of method 'GetMyService'. Rename or remove one of these members.