[Mono-bugs] [Bug 74975][Nor] Changed - Bad CS0647 when __SECURITY_BOOTSTRAP_DB env variable is present

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Thu Jun 2 09:04:38 EDT 2005

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 at ximian.com.


--- shadow/74975	2005-05-20 07:48:01.000000000 -0400
+++ shadow/74975.tmp.10384	2005-06-02 09:04:38.000000000 -0400
@@ -67,6 +67,24 @@
 I would like to test it.
 ------- Additional Comments From sebastien at ximian.com  2005-05-20 07:48 -------
 Just add the attribute
 [DnsPermission (SecurityAction.Demand, Unrestricted = true)]
 to any public method to see (or not ;-) the problem.
+------- Additional Comments From sebastien at ximian.com  2005-06-02 09:04 -------
+I was able to compile a DnsPermission inside System.dll.
+* I didn't use cygwin but a normal shell (not sure if it's important).
+* I set the
+* I used the "normal" (what the Makefile use) CSC command line to compile
+If I remove the __SECURITY_BOOTSTRAP_DB variable then I get the CS0647.
+However if I add an EnvironmentPermission I get the Compiler Internal
+So I think this is because the "DB" used for System must also contains
+the "symbols" from corlib.
+I'll continue investigating this...

More information about the mono-bugs mailing list