Add SonarAnalyzer.CSharp and fix test warnings. #140
Annotations
10 errors
|
Build and test:
src/Autofac/Core/Parameter.cs#L15
Convert this 'abstract' class to an interface.
|
|
Build and test:
src/Autofac/Util/FallbackDictionary.cs#L91
Refactor 'Keys' into a method, properties should not copy collections.
|
|
Build and test:
src/Autofac/Core/Activators/Reflection/InjectableProperty.cs#L15
Remove the field '_setter' and declare it as a local variable in the relevant methods.
|
|
Build and test:
src/Autofac/Util/Disposable.cs#L9
Fix this implementation of 'IDisposable' to conform to the dispose pattern.
|
|
Build and test:
src/Autofac/RegistrationExtensions.Decorators.cs#L34
All 'RegisterGenericDecorator' method overloads should be adjacent.
|
|
Build and test:
src/Autofac/RegistrationExtensions.cs#L218
All 'WithMetadata' method overloads should be adjacent.
|
|
Build and test:
src/Autofac/Diagnostics/DefaultDiagnosticTracer.cs#L237
Private classes which are not derived in the current assembly should be marked as 'sealed'.
|
|
Build and test:
src/Autofac/Core/Registration/ExternalComponentRegistration.cs#L30
Private classes which are not derived in the current assembly should be marked as 'sealed'.
|
|
Build and test:
src/Autofac/Builder/DynamicRegistrationStyle.cs#L9
Remove this empty class, write its code or make it an "interface".
|
|
Build and test:
src/Autofac/Core/Activators/Reflection/AutowiringPropertyInjector.cs#L165
Remove this commented out code.
|
background
wait
wait-all
cancel
parallel
Loading