Skip to content

Commit 64c577c

Browse files
Revert for two last changes
This reverts commit fd4b3cd. Revert "Поле IsDeprecated в EnumerationType" This reverts commit 721eae1.
1 parent fd4b3cd commit 64c577c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

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

Lines changed: 1 addition & 2 deletions
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, AllowMultiple = true)]
15+
[AttributeUsage(AttributeTargets.Enum)]
1616
public class EnumerationTypeAttribute : Attribute, IEnumMetadataProvider
1717
{
1818
public EnumerationTypeAttribute (string name, string alias = null, bool createProperty = true)
@@ -29,6 +29,5 @@ public EnumerationTypeAttribute (string name, string alias = null, bool createPr
2929
public string TypeUUID { get; set; }
3030

3131
public string ValueTypeUUID { get; set; }
32-
public bool IsDeprecated { get; set; }
3332
}
3433
}

0 commit comments

Comments
 (0)