diff options
author | Matthew Leibowitz <mattleibow@live.com> | 2016-09-01 02:28:06 +0300 |
---|---|---|
committer | Matthew Leibowitz <mattleibow@live.com> | 2016-09-01 02:28:06 +0300 |
commit | d2c68ea9327995506f5283ae3cad68d1dd2a4d7b (patch) | |
tree | b73d9a6d10b887271d50c058ce6da551bc887ba8 /mcs/class/Mono.Data.Sqlite | |
parent | 4ca0a0b853598bba647e92cc50f1ace82261c598 (diff) |
[Mono.Data.Sqlite] Make the fields read-only
Diffstat (limited to 'mcs/class/Mono.Data.Sqlite')
-rw-r--r-- | mcs/class/Mono.Data.Sqlite/Mono.Data.Sqlite_2.0/UnsafeNativeMethods.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mcs/class/Mono.Data.Sqlite/Mono.Data.Sqlite_2.0/UnsafeNativeMethods.cs b/mcs/class/Mono.Data.Sqlite/Mono.Data.Sqlite_2.0/UnsafeNativeMethods.cs index 0d7947225cd..a3117703c6b 100644 --- a/mcs/class/Mono.Data.Sqlite/Mono.Data.Sqlite_2.0/UnsafeNativeMethods.cs +++ b/mcs/class/Mono.Data.Sqlite/Mono.Data.Sqlite_2.0/UnsafeNativeMethods.cs @@ -17,8 +17,8 @@ namespace Mono.Data.Sqlite internal static class UnsafeNativeMethods
{
#if MONOTOUCH
- internal static bool use_sqlite3_close_v2 = false;
- internal static bool use_sqlite3_open_v2 = false;
+ internal static readonly bool use_sqlite3_close_v2 = false;
+ internal static readonly bool use_sqlite3_open_v2 = false;
static UnsafeNativeMethods()
{
IntPtr lib = ObjCRuntime.Dlfcn.dlopen(SQLITE_DLL, 0);
|