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

User [EMAIL PROTECTED] added comment
https://bugzilla.novell.com/show_bug.cgi?id=415577#c2


Robert Jordan <[EMAIL PROTECTED]> changed:

           What    |Removed                                         |Added
----------------------------------------------------------------------------
                 CC|                                                |[EMAIL 
PROTECTED]
            Summary|Can't pass by ref in a ContextBoundObject method|[PATCH] 
Can't pass by ref in a
                   |                                                
|ContextBoundObject method




--- Comment #2 from Robert Jordan <[EMAIL PROTECTED]>  2008-09-03 18:25:20 MDT 
---
If someone could tell me how to check klass->contextbound in managed code, the
new icall won't be necessary.

/* this->remote_class->proxy_class->contextbound */

mono_mb_emit_ldarg (mb, 0);
mono_mb_emit_ldflda (mb, G_STRUCT_OFFSET (MonoTransparentProxy, remote_class));
mono_mb_emit_byte (mb, CEE_LDIND_REF);
mono_mb_emit_ldflda (mb, G_STRUCT_OFFSET (MonoRemoteClass, proxy_class));
mono_mb_emit_byte (mb, CEE_LDIND_REF);
mono_mb_emit_ldflda (mb, G_STRUCT_OFFSET (MonoClass, contextbound));
mono_mb_emit_byte (mb, CEE_LDIND_I4);

Since MonoClass.contextbound is a bitfield, I don't know how to test it
properly.


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