DiagnosticIds
NexusLabs.Needlr.Analyzers¶
NexusLabs.Needlr.Analyzers¶
DiagnosticIds Class¶
Contains diagnostic IDs for all Needlr core analyzers.
Inheritance System.Object 🡒 DiagnosticIds
Remarks¶
Core analyzer codes use the NDLRCOR prefix.
Fields¶
DiagnosticIds.CircularDependency Field¶
NDLRCOR006: Circular dependency detected in service registration.
Field Value¶
DiagnosticIds.CollectionResolutionEmpty Field¶
NDLRCOR010: IEnumerable\<T> has no implementations discovered by source generation.
Field Value¶
DiagnosticIds.DeferToContainerInGeneratedCode Field¶
NDLRCOR003: DeferToContainer attribute in generated code.
Field Value¶
DiagnosticIds.DisposableCaptiveDependency Field¶
NDLRCOR012: Disposable captive dependency - longer-lived service holds IDisposable with shorter lifetime.
Field Value¶
DiagnosticIds.DoNotAutoRegisterOnPluginClass Field¶
NDLRCOR016: [DoNotAutoRegister] applied directly to a plugin class is redundant.
Field Value¶
DiagnosticIds.GlobalNamespaceTypeNotDiscovered Field¶
NDLRCOR004: Injectable type in global namespace may not be discovered.
Field Value¶
DiagnosticIds.InterceptOnClassWithoutInterfaces Field¶
NDLRCOR008: [Intercept] applied to class without interfaces.
Field Value¶
DiagnosticIds.InterceptTypeMustImplementInterface Field¶
NDLRCOR007: Intercept attribute type must implement IMethodInterceptor.
Field Value¶
DiagnosticIds.KeyedServiceUnknownKey Field¶
NDLRCOR011: [FromKeyedServices] references a key with no known registration.
Field Value¶
DiagnosticIds.LazyResolutionUnknown Field¶
NDLRCOR009: Lazy\<T> references type not discovered by source generation.
Field Value¶
DiagnosticIds.LifetimeMismatch Field¶
NDLRCOR005: Lifetime mismatch - longer-lived service depends on shorter-lived service.
Field Value¶
DiagnosticIds.PluginHasConstructorDependencies Field¶
NDLRCOR002: Plugin has constructor dependencies.
Field Value¶
DiagnosticIds.ReflectionInAotProject Field¶
NDLRCOR001: Reflection API used in AOT project.
Field Value¶
DiagnosticIds.RegisterAsTypeArgNotImplemented Field¶
NDLRCOR015: [RegisterAs\<T>] type argument must be an interface implemented by the class.