[Mono-bugs] [Bug 78974][Nor] Changed - mcs does not find Brush overloaded ctor

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue Aug 1 07:43:38 EDT 2006


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 rharinath at novell.com.

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

--- shadow/78974	2006-08-01 07:28:45.000000000 -0400
+++ shadow/78974.tmp.7734	2006-08-01 07:43:38.000000000 -0400
@@ -99,6 +99,16 @@
 All of which seems quite bogus to me.
 
 I'm inclined to say: use 0.0f if you want the right behaviour both on
 MCS and CSC.  The MCS behaviour appears right, and the CSC behaviour
 appears wrong: I don't think we should be bug compatible in this case.
 
+
+------- Additional Comments From rharinath at novell.com  2006-08-01 07:43 -------
+Note that changing the 0.0 to 0.1 causes CSC to error out.
+
+The treatment of 0.0 as integer may be purposeful, but I can't imagine
+why.  I'm inclined to think it's a bug.  It definitely causes bogus
+results here, and is counter intuitive: the programmer's intention is
+quite clear -- why would she type an extra '.0' if she just wanted an
+integer.
+


More information about the mono-bugs mailing list