1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-23 01:58:00 +02:00

Added support for attributes on enum case members

This commit is contained in:
Brian Fiete 2020-11-09 06:53:47 -08:00
parent 330eb037e8
commit 6cb13900b0
3 changed files with 56 additions and 10 deletions

View file

@ -347,19 +347,12 @@ namespace System
}
}
[AttributeUsage(.Field | .Method | .Property /*2*/)]
[AttributeUsage(.Field | .StaticField | .Method | .Property /*2*/)]
public struct NoShowAttribute : Attribute
{
}
[AttributeUsage(.Field | .Method | .Property /*2*/)]
public struct HideAttribute : Attribute
{
}
[AttributeUsage(.Parameter)]
public struct HideNameAttribute : Attribute
{