Merge pull request #806 from AxlPr/master
[mono.git] / mcs / class / Mono.Data.Sqlite / Assembly / AssemblyInfo.cs
index b167e8fb2787e5ff463ee10c75c72d90c70faa71..19b444ebd39e40afb797f44f270c32cec75089b0 100644 (file)
@@ -35,7 +35,11 @@ using System.Runtime.ConstrainedExecution;
 #if !PLATFORM_COMPACTFRAMEWORK
 [assembly: AllowPartiallyTrustedCallers]
 [assembly: ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)]
-[assembly: SecurityPermission(SecurityAction.RequestMinimum, SkipVerification = true)]
+  #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:
@@ -47,15 +51,15 @@ using System.Runtime.ConstrainedExecution;
 //
 // You can specify all the values or you can default the Revision and Build Numbers 
 // by using the '*' as shown below:
-#if !MONOTOUCH
+#if !MOBILE
   #if NET_4_0
     [assembly: AssemblyVersion("4.0.0.0")]
   #else // NET_4_0
     [assembly: AssemblyVersion("2.0.0.0")]
   #endif // NET_4_0
-#else   // !MONOTOUCH
+#else
 [assembly: AssemblyVersion(Consts.FxVersion)]
-#endif  // !MONOTOUCH
+#endif
 #if !PLATFORM_COMPACTFRAMEWORK
 [assembly: AssemblyFileVersion("1.0.61.0")]
 #endif