disable broken tests on net_4_0
[mcs.git] / docs / ecma334 / 14.2.6.1.xml
blob2197fffaecb2fa3ee69c3707a761422b0489ca15
1 <?xml version="1.0"?>
2 <clause number="14.2.6.1" title="Unary numeric promotions" informative="true">
3   <paragraph>This clause is informative. </paragraph>
4   <paragraph>Unary numeric promotion occurs for the operands of the predefined +, -, and ~ unary operators. Unary numeric promotion simply consists of converting operands of type <keyword>sbyte</keyword>, <keyword>byte</keyword>, <keyword>short</keyword>, <keyword>ushort</keyword>, or <keyword>char</keyword> to type <keyword>int</keyword>. Additionally, for the unary  -operator, unary numeric promotion converts operands of type <keyword>uint</keyword> to type <keyword>long</keyword>. </paragraph>
5   <paragraph>End of informative text. </paragraph>
6 </clause>