[Mono-bugs] [Bug 70749][Nor] Changed - CS0647: Error emitting 'PermissionSet' attribute for RequestOptional.

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Wed, 22 Dec 2004 11:55:06 -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 sebastien@ximian.com.


--- shadow/70749	2004-12-22 11:44:25.000000000 -0500
+++ shadow/70749.tmp.31795	2004-12-22 11:55:05.000000000 -0500
@@ -60,6 +60,16 @@
 Additional Information:
 poupou@pollux:~/src/bugzilla> mcs --version
 Mono C# compiler version
+------- Additional Comments From sebastien@ximian.com  2004-12-22 11:55 -------
+The "main" problem is that CreatePermission returns null for
+PermissionSetAttribute. Also the Unrestricted flags must be preserved
+if multiple attributes are present for a single action.
+Finally the sample won't compile unless Main definition returns void,
+or the code return an integer.
+Adding patch.