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

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
11 Apr 2002 21:47:29 -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 ravi@ximian.com.


--- shadow/21420	Tue Apr  9 17:03:51 2002
+++ shadow/21420.tmp.20698	Thu Apr 11 17:47:29 2002
@@ -36,6 +36,14 @@
 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.
+------- Additional Comments From ravi@ximian.com  2002-04-11 17:47 -------
+Currently we use SetCustomAttribute (CustomAttributeBuilder cb) to 
+set attributes and it works fine since it really is an easier way of 
+doing what you suggest. 
+As I said, this fix will come when I make my big commit of the 
+attribute application code revamp.