[Mono-bugs] [Bug 62358][Nor] Changed - MCS doesn't encode SecurityAttributes properly

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Thu, 16 Sep 2004 11:39:55 -0400 (EDT)


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

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

--- shadow/62358	2004-09-15 10:58:13.000000000 -0400
+++ shadow/62358.tmp.5507	2004-09-16 11:39:55.000000000 -0400
@@ -12,13 +12,12 @@
 ReportedBy: sebastien@ximian.com               
 QAContact: mono-bugs@ximian.com
 TargetMilestone: ---
 URL: 
 Cc: 
 Summary: MCS doesn't encode SecurityAttributes properly
-OtherBugsDependingOnThis: 52606
 
 Description of Problem:
 MCS encodes "SecurityAttribute"s like any other Attribute. Attributes
 deriving from SecurityAttributes should be XML encoded in the assembly
 metadata.
 
@@ -224,6 +223,14 @@
 * Workaround is to use CSC to compile the assemblies.
 
 ------- Additional Comments From sebastien@ximian.com  2004-08-03 09:27 -------
 Created an attachment (id=8845)
 csc-ildasm
 
+
+------- Additional Comments From sebastien@ximian.com  2004-09-16 11:39 -------
+Informational Note (this shouldn't affect the compiler):
+
+The 2.0 runtime doesn't encode security permission as XML. They are
+encoded just like other "normal" permissions (space saver). However
+they are still located in the same place - and can't be read by
+GetCustomAttribute(s).