[Mono-bugs] [Bug 415577] New: Can't pass by ref in a ContextBoundObject method

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Aug 7 15:15:50 EDT 2008


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: lluis at novell.com
        ReportedBy: tedu at fogcreek.com
         QAContact: mono-bugs at lists.ximian.com
          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.


More information about the mono-bugs mailing list