Allow multiple on fixed array generator

This commit is contained in:
2025-05-20 18:15:51 +02:00
parent af1dfd6751
commit 7ec573098b
2 changed files with 2 additions and 2 deletions
@@ -38,7 +38,7 @@ public class FixedArrayGenerator : IIncrementalGenerator
.WithAttribute(SyntaxBuilder.CreateAttribute("AttributeUsage")
.WithArgument(AttributeTargets.Assembly)
.WithArgument("Inherited", false)
.WithArgument("AllowMultiple", false))
.WithArgument("AllowMultiple", true))
.WithProperty(SyntaxBuilder.CreateProperty(Int, Size)
.WithModifier(Public)
.WithModifier(Required)
@@ -5,7 +5,7 @@
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<Authors>Alexandru Macocian</Authors>
<Description>Source generators extensions for netstandard2.0.</Description>
<Version>0.1.3</Version>
<Version>0.1.4</Version>
<LangVersion>latest</LangVersion>
<EnableNETAnalyzers>true</EnableNETAnalyzers>
<EnforceExtendedAnalyzerRules>true</EnforceExtendedAnalyzerRules>