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

https://bugzilla.novell.com/show_bug.cgi?id=656140#c4


--- Comment #4 from Mike Kestner <[email protected]> 2010-11-29 00:47:16 UTC 
---
My inclination is to leave this as is.  Overloading it will be strange,
especially in the OnActivityResult override scenarios.  

Custom result codes implies a "high risk for errors."   The same can be said
for any integer API.  Any time you start passing arbitrary ints, which is what
the custom result code scenario boils down to, you need to know what to expect
on both ends anyway, so there's no more error introduced by passing it as a
"out of range" enum value, while there is clearly something to be gained by
passing the standard result codes as enums.

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to