disable broken tests on net_4_0
[mcs.git] / docs / ecma334 / 20.2.2.xml
blob61cbd0ee3a03a1484a110d8c612357d5769b0d7f
1 <?xml version="1.0"?>
2 <clause number="20.2.2" title="Interface properties">
3   <paragraph>Interface properties are declared using interface-property-declarations: <grammar_production><name><non_terminal where="20.2.2">interface-property-declaration</non_terminal></name> : <rhs><non_terminal where="24.2">attributes</non_terminal><opt/><keyword>new</keyword><opt/><non_terminal where="11">type</non_terminal><non_terminal where="9.4.2">identifier</non_terminal><terminal>{</terminal><non_terminal where="20.2.2">interface-accessors</non_terminal><terminal>}</terminal></rhs></grammar_production><grammar_production><name><non_terminal where="20.2.2">interface-accessors</non_terminal></name> : <rhs><non_terminal where="24.2">attributes</non_terminal><opt/><terminal>get</terminal><terminal>;</terminal></rhs><rhs><non_terminal where="24.2">attributes</non_terminal><opt/><terminal>set</terminal><terminal>;</terminal></rhs><rhs><non_terminal where="24.2">attributes</non_terminal><opt/><terminal>get</terminal><terminal>;</terminal><non_terminal where="24.2">attributes</non_terminal><opt/><terminal>set</terminal><terminal>;</terminal></rhs><rhs><non_terminal where="24.2">attributes</non_terminal><opt/><terminal>set</terminal><terminal>;</terminal><non_terminal where="24.2">attributes</non_terminal><opt/><terminal>get</terminal><terminal>;</terminal></rhs></grammar_production></paragraph>
4   <paragraph>The attributes, type, and identifier of an interface property declaration have the same meaning as those of a property declaration in a class (<hyperlink>17.6</hyperlink>). </paragraph>
5   <paragraph>The accessors of an interface property declaration correspond to the accessors of a class property declaration (<hyperlink>17.6.2</hyperlink>), except that the accessor body must always be a semicolon. Thus, the accessors simply indicate whether the property is read-write, read-only, or write-only. </paragraph>
6 </clause>