Skip to content

Latest commit

 

History

History
20 lines (13 loc) · 1.08 KB

ii.10.1.6-special-handling-attributes.md

File metadata and controls

20 lines (13 loc) · 1.08 KB

II.10.1.6 Special handling attributes

ClassAttr ::= …
| beforefieldinit
| rtspecialname
| serializable
| specialname

These attributes can be combined in any way.

beforefieldinit instructs the CLI that it need not initialize the type before a static method is called. See §II.10.5.3.

rtspecialname indicates that the name of this item has special significance to the CLI. There are no currently defined special type names; this is for future use. Any item marked rtspecialname shall also be marked specialname.

serializable Reserved for future use, to indicate that the fields of the type are to be serialized into a data stream (should such support be provided by the implementation).

specialname indicates that the name of this item can have special significance to tools other than the CLI. See, for example, Partition I.

[Rationale: If an item is treated specially by the CLI, then tools should also be made aware of that. The converse is not true. end rationale]