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


           Summary: Can't pass by ref in a ContextBoundObject method
           Product: Mono: Runtime
           Version: 2.0
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Major
          Priority: P5 - None
         Component: remoting
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]
         QAContact: [email protected]
          Found By: ---


Created an attachment (id=232339)
 --> (https://bugzilla.novell.com/attachment.cgi?id=232339)
test case

The attached program should print 1.  Instead, it prints

Unhandled Exception: System.InvalidOperationException: Attempt to load field
address from object in another appdomain.
  at AppDomainTest.Button.Click () [0x00000] 
  at (wrapper managed-to-native)
System.Object:__icall_wrapper_mono_remoting_wrapper (intptr,intptr)
  at (wrapper remoting-invoke) AppDomainTest.Button:Click ()
  at (wrapper remoting-invoke-with-check) AppDomainTest.Button:Click ()
  at AppDomainTest.Program.Main (System.String[] args) [0x00000]


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