[Mono-bugs] [Bug 57895][Maj] Changed - Invalid IL code for simple statement

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Fri, 30 Apr 2004 20:30:57 -0400 (EDT)


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by ndrochak@gol.com.

http://bugzilla.ximian.com/show_bug.cgi?id=57895

--- shadow/57895	2004-04-30 20:07:04.000000000 -0400
+++ shadow/57895.tmp.19790	2004-04-30 20:30:57.000000000 -0400
@@ -71,6 +71,14 @@
   public static void Main(string[] args) {
     float fMag= 0;
     if ((fMag & 0x80000000) == 0)
       Console.WriteLine("No invalid IL for you?");
   }
 }
+
+------- Additional Comments From ndrochak@gol.com  2004-04-30 20:30 -------
+still, it's not allowed. With your second example csc reports:
+
+error CS0019: Operator '&' cannot be applied to operands of 
+type 'float' and 'uint'
+
+