Fix S1066: merge collapsible if statements. #142
Annotations
1 error and 10 warnings
|
dotnet format
Process completed with exit code 2.
|
|
dotnet format:
src/Autofac/Core/Activators/Reflection/ReflectionActivator.cs#L433
Refactor this method to reduce its Cognitive Complexity from 37 to the 15 allowed.
|
|
dotnet format:
src/Autofac/Core/Activators/Reflection/ReflectionActivator.cs#L211
Refactor this method to reduce its Cognitive Complexity from 20 to the 15 allowed.
|
|
dotnet format:
src/Autofac/Core/Activators/Reflection/ReflectionActivator.cs#L85
Refactor this method to reduce its Cognitive Complexity from 18 to the 15 allowed.
|
|
dotnet format:
src/Autofac/RegistrationExtensions.Decorators.cs#L19
An opening brace should not be followed by a blank line
|
|
dotnet format:
src/Autofac/Features/Collections/CollectionRegistrationSource.cs#L194
Refactor this method to reduce its Cognitive Complexity from 23 to the 15 allowed.
|
|
dotnet format:
src/Autofac/Features/Collections/CollectionRegistrationSource.cs#L61
Refactor this method to reduce its Cognitive Complexity from 23 to the 15 allowed.
|
|
dotnet format:
src/Autofac/Features/AttributeFilters/KeyFilterAttribute.cs#L76
Specify AttributeUsage on 'KeyFilterAttribute' to improve readability, even though it inherits it from its base type.
|
|
dotnet format:
src/Autofac/Diagnostics/DefaultDiagnosticTracer.cs#L237
Private classes which are not derived in the current assembly should be marked as 'sealed'.
|
|
dotnet format:
src/Autofac/Core/Registration/ExternalComponentRegistration.cs#L30
Private classes which are not derived in the current assembly should be marked as 'sealed'.
|
|
dotnet format:
src/Autofac/Core/Activators/Reflection/AutowiringPropertyInjector.cs#L165
Remove this commented out code.
|
background
wait
wait-all
cancel
parallel
Loading