Open sandboxFocusImprove this doc

Dependency injection errors and warnings

Diagnostics reported by Metalama.Extensions.DependencyInjection.

Article Description
LAMA0701: No dependency injection framework is registered A dependency can't be handled because no dependency injection framework is registered.
LAMA0702: No registered dependency injection framework can handle the dependency None of the registered dependency injection frameworks can handle a dependency, for instance a static one.
LAMA0703: The aspect target of [IntroduceDependency] must be a type or a type member The [IntroduceDependency] advice is used in an aspect applied to a declaration that isn't a type or a type member.
LAMA0704: The dependency type is less accessible than the constructor The type of a dependency is less accessible than the constructor that would receive it.