Fix S2971: simplify LINQ by moving predicate into FirstOrDefault. #37
Annotations
10 errors
|
Build and test:
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 and test:
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 and test:
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 and test:
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 and test:
test/Autofac.Extras.AggregateService.Test/AggregateServiceOpenGenericFixture.cs#L104
Remove this commented out code.
|
|
Build and test:
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 and test:
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 and test:
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 and test:
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 and test:
test/Autofac.Extras.AggregateService.Test/AggregateServiceOpenGenericFixture.cs#L104
Remove this commented out code.
|
background
wait
wait-all
cancel
parallel
Loading