Skip to content

Commit fd4b3cd

Browse files
AllowMultiple = true для EnumerationTypeAttribute
1 parent 721eae1 commit fd4b3cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/OneScript.Core/Contexts/Enums/EnumerationTypeAttribute.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ namespace OneScript.Contexts.Enums
1212
/// <summary>
1313
/// Атрибут для простых перечислений, являющихся обычными Clr-перечислениями
1414
/// </summary>
15-
[AttributeUsage(AttributeTargets.Enum)]
15+
[AttributeUsage(AttributeTargets.Enum, AllowMultiple = true)]
1616
public class EnumerationTypeAttribute : Attribute, IEnumMetadataProvider
1717
{
1818
public EnumerationTypeAttribute (string name, string alias = null, bool createProperty = true)

0 commit comments

Comments
 (0)