-
Notifications
You must be signed in to change notification settings - Fork 89
Attributes (ref)
CodingUnit edited this page Dec 21, 2011
·
3 revisions
[<< Back to Reference Manual.](Reference Manual)
The semantics of attributes is the same as in C#, except for the
mutable
attribute, meaning lack of readonly
on fields.
attributes =
{ attribute }
attribute =
'new'
| ’volatile’
| ’public’
| ’protected’
| ’internal’
| ’private’
| ’abstract’
| ’sealed’
| ’override’
| ’static’
| ’mutable’
| ’extern’
| custom\_attribute
custom\_attribute =
'[' [ attribute\_target ’:’ ] Expressions\_(ref):expr { ',' expr } ']'
attribute\_target =
'assembly'
| ’field’
| ’event’
| ’method’
| ’module’
| ’param’
| ’property’
| ’return’
| ’type’