mail-archives/mono-bugs/2010-October/105291.html

193 строки
4.5 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mono-bugs] [Bug 648725] New: GetGenericArguments is loading to aggressively
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:mono-bugs%40lists.ximian.com?Subject=%5BMono-bugs%5D%20%5BBug%20648725%5D%20New%3A%20GetGenericArguments%20is%20loading%20to%0A%09aggressively&In-Reply-To=">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="105290.html">
<LINK REL="Next" HREF="105292.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mono-bugs] [Bug 648725] New: GetGenericArguments is loading to aggressively</H1>
<B>bugzilla_noreply at novell.com</B>
<A HREF="mailto:mono-bugs%40lists.ximian.com?Subject=%5BMono-bugs%5D%20%5BBug%20648725%5D%20New%3A%20GetGenericArguments%20is%20loading%20to%0A%09aggressively&In-Reply-To="
TITLE="[Mono-bugs] [Bug 648725] New: GetGenericArguments is loading to aggressively">bugzilla_noreply at novell.com
</A><BR>
<I>Fri Oct 22 14:19:43 EDT 2010</I>
<P><UL>
<LI>Previous message: <A HREF="105290.html">[Mono-bugs] [Bug 581054] [Regression] Error when clicking on story in BlogStarterKit on mono-2.6.3
</A></li>
<LI>Next message: <A HREF="105292.html">[Mono-bugs] [Bug 648725] GetGenericArguments is loading to aggressively
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#105291">[ date ]</a>
<a href="thread.html#105291">[ thread ]</a>
<a href="subject.html#105291">[ subject ]</a>
<a href="author.html#105291">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>
<A HREF="https://bugzilla.novell.com/show_bug.cgi?id=648725">https://bugzilla.novell.com/show_bug.cgi?id=648725</A>
<A HREF="https://bugzilla.novell.com/show_bug.cgi?id=648725#c0">https://bugzilla.novell.com/show_bug.cgi?id=648725#c0</A>
Summary: GetGenericArguments is loading to aggressively
Classification: Mono
Product: Mono: Runtime
Version: SVN
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: P5 - None
Component: misc
AssignedTo: <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">rkumpera at novell.com</A>
ReportedBy: <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">msafar 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: ---
compile &amp; run (dependant dll attached)
using System;
using System.Collections.Generic;
using System.Reflection;
class Program
{
static void Main (string[] args)
{
var a = Assembly.LoadFrom (&quot;bug-0-lib.dll&quot;);
var t = a.GetType (&quot;A`1&quot;);
t.GetGenericArguments ();
}
}
NET
&lt;no error&gt;
Mono
Could not load file or assembly 'bug-1-lib, Version=0.0.0.0, Culture=neutral,
PublicKeyToken=null' or one of its dependencies.
Unhandled Exception: System.TypeLoadException: Could not load type 'A`1[T]'
from assembly 'bug-0-lib, Version=0.0.0.0, Culture=neutral,
PublicKeyToken=null'.
at (wrapper managed-to-native) System.MonoType:GetGenericArguments
(System.MonoType*)
at ConsoleApplication38.Program.Main (System.String[] args) [0x00000] in
&lt;filename unknown&gt;:0
--
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="105290.html">[Mono-bugs] [Bug 581054] [Regression] Error when clicking on story in BlogStarterKit on mono-2.6.3
</A></li>
<LI>Next message: <A HREF="105292.html">[Mono-bugs] [Bug 648725] GetGenericArguments is loading to aggressively
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#105291">[ date ]</a>
<a href="thread.html#105291">[ thread ]</a>
<a href="subject.html#105291">[ subject ]</a>
<a href="author.html#105291">[ 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>