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