disable broken tests on net_4_0
[mcs.git] / docs / ecma334 / 14.6.1.xml
blobf6523249a47ba0e92f578e9da95026b2ea911969
1 <?xml version="1.0"?>
2 <clause number="14.6.1" title="Unary plus operator">
3   <paragraph>For an operation of the form +x, unary operator overload resolution (<hyperlink>14.2.3</hyperlink>) is applied to select a specific operator implementation. The operand is converted to the parameter type of the selected operator, and the type of the result is the return type of the operator. The predefined unary plus operators are: <code_example><![CDATA[
4 int operator +(int x);  
5 uint operator +(uint x);  
6 long operator +(long x);  
7 ulong operator +(ulong x);  
8 float operator +(float x);  
9 double operator +(double x);  
10 decimal operator +(decimal x);  
11 ]]></code_example></paragraph>
12   <paragraph>For each of these operators, the result is simply the value of the operand. </paragraph>
13 </clause>