[Mono-bugs] [Bug 672616] MonoMac Bindings, app crashes when a textfield value is changed and in the binded object the method NSNumber.SByteValue is used in the binded property setter
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Wed Feb 16 12:40:04 EST 2011
https://bugzilla.novell.com/show_bug.cgi?id=672616
https://bugzilla.novell.com/show_bug.cgi?id=672616#c2
Geoff Norton <gnorton at novell.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
--- Comment #2 from Geoff Norton <gnorton at novell.com> 2011-02-16 17:40:04 UTC ---
I'm going to mark this as invalid since you've done an element binding to a
NSTextField, which passes an NSString, but you've decorated the target as a
NSNumber, so what was happening is you were basically calling
NSString.SByteValue
which led to a crash in native code.
That being said, I've commited some updated marshalling support in:
https://github.com/mono/monomac/commit/7a6c638c5258b7723f9aa619e63f94167894e362
So we will generate an InvalidCastException for these cases in the future.
--
Configure bugmail: https://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