disable broken tests on net_4_0
[mcs.git] / docs / ecma334 / 13.1.6.xml
blob7dd1b0d201d9ffe0d349fc8a07db4e9f246a89df
1 <?xml version="1.0"?>
2 <clause number="13.1.6" title="Implicit constant expression conversions">
3   <paragraph>An implicit constant expression conversion permits the following conversions: <list><list_item> A <non_terminal where="14.15">constant-expression</non_terminal> (<hyperlink>14.15</hyperlink>) of type <keyword>int</keyword> can be converted to type <keyword>sbyte</keyword>, <keyword>byte</keyword>, <keyword>short</keyword>, <keyword>ushort</keyword>, <keyword>uint</keyword>, or <keyword>ulong</keyword>, provided the value of the <non_terminal where="14.15">constant-expression</non_terminal> is within the range of the destination type. </list_item><list_item> A <non_terminal where="14.15">constant-expression</non_terminal> of type <keyword>long</keyword> can be converted to type <keyword>ulong</keyword>, provided the value of the  <non_terminal where="14.15">constant-expression</non_terminal> is not negative. </list_item></list></paragraph>
4 </clause>