https://bugzilla.novell.com/show_bug.cgi?id=422491
User [EMAIL PROTECTED] added comment https://bugzilla.novell.com/show_bug.cgi?id=422491#c2 Steffen Enni <[EMAIL PROTECTED]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|[EMAIL PROTECTED] | --- Comment #2 from Steffen Enni <[EMAIL PROTECTED]> 2008-09-04 19:08:49 MDT --- Just retested using the supplied test case and the error is still there when I use revision 112336 of the svn repository. (Server on Mono, Client on windows) Did a little investigation as well and the error seems to come from the class System.Runtime.Remoting.Channels.CrossAppDomainData where the _ContextID field is of type System.Object in mscorlib, Version=2.0.0.0 and in Mono the same field is declared as an int (with the comment: Never used but possible required for .NET compatibility). When I change field to an Object, the error is gone and the client is able to pass an object reference to the server from windows to mono. [EMAIL PROTECTED]:~/projects/mcs/class/corlib/System.Runtime.Remoting.Channels$ svn diff CrossAppDomainChannel.cs Index: CrossAppDomainChannel.cs =================================================================== --- CrossAppDomainChannel.cs (revision 112336) +++ CrossAppDomainChannel.cs (working copy) @@ -51,7 +51,7 @@ #pragma warning disable 169 // TODO: Add context support // Never used but possible required for .NET compatibility - private int _ContextID; + private Object _ContextID; #pragma warning restore 169 private int _DomainID; -- 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
