[Mono-bugs] [Bug 39018][Nor] New - Missing implicit conversion on & operator.

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
Mon, 3 Mar 2003 18:23:21 -0500 (EST)


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 miguel@ximian.com.

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

--- shadow/39018	Mon Mar  3 18:23:21 2003
+++ shadow/39018.tmp.1198	Mon Mar  3 18:23:21 2003
@@ -0,0 +1,27 @@
+Bug#: 39018
+Product: Mono/MCS
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: Misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: miguel@ximian.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Missing implicit conversion on & operator.
+
+The and operator is not implicitly converting to long in this case:
+
+class X {
+	static void Main ()
+	{
+		uint a = 1, b = 2;
+		long l = (b & (0x1 << 31));
+	}
+}