[Mono-bugs] [Bug 430804] Static readonly field optimization doesn' t account for changes via reflection

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Sep 30 11:30:46 EDT 2008


https://bugzilla.novell.com/show_bug.cgi?id=430804

User lupus at novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=430804#c3


Paolo Molaro <lupus at novell.com> changed:

           What    |Removed                                         |Added
----------------------------------------------------------------------------
             Status|NEW                                             |RESOLVED
         Resolution|                                                |INVALID




--- Comment #3 from Paolo Molaro <lupus at novell.com>  2008-09-30 09:30:46 MDT ---
fi.SetValue(null, 1) is not ignored as the output of the test shows.
This is not a bug: readonly fields can be updated only in the ctor/cctor: if
you try to work around this you will have to use the workaround also when you
read the value.


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list