mail-archives/mono-bugs/2009-November/095020.html

188 строки
4.1 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mono-bugs] [Bug 555950] New: Array conversions not supported by Mono's runtime.
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:mono-bugs%40lists.ximian.com?Subject=%5BMono-bugs%5D%20%5BBug%20555950%5D%20New%3A%20Array%20conversions%20not%20supported%20by%0A%09Mono%27s%20runtime.&In-Reply-To=">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="095026.html">
<LINK REL="Next" HREF="095233.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mono-bugs] [Bug 555950] New: Array conversions not supported by Mono's runtime.</H1>
<B>bugzilla_noreply at novell.com</B>
<A HREF="mailto:mono-bugs%40lists.ximian.com?Subject=%5BMono-bugs%5D%20%5BBug%20555950%5D%20New%3A%20Array%20conversions%20not%20supported%20by%0A%09Mono%27s%20runtime.&In-Reply-To="
TITLE="[Mono-bugs] [Bug 555950] New: Array conversions not supported by Mono's runtime.">bugzilla_noreply at novell.com
</A><BR>
<I>Mon Nov 16 16:57:40 EST 2009</I>
<P><UL>
<LI>Previous message: <A HREF="095026.html">[Mono-bugs] [Bug 555952] Mono.Data.Sqlite doesn't work in simulator on Leopard
</A></li>
<LI>Next message: <A HREF="095233.html">[Mono-bugs] [Bug 555950] Array conversions not supported by Mono's runtime.
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#95020">[ date ]</a>
<a href="thread.html#95020">[ thread ]</a>
<a href="subject.html#95020">[ subject ]</a>
<a href="author.html#95020">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE><A HREF="http://bugzilla.novell.com/show_bug.cgi?id=555950#c0">http://bugzilla.novell.com/show_bug.cgi?id=555950#c0</A>
Summary: Array conversions not supported by Mono's runtime.
Classification: Mono
Product: Mono: Runtime
Version: 2.6.x
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: P5 - None
Component: JIT
AssignedTo: <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">lupus at novell.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: ---
Blocker: ---
While reviewing the new ECMA standard, the issue that arrays of the same sizes
for native types (see Nigel's updated clarification on type compatibility on
the tc49-tg3 list) the following code should work:
class X {
static void Main ()
{
int [] a = new int [10];
object b = a;
uint [] c = (uint []) b;
}
}
Although the runtime allows this, there is no array copy, so the arrays both
point to the same value (a and c) and the call to c.GetType is still Int32[]
not UInt32 []
--
Configure bugmail: <A HREF="http://bugzilla.novell.com/userprefs.cgi?tab=email">http://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="095026.html">[Mono-bugs] [Bug 555952] Mono.Data.Sqlite doesn't work in simulator on Leopard
</A></li>
<LI>Next message: <A HREF="095233.html">[Mono-bugs] [Bug 555950] Array conversions not supported by Mono's runtime.
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#95020">[ date ]</a>
<a href="thread.html#95020">[ thread ]</a>
<a href="subject.html#95020">[ subject ]</a>
<a href="author.html#95020">[ 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>