mail-archives/mono-bugs/2005-June/030324.html

129 строки
4.9 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mono-bugs] [Bug 75246][Nor] New - KeyPair of AssemblyName used to
create assembly has no effect on AssemblyName of AssemblyBuilder
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:mono-bugs%40lists.ximian.com?Subject=%5BMono-bugs%5D%20%5BBug%2075246%5D%5BNor%5D%20New%20-%20KeyPair%20of%20AssemblyName%20used%20to%0A%09create%20assembly%20has%20no%20effect%20on%20AssemblyName%20of%20AssemblyBuilder&In-Reply-To=bug-75246%40chernobyl.ximian.com">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="030323.html">
<LINK REL="Next" HREF="030325.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mono-bugs] [Bug 75246][Nor] New - KeyPair of AssemblyName used to
create assembly has no effect on AssemblyName of AssemblyBuilder</H1>
<B>bugzilla-daemon at bugzilla.ximian.com</B>
<A HREF="mailto:mono-bugs%40lists.ximian.com?Subject=%5BMono-bugs%5D%20%5BBug%2075246%5D%5BNor%5D%20New%20-%20KeyPair%20of%20AssemblyName%20used%20to%0A%09create%20assembly%20has%20no%20effect%20on%20AssemblyName%20of%20AssemblyBuilder&In-Reply-To=bug-75246%40chernobyl.ximian.com"
TITLE="[Mono-bugs] [Bug 75246][Nor] New - KeyPair of AssemblyName used to
create assembly has no effect on AssemblyName of AssemblyBuilder">bugzilla-daemon at bugzilla.ximian.com
</A><BR>
<I>Mon Jun 13 02:41:18 EDT 2005</I>
<P><UL>
<LI>Previous message: <A HREF="030323.html">[Mono-bugs] [Bug 75245][Wis] New - Newline in character literal
should trigger CS1010 error
</A></li>
<LI>Next message: <A HREF="030325.html">[Mono-bugs] [Bug 75246][Nor] Changed - KeyPair of AssemblyName used
to create assembly has no effect on AssemblyName of AssemblyBuilder
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#30324">[ date ]</a>
<a href="thread.html#30324">[ thread ]</a>
<a href="subject.html#30324">[ subject ]</a>
<a href="author.html#30324">[ 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="http://lists.ximian.com/mailman/listinfo/mono-bugs">gert.driesen at pandora.be.</A>
<A HREF="http://bugzilla.ximian.com/show_bug.cgi?id=75246">http://bugzilla.ximian.com/show_bug.cgi?id=75246</A>
--- shadow/75246 2005-06-13 02:41:18.000000000 -0400
+++ shadow/75246.tmp.13212 2005-06-13 02:41:18.000000000 -0400
@@ -0,0 +1,55 @@
+Bug#: 75246
+Product: Mono: Class Libraries
+Version: 1.1
+OS:
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: CORLIB
+AssignedTo: <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">mono-bugs at ximian.com</A>
+ReportedBy: <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">gert.driesen at pandora.be</A>
+QAContact: <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">mono-bugs at ximian.com</A>
+TargetMilestone: ---
+URL:
+Cc:
+Summary: KeyPair of AssemblyName used to create assembly has no effect on AssemblyName of AssemblyBuilder
+
+When setting the KeyPair of the AssemblyName that is used to create an
+assembly (using SRE), this has no effect on the AssemblyName of
+AssemblyBuilder.
+
+To reproduce this issue, compile and run the attached repro (use the
+NET_2_0 define when you're compiling using gmcs or csc 2.0).
+
+Actual result:
+
+True
+False
+True
+True
+False
+
+Unhandled Exception: System.NullReferenceException: Object reference not
+set to an instance of an object
+...
+
+Expected result:
+
+True
+True
+True
+True
+True
+...
+
+
+Note:
+
+- running the attached application will uncover more AssemblyName related
+bugs in Mono.
+
+- I've committed a unit test for this bug to
+corlib/Test/System.Reflection.Emit/AssemblyBuilderTest.cs (and marked it
+with Category &quot;NotWorking&quot; for now).
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="030323.html">[Mono-bugs] [Bug 75245][Wis] New - Newline in character literal
should trigger CS1010 error
</A></li>
<LI>Next message: <A HREF="030325.html">[Mono-bugs] [Bug 75246][Nor] Changed - KeyPair of AssemblyName used
to create assembly has no effect on AssemblyName of AssemblyBuilder
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#30324">[ date ]</a>
<a href="thread.html#30324">[ thread ]</a>
<a href="subject.html#30324">[ subject ]</a>
<a href="author.html#30324">[ 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>