mail-archives/mono-bugs/2008-September/078865.html

165 строки
3.7 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mono-bugs] [Bug 415577] [PATCH] Can't pass by ref in a ContextBoundObject method
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:mono-bugs%40lists.ximian.com?Subject=%5BMono-bugs%5D%20%5BBug%20415577%5D%20%5BPATCH%5D%20Can%27t%20pass%20by%20ref%20in%20a%0A%09ContextBoundObject%20method&In-Reply-To=bug-415577-28286%40https.bugzilla.novell.com/">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="078862.html">
<LINK REL="Next" HREF="078867.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mono-bugs] [Bug 415577] [PATCH] Can't pass by ref in a ContextBoundObject method</H1>
<B>bugzilla_noreply at novell.com</B>
<A HREF="mailto:mono-bugs%40lists.ximian.com?Subject=%5BMono-bugs%5D%20%5BBug%20415577%5D%20%5BPATCH%5D%20Can%27t%20pass%20by%20ref%20in%20a%0A%09ContextBoundObject%20method&In-Reply-To=bug-415577-28286%40https.bugzilla.novell.com/"
TITLE="[Mono-bugs] [Bug 415577] [PATCH] Can't pass by ref in a ContextBoundObject method">bugzilla_noreply at novell.com
</A><BR>
<I>Fri Sep 5 08:22:58 EDT 2008</I>
<P><UL>
<LI>Previous message: <A HREF="078862.html">[Mono-bugs] [Bug 415577] [PATCH] Can't pass by ref in a ContextBoundObject method
</A></li>
<LI>Next message: <A HREF="078867.html">[Mono-bugs] [Bug 415577] [PATCH] Can't pass by ref in a ContextBoundObject method
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#78865">[ date ]</a>
<a href="thread.html#78865">[ thread ]</a>
<a href="subject.html#78865">[ subject ]</a>
<a href="author.html#78865">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE><A HREF="https://bugzilla.novell.com/show_bug.cgi?id=415577">https://bugzilla.novell.com/show_bug.cgi?id=415577</A>
User <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">robertj at gmx.net</A> added comment
<A HREF="https://bugzilla.novell.com/show_bug.cgi?id=415577#c7">https://bugzilla.novell.com/show_bug.cgi?id=415577#c7</A>
--- Comment #7 from Robert Jordan &lt;<A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">robertj at gmx.net</A>&gt; 2008-09-05 06:22:58 MDT ---
Zoltan, like this?
static int offset = -1;
static guint8 mask;
if (offset &lt; 0)
mono_marshal_find_bitfield_offset (MonoClass, contextbound, &amp;offset,
&amp;mask);
mono_mb_emit_ldarg (mb, 0);
mono_mb_emit_ldflda (mb, offset);
mono_mb_emit_byte (mb, CEE_LDIND_U1);
mono_mb_emit_icon (mb, mask);
mono_mb_emit_byte (mb, CEE_AND);
..
--
Configure bugmail: <A HREF="https://bugzilla.novell.com/userprefs.cgi?tab=email">https://bugzilla.novell.com/userprefs.cgi?tab=email</A>
------- You are receiving this mail because: -------
You are the QA contact for the bug.
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="078862.html">[Mono-bugs] [Bug 415577] [PATCH] Can't pass by ref in a ContextBoundObject method
</A></li>
<LI>Next message: <A HREF="078867.html">[Mono-bugs] [Bug 415577] [PATCH] Can't pass by ref in a ContextBoundObject method
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#78865">[ date ]</a>
<a href="thread.html#78865">[ thread ]</a>
<a href="subject.html#78865">[ subject ]</a>
<a href="author.html#78865">[ author ]</a>
</LI>
</UL>
<hr>
<a href="http://lists.ximian.com/mailman/listinfo/mono-bugs">More information about the mono-bugs
mailing list</a><br>
</body></html>