[Mono-bugs] [Bug 21420] Changed - custom attributes defined in the same assembly problem

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
9 Apr 2002 21:03:51 -0000


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 lupus@ximian.com.

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

--- shadow/21420	Tue Apr  9 16:45:28 2002
+++ shadow/21420.tmp.17349	Tue Apr  9 17:03:51 2002
@@ -28,6 +28,14 @@
 
 
 ------- Additional Comments From ravi@ximian.com  2002-04-09 16:45 -------
 I am aware of this and it arises because of a problem in the
 attributes code that I am currently tackling. Once I have it all
 fixed, this problem should go away too.
+
+------- Additional Comments From lupus@ximian.com  2002-04-09 17:03 -------
+Shouldn't the code do the same thing
+reflection.c:mono_reflection_get_custom_attrs_blob() does for
+attributes from loaded assemblies? When you get the blob of data, you
+use the public void SetCustomAttribute( ConstructorInfo con, byte[]
+binaryAttribute) method to set the attribute.
+