[Mono-bugs] [Bug 422491] Remoting: Passing ObjRef from Windows to Mono throws " Object type System.Int64 cannot be converted to target type: System.Int32"

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Sep 5 13:17:28 EDT 2008


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

User kornelpal at gmail.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=422491#c19





--- Comment #19 from Kornél Pál <kornelpal at gmail.com>  2008-09-05 11:17:27 MDT ---
Created an attachment (id=237952)
 --> (https://bugzilla.novell.com/attachment.cgi?id=237952)
CrossAppDomainChannel_alt.diff

This patch basically does the same as yours but avoids ISerializable. The only
difference is that if null is deserialized to _ContextID it will remain null
but that case in not likely to happen so there is no use to take care of it (I
know that this is only a side effect of your implementation but this is the
only difference.)

If you don't have to do more complex tasks thank this I recommend to avoid
ISerializable.


-- 
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