Merge pull request #806 from AxlPr/master
[mono.git] / mcs / class / Mono.Data.Sqlite / Assembly / AssemblyInfo.cs
index be60f050842586b7e7fd1bda9c21985994d11389..19b444ebd39e40afb797f44f270c32cec75089b0 100644 (file)
@@ -35,6 +35,11 @@ using System.Runtime.ConstrainedExecution;
 #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: