System.Data.SQLite
Check-in [e6b998e04a]
Not logged in

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Adjust some conditional compilation checks in order to include .NET Core.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: e6b998e04aa1d459f65998a4ee1d5abd556e7e5d
User & Date: mistachkin 2018-07-01 19:17:25
Context
2018-07-05
22:03
Clarify some of the .NET Standard specific project properties by moving them into their own section. check-in: e80c56236e user: mistachkin tags: trunk
2018-07-01
19:17
Adjust some conditional compilation checks in order to include .NET Core. check-in: e6b998e04a user: mistachkin tags: trunk
2018-06-24
21:52
Pickup more release archive verification tool changes from upstream. check-in: c0130ce3d6 user: mistachkin tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Show Whitespace Changes Patch

Changes to System.Data.SQLite/AssemblyInfo.cs.

    51     51   #if !PLATFORM_COMPACTFRAMEWORK
    52     52   #if !NET_40 && !NET_45 && !NET_451 && !NET_452 && !NET_46 && !NET_461 && !NET_462 && !NET_47 && !NET_471 && !NET_472
    53     53   [assembly: AllowPartiallyTrustedCallers]
    54     54   #endif
    55     55   
    56     56   [assembly: ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)]
    57     57   
    58         -#if NET_40 || NET_45 || NET_451 || NET_452 || NET_46 || NET_461 || NET_462 || NET_47 || NET_471 || NET_472
           58  +#if NET_40 || NET_45 || NET_451 || NET_452 || NET_46 || NET_461 || NET_462 || NET_47 || NET_471 || NET_472 || NET_STANDARD_20
    59     59   //
    60     60   // NOTE: This attribute is only available in .NET Framework 4.0 or higher.
    61     61   //
    62     62   [assembly: SecurityRules(SecurityRuleSet.Level1)]
    63     63   #endif
    64     64   #endif
    65     65   

Changes to System.Data.SQLite/UnsafeNativeMethods.cs.

  1982   1982         /// </returns>
  1983   1983         private static string GetAssemblyTargetFramework(
  1984   1984             Assembly assembly
  1985   1985             )
  1986   1986         {
  1987   1987             if (assembly != null)
  1988   1988             {
  1989         -#if NET_40 || NET_45 || NET_451 || NET_452 || NET_46 || NET_461 || NET_462 || NET_47 || NET_471 || NET_472
         1989  +#if NET_40 || NET_45 || NET_451 || NET_452 || NET_46 || NET_461 || NET_462 || NET_47 || NET_471 || NET_472 || NET_STANDARD_20
  1990   1990                 try
  1991   1991                 {
  1992   1992                     if (assembly.IsDefined(
  1993   1993                             typeof(TargetFrameworkAttribute), false))
  1994   1994                     {
  1995   1995                         TargetFrameworkAttribute targetFramework =
  1996   1996                             (TargetFrameworkAttribute)