[Mono-bugs] [Bug 77761][Nor] New - Security attribute is not transform to metadata

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Fri Mar 10 16:29:09 EST 2006


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 marek.safar at seznam.cz.

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

--- shadow/77761	2006-03-10 16:29:09.000000000 -0500
+++ shadow/77761.tmp.3066	2006-03-10 16:29:09.000000000 -0500
@@ -0,0 +1,58 @@
+Bug#: 77761
+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: marek.safar at seznam.cz               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Security attribute is not transform to metadata
+
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+
+Compile & Run
+
+Steps to reproduce the problem:
+1. 
+
+using System;
+using System.Security;
+using System.Reflection;
+
+[Serializable, SuppressUnmanagedCodeSecurity]
+public class Win32Exception : System.Exception
+{
+	public static void Main ()
+	{
+		bool res = (typeof (Win32Exception).Attributes &
+TypeAttributes.HasSecurity) != 0;
+		
+		Console.WriteLine (res);
+	}
+}
+
+
+Actual Results:
+
+False
+
+Expected Results:
+
+True
+
+How often does this happen? 
+
+What I compiled the code via mcs with MS corlib the result was true.
+So this is definitely corlib or runtime issue.
+
+Additional Information:


More information about the mono-bugs mailing list