diff --git a/VContainer.SourceGenerator/VContainerIncrementalSourceGenerator.cs b/VContainer.SourceGenerator/VContainerIncrementalSourceGenerator.cs index 939c3ec3..56a79084 100644 --- a/VContainer.SourceGenerator/VContainerIncrementalSourceGenerator.cs +++ b/VContainer.SourceGenerator/VContainerIncrementalSourceGenerator.cs @@ -106,7 +106,7 @@ public void Initialize(IncrementalGeneratorInitializationContext context) var attributeName = attributeSymbol.ContainingType.ToDisplayString(); // Ignore - if (attributeName == "VContainer.InjectIgnore") + if (attributeName == "VContainer.InjectIgnoreAttribute") return null; } }