Skip to content

Simplify circular dependency detection caching. #118

Simplify circular dependency detection caching.

Simplify circular dependency detection caching. #118

Triggered via push February 27, 2026 17:12
Status Failure
Total duration 1m 25s
Artifacts

ci.yml

on: push
dotnet-format  /  dotnet-format
1m 20s
dotnet-format / dotnet-format
pre-commit  /  pre-commit
11s
pre-commit / pre-commit
build  /  build
51s
build / build
publish  /  publish
publish / publish
Fit to window
Zoom out
Zoom in

Annotations

15 errors
build / build: src/Autofac/Core/Resolving/Middleware/CircularDependencyDetectorMiddleware.cs#L61
Argument 2: cannot convert from 'long' to 'System.TimeSpan'
build / build: src/Autofac/Features/Collections/CollectionRegistrationSource.cs#L376
'ValueStopwatch' does not contain a definition for 'ElapsedTicks' and no accessible extension method 'ElapsedTicks' accepting a first argument of type 'ValueStopwatch' could be found (are you missing a using directive or an assembly reference?)
build / build: src/Autofac/Features/Collections/CollectionRegistrationSource.cs#L331
'ValueStopwatch' does not contain a definition for 'ElapsedTicks' and no accessible extension method 'ElapsedTicks' accepting a first argument of type 'ValueStopwatch' could be found (are you missing a using directive or an assembly reference?)
build / build: src/Autofac/Core/Registration/DefaultRegisteredServicesTracker.cs#L364
'ValueStopwatch' does not contain a definition for 'ElapsedTicks' and no accessible extension method 'ElapsedTicks' accepting a first argument of type 'ValueStopwatch' could be found (are you missing a using directive or an assembly reference?)
build / build: src/Autofac/Core/Lifetime/LifetimeScope.cs#L639
'ValueStopwatch' does not contain a definition for 'ElapsedTicks' and no accessible extension method 'ElapsedTicks' accepting a first argument of type 'ValueStopwatch' could be found (are you missing a using directive or an assembly reference?)
build / build: src/Autofac/Core/Resolving/Middleware/CircularDependencyDetectorMiddleware.cs#L61
Argument 2: cannot convert from 'long' to 'System.TimeSpan'
build / build: src/Autofac/Core/Registration/DefaultRegisteredServicesTracker.cs#L364
'ValueStopwatch' does not contain a definition for 'ElapsedTicks' and no accessible extension method 'ElapsedTicks' accepting a first argument of type 'ValueStopwatch' could be found (are you missing a using directive or an assembly reference?)
build / build: src/Autofac/Core/Lifetime/LifetimeScope.cs#L639
'ValueStopwatch' does not contain a definition for 'ElapsedTicks' and no accessible extension method 'ElapsedTicks' accepting a first argument of type 'ValueStopwatch' could be found (are you missing a using directive or an assembly reference?)
build / build: src/Autofac/Features/Collections/CollectionRegistrationSource.cs#L376
'ValueStopwatch' does not contain a definition for 'ElapsedTicks' and no accessible extension method 'ElapsedTicks' accepting a first argument of type 'ValueStopwatch' could be found (are you missing a using directive or an assembly reference?)
build / build: src/Autofac/Features/Collections/CollectionRegistrationSource.cs#L331
'ValueStopwatch' does not contain a definition for 'ElapsedTicks' and no accessible extension method 'ElapsedTicks' accepting a first argument of type 'ValueStopwatch' could be found (are you missing a using directive or an assembly reference?)
dotnet-format / dotnet-format
Process completed with exit code 2.
dotnet-format / dotnet-format: src/Autofac/Core/Resolving/Middleware/CircularDependencyDetectorMiddleware.cs#L61
Argument 2: cannot convert from 'long' to 'System.TimeSpan'
dotnet-format / dotnet-format: src/Autofac/Core/Resolving/Middleware/CircularDependencyDetectorMiddleware.cs#L61
Argument 2: cannot convert from 'long' to 'System.TimeSpan'
dotnet-format / dotnet-format: src/Autofac/Core/Resolving/Middleware/CircularDependencyDetectorMiddleware.cs#L61
Argument 2: cannot convert from 'long' to 'System.TimeSpan'
dotnet-format / dotnet-format: src/Autofac/Core/Resolving/Middleware/CircularDependencyDetectorMiddleware.cs#L61
Argument 2: cannot convert from 'long' to 'System.TimeSpan'