disable broken tests on net_4_0
[mcs.git] / docs / ecma334 / 14.13.3.xml
bloba7d4536dee7e20755838dfc4fcf3002baef668d3
1 <?xml version="1.0"?>
2 <clause number="14.13.3" title="Event assignment">
3   <paragraph>If the left operand of a += or -= operator is classified as an event access, then the expression is evaluated as follows: <list><list_item> The instance expression, if any, of the event access is evaluated. </list_item><list_item> The right operand of the += or -= operator is evaluated, and, if required, converted to the type of the left operand through an implicit conversion (<hyperlink>13.1</hyperlink>). </list_item><list_item> An event accessor of the event is invoked, with argument list consisting of the right operand, after evaluation and, if necessary, conversion. If the operator was +=, the add accessor is invoked; if the operator was -=, the remove accessor is invoked. </list_item></list></paragraph>
4   <paragraph>An event assignment expression does not yield a value. Thus, an event assignment expression is valid only in the context of a <non_terminal where="15.6">statement-expression</non_terminal> (<hyperlink>15.6</hyperlink>). </paragraph>
5 </clause>