[Mono-bugs] [Bug 539160] [Preserve] attribute causes random code to execute
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Tue Sep 15 08:02:21 EDT 2009
http://bugzilla.novell.com/show_bug.cgi?id=539160
User mikewarriner at gmail.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=539160#c2
--- Comment #2 from Mike Warriner <mikewarriner at gmail.com> 2009-09-15 06:02:18 MDT ---
Created an attachment (id=318295)
--> (http://bugzilla.novell.com/attachment.cgi?id=318295)
Sample to show problem with Preserve
Demonstration has two buttons calling (nearly) identical functions.
Bug.cs shows that with the use of [Preserve] the call to SetValue fails
ThisWorks.cs shows that by not using [Preserve], but instead referencing the
property directly it then works.
My guess is that with the auto-generated property it's possible that [Preserve]
doesn't preserve the generated property?
--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the mono-bugs
mailing list