[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 bugzilla-daemon at bugzilla.ximian.com
Mon Jun 13 02:41:18 EDT 2005


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 gert.driesen at pandora.be.

http://bugzilla.ximian.com/show_bug.cgi?id=75246

--- 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: mono-bugs at ximian.com                            
+ReportedBy: gert.driesen at pandora.be               
+QAContact: mono-bugs at ximian.com
+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 "NotWorking" for now).


More information about the mono-bugs mailing list