[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 10:23:58 -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 10:16:45.000000000 -0400
+++ shadow/57895.tmp.11563	2004-04-30 10:23:58.000000000 -0400
@@ -1,14 +1,14 @@
 Bug#: 57895
 Product: Mono: Compilers
 Version: unspecified
-OS: 
+OS: unknown
 OS Details: 
 Status: NEW   
 Resolution: 
-Severity: 
+Severity: Unknown
 Priority: Major
 Component: C#
 AssignedTo: mono-bugs@ximian.com                            
 ReportedBy: reg@nyda.info               
 QAContact: mono-bugs@ximian.com
 TargetMilestone: ---
@@ -48,6 +48,12 @@
   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 10:23 -------
+for the example code mcs reports:
+
+error CS0019: Operator '&' cannot be applied to operands of 
+type 'float' and 'bool'