Skip to content

Latest commit

 

History

History
7 lines (4 loc) · 809 Bytes

ii.16.1.4-other-attributes.md

File metadata and controls

7 lines (4 loc) · 809 Bytes

II.16.1.4 Other attributes

The attribute rtspecialname indicates that the field name shall be treated in a special way by the runtime.

[Rationale: There are currently no field names that are required to be marked with rtspecialname. It is provided for extensions, future standardization, and to increase consistency between the declaration of fields and methods (instance and type initializer methods shall be marked with this attribute). By convention, the single instance field of an enumeration is named "value__" and marked with rtspecialname. end rationale]

The attribute specialname indicates that the field name has special meaning to tools other than the runtime, typically because it marks a name that has meaning for the CLS (see Partition I).