From 7ec573098bc8de1c31e75e574b5d190b97863d85 Mon Sep 17 00:00:00 2001 From: Alex Macocian Date: Tue, 20 May 2025 18:15:51 +0200 Subject: [PATCH] Allow multiple on fixed array generator --- SystemExtensions.NetStandard.Generators/FixedArrayGenerator.cs | 2 +- .../SystemExtensions.NetStandard.Generators.csproj | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/SystemExtensions.NetStandard.Generators/FixedArrayGenerator.cs b/SystemExtensions.NetStandard.Generators/FixedArrayGenerator.cs index 89dc928..89e2cd5 100644 --- a/SystemExtensions.NetStandard.Generators/FixedArrayGenerator.cs +++ b/SystemExtensions.NetStandard.Generators/FixedArrayGenerator.cs @@ -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) diff --git a/SystemExtensions.NetStandard.Generators/SystemExtensions.NetStandard.Generators.csproj b/SystemExtensions.NetStandard.Generators/SystemExtensions.NetStandard.Generators.csproj index 54411dc..0a80532 100644 --- a/SystemExtensions.NetStandard.Generators/SystemExtensions.NetStandard.Generators.csproj +++ b/SystemExtensions.NetStandard.Generators/SystemExtensions.NetStandard.Generators.csproj @@ -5,7 +5,7 @@ true Alexandru Macocian Source generators extensions for netstandard2.0. - 0.1.3 + 0.1.4 latest true true