[mono/mono] 2c7864ae: [Mono.Data.Sqlite] Fixed for Windows .NET 4.0

"Jeffrey Stedfast ([email protected])" <[email protected]> Sat, 23 Nov 2013 20:58:47 +0000
Newsgroups gmane.comp.gnome.mono.patches
Message-ID <0000014286c1f517-30a52ec1-e41d-47ca-8bf3-40ed0a653b62-000000@email.amazonses.com>
   Branch: refs/heads/master
     Home: https://github.com/mono/mono
  Compare: https://github.com/mono/mono/compare/c54015435a31...2c7864ae9854

   Commit: 2c7864ae9854bd9a9be9dc06baaec8929e60495c
   Author: Jeffrey Stedfast <[email protected]> (jstedfast)
     Date: 2013-11-23 20:56:42 GMT
      URL: https://github.com/mono/mono/commit/2c7864ae9854bd9a9be9dc06baaec8929e60495c

[Mono.Data.Sqlite] Fixed for Windows .NET 4.0

Thanks to Joe for the patch.

Fixes bug #2148

Changed paths:
  M mcs/class/Mono.Data.Sqlite/Assembly/AssemblyInfo.cs

Modified: mcs/class/Mono.Data.Sqlite/Assembly/AssemblyInfo.cs
===================================================================
@@ -35,6 +35,11 @@
 #if !PLATFORM_COMPACTFRAMEWORK
 [assembly: AllowPartiallyTrustedCallers]
 [assembly: ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)]
+  #if NET_4_0
+    [assembly: SecurityRules(SecurityRuleSet.Level1)]
+  #else
+    [assembly: SecurityPermission(SecurityAction.RequestMinimum, SkipVerification = true)]
+  #endif
 #endif
 
 // Version information for an assembly consists of the following four values:


_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches