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:
parent
330eb037e8
commit
6cb13900b0
3 changed files with 56 additions and 10 deletions
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue