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

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Sep 5 04:50:05 EDT 2008


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

User robertj at gmx.net added comment
https://bugzilla.novell.com/show_bug.cgi?id=415577#c5





--- Comment #5 from Robert Jordan <robertj at gmx.net>  2008-09-05 02:50:04 MDT ---
Rodrigo, that would be too easy :-) There is even a Type.IsContextful property,
but I need to check for MonoClass.contextbound.

The problem is: MonoClass.contextbound is a bitfield and I don't know how to
test it:

..
mono_mb_emit_ldflda (mb, G_STRUCT_OFFSET (MonoClass, contextbound));
mono_mb_emit_byte (mb, CEE_LDIND_U);
mono_mb_emit_icon (mb, xxxxx)
mono_mb_emit_byte (mb, CEE_AND)
mono_mb_emit_icon (mb, 0)
mono_mb_emit_branch (mb, CEE_BNE)
..

I'm looking for "xxxxx".


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