[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.
http://bugzilla.ximian.com/show_bug.cgi?id=70749
--- 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 @@
Always.
Additional Information:
poupou@pollux:~/src/bugzilla> mcs --version
Mono C# compiler version 1.1.3.0
+
+------- 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.