mail-archives/mono-bugs/2003-July/006533.html

87 строки
3.5 KiB
HTML
Исходник Обычный вид История

2019-06-06 22:03:35 +03:00
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mono-bugs] [Bug 45993][Maj] Changed - ModuleBuilder.GetType(&quot;String[]&quot;) returns a type from the currently loaded corlib
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:bugzilla-daemon%40rocky.ximian.com">
<META NAME="robots" CONTENT="index,nofollow">
<LINK REL="Previous" HREF="006532.html">
<LINK REL="Next" HREF="006534.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mono-bugs] [Bug 45993][Maj] Changed - ModuleBuilder.GetType(&quot;String[]&quot;) returns a type from the currently loaded corlib
</H1>
<B>bugzilla-daemon@rocky.ximian.com
</B>
<A HREF="mailto:bugzilla-daemon%40rocky.ximian.com"
TITLE="[Mono-bugs] [Bug 45993][Maj] Changed - ModuleBuilder.GetType(&quot;String[]&quot;) returns a type from the currently loaded corlib">bugzilla-daemon@rocky.ximian.com
</A><BR>
<I>Mon, 21 Jul 2003 17:18:58 -0400 (EDT)</I>
<P><UL>
<LI> Previous message: <A HREF="006532.html">[Mono-bugs] [Bug 34795][Min] Changed - Miss. CS0035 - ambig. `operator' on type `foo'
</A></li>
<LI> Next message: <A HREF="006534.html">[Mono-bugs] Re: please re=?ISO-8859-1?b?LXNlbmQg?=the email
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#6533">[ date ]</a>
<a href="thread.html#6533">[ thread ]</a>
<a href="subject.html#6533">[ subject ]</a>
<a href="author.html#6533">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by <A HREF="mailto:ravi@ximian.com.">ravi@ximian.com.</A>
<A HREF="http://bugzilla.ximian.com/show_bug.cgi?id=45993">http://bugzilla.ximian.com/show_bug.cgi?id=45993</A>
--- shadow/45993 Fri Jul 18 15:50:07 2003
+++ shadow/45993.tmp.10395 Mon Jul 21 17:18:58 2003
@@ -53,6 +53,23 @@
------- Additional Comments From <A HREF="mailto:ravi@ximian.com">ravi@ximian.com</A> 2003-07-18 15:50 -------
I tried it out and although this issue has been fixed, the Type
returned still has its BaseType set to System.Array from the loaded
corlib instead of it being from the corlib being compiled. If you fix
this, I think it should be it :-)
+
+------- Additional Comments From <A HREF="mailto:ravi@ximian.com">ravi@ximian.com</A> 2003-07-21 17:18 -------
+Hi Lupus.
+
+Your patch did solve a lot of the problems but I found one more issue
+which you need to fix :-)
+
+The array type returned is from the corlib being compiled but as it
+turns out, its ElementType is set to a type from the loaded corlib! So
+inside mcs there is code which does this :
+
+Type element_type = array_type.GetElementType ();
+
+and element_type is from the loaded corlib which completely breaks us.
+
+
+
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI> Previous message: <A HREF="006532.html">[Mono-bugs] [Bug 34795][Min] Changed - Miss. CS0035 - ambig. `operator' on type `foo'
</A></li>
<LI> Next message: <A HREF="006534.html">[Mono-bugs] Re: please re=?ISO-8859-1?b?LXNlbmQg?=the email
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#6533">[ date ]</a>
<a href="thread.html#6533">[ thread ]</a>
<a href="subject.html#6533">[ subject ]</a>
<a href="author.html#6533">[ author ]</a>
</LI>
</UL>
</body></html>