[Mono-bugs] [Bug 53292][Min] New - SetCustomAttribute opens key file for AssemblyKeyFileAttribute

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Sat, 24 Jan 2004 07:36:51 -0500 (EST)


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 dave-mono@earth.li.

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

--- shadow/53292	2004-01-24 07:36:51.000000000 -0500
+++ shadow/53292.tmp.6446	2004-01-24 07:36:51.000000000 -0500
@@ -0,0 +1,32 @@
+Bug#: 53292
+Product: Mono/Class Libraries
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Minor
+Component: CORLIB
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: dave-mono@earth.li               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: SetCustomAttribute opens key file for AssemblyKeyFileAttribute
+
+Description of Problem:
+
+If you do: 
+
+SetCustomAttribute (new CustomAttributeBuilder (typeof
+(AssemblyKeyFileAttribute).GetConstructor (new Type [] { typeof (string)
+}), new object [] { "foo"}));
+
+On an AssemblyBuilder, it throws an IOException if it cannot find a file
+named "foo".  This seems sensible, however it doesn't seem to happen on
+MS.NET. 
+
+This is in the test cases in: 
+MonoTests.System.Reflection.Emit.AssemblyBuilderTest.TestSetCustomAttribute