Permalink
Browse files

preparing for mono cross-compilation support: disabling unsupported r…

…efused CAS permissions
  • Loading branch information...
1 parent ecfcac9 commit 2fd34bac425844eb4158ab104df453b7de995b10 @cdrnet cdrnet committed Nov 11, 2008
Showing with 7 additions and 5 deletions.
  1. +7 −5 src/app/MathNet.Iridium/Library/Properties/AssemblyInfo.cs
@@ -42,11 +42,13 @@
[assembly: EnvironmentPermission(SecurityAction.RequestRefuse, Unrestricted=true)]
[assembly: ReflectionPermission(SecurityAction.RequestRefuse, Unrestricted=true)]
[assembly: RegistryPermission(SecurityAction.RequestRefuse, Unrestricted=true)]
-[assembly: System.Net.SocketPermission(SecurityAction.RequestRefuse, Unrestricted=true)]
-[assembly: System.Net.WebPermission(SecurityAction.RequestRefuse, Unrestricted=true)]
-[assembly: System.Net.DnsPermission(SecurityAction.RequestRefuse, Unrestricted=true)]
-[assembly: System.Net.Mail.SmtpPermission(SecurityAction.RequestRefuse, Unrestricted=true)]
-[assembly: System.Net.NetworkInformation.NetworkInformationPermission(SecurityAction.RequestRefuse, Unrestricted=true)]
+
+// NOTE (ruegg, 2008-11-11): The following 5 permissions have been commented out because they're not supported by mono yet
+//[assembly: System.Net.SocketPermission(SecurityAction.RequestRefuse, Unrestricted=true)]
+//[assembly: System.Net.WebPermission(SecurityAction.RequestRefuse, Unrestricted=true)]
+//[assembly: System.Net.DnsPermission(SecurityAction.RequestRefuse, Unrestricted=true)]
+//[assembly: System.Net.Mail.SmtpPermission(SecurityAction.RequestRefuse, Unrestricted=true)]
+//[assembly: System.Net.NetworkInformation.NetworkInformationPermission(SecurityAction.RequestRefuse, Unrestricted=true)]
[assembly: AllowPartiallyTrustedCallers]

0 comments on commit 2fd34ba

Please sign in to comment.