v3.7.5
DependencyInjection.Lifetime.Analyzers 3.7.5
Compile-time DI diagnostics for Microsoft.Extensions.DependencyInjection projects that want earlier feedback on lifetime bugs, scope leaks, service locator drift, and unresolvable registrations.
Why install or upgrade
- DI025 now detects leaks when one implementation has a transient effective service slot alongside a singleton slot, while preserving same-slot override and code-fix safety behavior.
Install
dotnet add package DependencyInjection.Lifetime.Analyzers --version 3.7.5What changed
Fixed
- DI025 now detects leaks when one implementation has a transient effective service slot alongside a singleton slot, while preserving same-slot override and code-fix safety behavior.
Learn more
- Searchable docs site: https://georgepwall1991.github.io/DependencyInjection.Lifetime.Analyzers/
- Rule index: https://georgepwall1991.github.io/DependencyInjection.Lifetime.Analyzers/rules/
- Problem guides: https://georgepwall1991.github.io/DependencyInjection.Lifetime.Analyzers/problems/
- Adoption guide: https://georgepwall1991.github.io/DependencyInjection.Lifetime.Analyzers/adoption/
- NuGet package: https://www.nuget.org/packages/DependencyInjection.Lifetime.Analyzers