[Mono-bugs] [Bug 69177][Nor] New - regression: error encoding valuetypes

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Sat, 6 Nov 2004 05:37:28 -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 gert.driesen@pandora.be.

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

--- shadow/69177	2004-11-06 05:37:28.000000000 -0500
+++ shadow/69177.tmp.5072	2004-11-06 05:37:28.000000000 -0500
@@ -0,0 +1,30 @@
+Bug#: 69177
+Product: Mono: Compilers
+Version: unspecified
+OS: All
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: C#
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: gert.driesen@pandora.be               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: regression: error encoding valuetypes
+
+When compiling this code using Mono 1.0.4 (both Windows and linux) or cvs 
+head :
+
+public class ConstFields
+{
+	public const decimal ConstDecimal = 314159265358979323846m;
+}
+
+The following error is reported :
+
+** ERROR **: we can't encode valuetypes
+aborting...