Skip to content

Disable S1133: do not warn on use of obsolete/deprecated members. #145

Disable S1133: do not warn on use of obsolete/deprecated members.

Disable S1133: do not warn on use of obsolete/deprecated members. #145

Triggered via push May 29, 2026 00:45
Status Failure
Total duration 1m 55s
Artifacts

ci.yml

on: push
publish  /  publish
publish / publish
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 11 warnings
build / build: src/Autofac/Features/Collections/CollectionRegistrationSource.cs#L61
Refactor this method to reduce its Cognitive Complexity from 23 to the 15 allowed.
build / build: src/Autofac/Core/Service.cs#L26
Remove this overload of 'operator =='.
build / build: src/Autofac/Util/AsyncReleaseAction.cs#L42
Await DisposeAsync instead.
build / build: src/Autofac/Core/Registration/ComponentRegistrationLifetimeDecorator.cs#L13
Fix this implementation of 'IDisposable' to conform to the dispose pattern.
build / build: src/Autofac/Core/Parameter.cs#L15
Convert this 'abstract' class to an interface.
build / build: src/Autofac/Core/Resolving/Pipeline/ResolveRequestContext.cs#L10
Convert this 'abstract' class to an interface.
build / build: src/Autofac/Core/Activators/Reflection/InjectableProperty.cs#L15
Remove the field '_setter' and declare it as a local variable in the relevant methods.
build / build: src/Autofac/Util/FallbackDictionary.cs#L91
Refactor 'Keys' into a method, properties should not copy collections.
build / build: src/Autofac/Util/Disposable.cs#L9
Fix this implementation of 'IDisposable' to conform to the dispose pattern.
dotnet-format / dotnet-format
Process completed with exit code 2.
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: src/Autofac/Core/Resolving/Pipeline/ResolveRequestContext.cs#L10
Convert this 'abstract' class to an interface.
dotnet-format / dotnet-format: src/Autofac/Core/Parameter.cs#L15
Convert this 'abstract' class to an interface.
dotnet-format / dotnet-format: src/Autofac/Core/Registration/ComponentRegistration.cs#L92
Constructor has 9 parameters, which is greater than the 7 authorized.
dotnet-format / dotnet-format: src/Autofac/Core/Registration/DefaultRegisteredServicesTracker.cs#L447
Refactor this method to reduce its Cognitive Complexity from 24 to the 15 allowed.
dotnet-format / 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 / 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 / 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 / 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 / dotnet-format: src/Autofac/Features/Collections/CollectionRegistrationSource.cs#L61
Refactor this method to reduce its Cognitive Complexity from 23 to the 15 allowed.