зеркало из https://github.com/mono/mail-archives.git
162 строки
3.8 KiB
HTML
162 строки
3.8 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
|
|
<HTML>
|
|
<HEAD>
|
|
<TITLE> [Mono-bugs] [Bug 422951] New: Error in assigning to ref parameter
|
|
</TITLE>
|
|
<LINK REL="Index" HREF="index.html" >
|
|
<LINK REL="made" HREF="mailto:mono-bugs%40lists.ximian.com?Subject=%5BMono-bugs%5D%20%5BBug%20422951%5D%20New%3A%20Error%20in%20assigning%20to%20ref%20parameter&In-Reply-To=">
|
|
<META NAME="robots" CONTENT="index,nofollow">
|
|
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
|
|
<LINK REL="Previous" HREF="078868.html">
|
|
<LINK REL="Next" HREF="078773.html">
|
|
</HEAD>
|
|
<BODY BGCOLOR="#ffffff">
|
|
<H1>[Mono-bugs] [Bug 422951] New: Error in assigning to ref parameter</H1>
|
|
<B>bugzilla_noreply at novell.com</B>
|
|
<A HREF="mailto:mono-bugs%40lists.ximian.com?Subject=%5BMono-bugs%5D%20%5BBug%20422951%5D%20New%3A%20Error%20in%20assigning%20to%20ref%20parameter&In-Reply-To="
|
|
TITLE="[Mono-bugs] [Bug 422951] New: Error in assigning to ref parameter">bugzilla_noreply at novell.com
|
|
</A><BR>
|
|
<I>Thu Sep 4 02:57:39 EDT 2008</I>
|
|
<P><UL>
|
|
<LI>Previous message: <A HREF="078868.html">[Mono-bugs] [Bug 422947] Catch ignored: JIT or verifier problem.
|
|
</A></li>
|
|
<LI>Next message: <A HREF="078773.html">[Mono-bugs] [Bug 422951] Error in assigning to ref parameter
|
|
</A></li>
|
|
<LI> <B>Messages sorted by:</B>
|
|
<a href="date.html#78772">[ date ]</a>
|
|
<a href="thread.html#78772">[ thread ]</a>
|
|
<a href="subject.html#78772">[ subject ]</a>
|
|
<a href="author.html#78772">[ author ]</a>
|
|
</LI>
|
|
</UL>
|
|
<HR>
|
|
<!--beginarticle-->
|
|
<PRE><A HREF="https://bugzilla.novell.com/show_bug.cgi?id=422951">https://bugzilla.novell.com/show_bug.cgi?id=422951</A>
|
|
|
|
|
|
Summary: Error in assigning to ref parameter
|
|
Product: Mono: Compilers
|
|
Version: unspecified
|
|
Platform: Other
|
|
OS/Version: Other
|
|
Status: NEW
|
|
Severity: Normal
|
|
Priority: P5 - None
|
|
Component: C#
|
|
AssignedTo: <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">mono-bugs at lists.ximian.com</A>
|
|
ReportedBy: <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">miguel at novell.com</A>
|
|
QAContact: <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">mono-bugs at lists.ximian.com</A>
|
|
Found By: ---
|
|
|
|
|
|
The following code produces invalid IL code:
|
|
|
|
class X {
|
|
static void Main ()
|
|
{
|
|
object x = null;
|
|
R (ref x);
|
|
|
|
}
|
|
|
|
static void R (ref object o)
|
|
{
|
|
o = new Hashtable () {{1,2}};
|
|
}
|
|
}
|
|
|
|
Running this program produces:
|
|
|
|
Unhandled Exception: System.InvalidProgramException: Invalid IL code in X:R
|
|
(object&): IL_001a: ret
|
|
|
|
|
|
at X.Main () [0x00000]
|
|
|
|
|
|
--
|
|
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.
|
|
You are the assignee for the bug.
|
|
</PRE>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!--endarticle-->
|
|
<HR>
|
|
<P><UL>
|
|
<!--threads-->
|
|
<LI>Previous message: <A HREF="078868.html">[Mono-bugs] [Bug 422947] Catch ignored: JIT or verifier problem.
|
|
</A></li>
|
|
<LI>Next message: <A HREF="078773.html">[Mono-bugs] [Bug 422951] Error in assigning to ref parameter
|
|
</A></li>
|
|
<LI> <B>Messages sorted by:</B>
|
|
<a href="date.html#78772">[ date ]</a>
|
|
<a href="thread.html#78772">[ thread ]</a>
|
|
<a href="subject.html#78772">[ subject ]</a>
|
|
<a href="author.html#78772">[ 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>
|