Fix S2971: simplify LINQ by moving predicate into FirstOrDefault. #37
ci.yml
on: push
dotnet-format
/
dotnet-format
33s
pre-commit
/
pre-commit
12s
build
/
build
23s
publish
/
publish
Annotations
20 errors and 3 warnings
|
build / build:
test/Autofac.Extras.AggregateService.Test/PassThroughOpenGenericImpl.cs#L6
Either replace the suffix 'Impl' in member name 'PassThroughOpenGenericImpl' with the suggested alternate 'Core' or remove the suffix completely (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1711)
|
|
build / build:
test/Autofac.Extras.AggregateService.Test/OpenGenericImpl.cs#L6
Either replace the suffix 'Impl' in member name 'OpenGenericImpl' with the suggested alternate 'Core' or remove the suffix completely (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1711)
|
|
build / build:
test/Autofac.Extras.AggregateService.Test/MyServiceImpl.cs#L8
Either replace the suffix 'Impl' in member name 'MyServiceImpl' with the suggested alternate 'Core' or remove the suffix completely (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1711)
|
|
build / build:
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. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1721)
|
|
build / build:
test/Autofac.Extras.AggregateService.Test/AggregateServiceOpenGenericFixture.cs#L104
Remove this commented out code.
|
|
build / build:
test/Autofac.Extras.AggregateService.Test/PassThroughOpenGenericImpl.cs#L6
Either replace the suffix 'Impl' in member name 'PassThroughOpenGenericImpl' with the suggested alternate 'Core' or remove the suffix completely (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1711)
|
|
build / build:
test/Autofac.Extras.AggregateService.Test/OpenGenericImpl.cs#L6
Either replace the suffix 'Impl' in member name 'OpenGenericImpl' with the suggested alternate 'Core' or remove the suffix completely (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1711)
|
|
build / build:
test/Autofac.Extras.AggregateService.Test/MyServiceImpl.cs#L8
Either replace the suffix 'Impl' in member name 'MyServiceImpl' with the suggested alternate 'Core' or remove the suffix completely (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1711)
|
|
build / build:
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. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1721)
|
|
build / build:
test/Autofac.Extras.AggregateService.Test/AggregateServiceOpenGenericFixture.cs#L104
Remove this commented out code.
|
|
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/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/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/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?'
|
|
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.
|
|
dotnet-format / dotnet-format:
test/Autofac.Extras.AggregateService.Test/AggregateServiceOpenGenericFixture.cs#L104
Remove this commented out code.
|