[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:07:04 -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 reg@nyda.info.
http://bugzilla.ximian.com/show_bug.cgi?id=57895
--- shadow/57895 2004-04-30 10:23:58.000000000 -0400
+++ shadow/57895.tmp.19529 2004-04-30 20:07:04.000000000 -0400
@@ -54,6 +54,23 @@
------- Additional Comments From ndrochak@gol.com 2004-04-30 10:23 -------
for the example code mcs reports:
error CS0019: Operator '&' cannot be applied to operands of
type 'float' and 'bool'
+
+------- Additional Comments From reg@nyda.info 2004-04-30 20:07 -------
+Great, I pasted the wrong sample. To my excuse, I was in a hurry
+catching a bus. Hope that qualifies :)
+
+This is what I wanted to paste, notice the minor difference in the
+statement:
+
+using System;
+
+class MainClass {
+ public static void Main(string[] args) {
+ float fMag= 0;
+ if ((fMag & 0x80000000) == 0)
+ Console.WriteLine("No invalid IL for you?");
+ }
+}