[Mono-bugs] [Bug 69177][Nor] Changed - Need [DecimalConstant] for decimal constants

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Sun, 7 Nov 2004 10:31:46 -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 bmaurer@users.sf.net.

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

--- shadow/69177	2004-11-07 04:10:03.000000000 -0500
+++ shadow/69177.tmp.32008	2004-11-07 10:31:46.000000000 -0500
@@ -11,13 +11,13 @@
 AssignedTo: mono-bugs@ximian.com                            
 ReportedBy: gert.driesen@pandora.be               
 QAContact: mono-bugs@ximian.com
 TargetMilestone: ---
 URL: 
 Cc: 
-Summary: error encoding valuetypes
+Summary: Need [DecimalConstant] for decimal constants
 
 When compiling this code using Mono 1.0.4 (both Windows and linux) or cvs 
 head :
 
 public class ConstFields
 {
@@ -40,6 +40,10 @@
 Just double-checked, and apparently its not a regression. I ran into 
 this issue when compiling the NDoc test assembly (which used to 
 compile just fine), but apparently some additional tests were added 
 (which cause this issue to surface).
 
 Sorry about that
+
+------- Additional Comments From bmaurer@users.sf.net  2004-11-07 10:31 -------
+The problem here is that we need to emit the field as static readonly,
+and add a [DecimalConstant] attr on it.