[Mono-bugs] [Bug 49488][Wis] Changed - Wish for compiler warning about readonly modifier on struct type field
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Thu, 29 Apr 2004 15:35:18 -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 martin@ximian.com.
http://bugzilla.ximian.com/show_bug.cgi?id=49488
--- shadow/49488 2004-03-26 00:00:44.000000000 -0500
+++ shadow/49488.tmp.29254 2004-04-29 15:35:18.000000000 -0400
@@ -5,13 +5,13 @@
OS Details:
Status: NEW
Resolution:
Severity: Unknown
Priority: Wishlist
Component: C#
-AssignedTo: mono-bugs@ximian.com
+AssignedTo: rharinath@novell.com
ReportedBy: sestoft@dina.kvl.dk
QAContact: mono-bugs@ximian.com
TargetMilestone: ---
URL:
Cc:
Summary: Wish for compiler warning about readonly modifier on struct type field
@@ -49,6 +49,9 @@
supported by the specification.
------- Additional Comments From bmaurer@users.sf.net 2004-03-26 00:00 -------
If we accept this construct, we generate invalid IL code, and the code
may not work right (the runtime is free to resolve a member of a
readonly struct at jit time). So, I think an error is correct here.
+
+------- Additional Comments From martin@ximian.com 2004-04-29 15:35 -------
+Raja, maybe you could have a look at this ?