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

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

Overview
Comment:Fix typo in the previous check-in.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: ea0c351664c71d792daac8c38ddda9771457e988
User & Date: mistachkin 2015-08-12 22:25:03
Context
2015-08-12
22:32
Some CultureInfo fixes for String.Format. check-in: 5c8311fbd4 user: mistachkin tags: trunk
22:25
Fix typo in the previous check-in. check-in: ea0c351664 user: mistachkin tags: trunk
22:21
Add some workarounds to allow the core managed assembly to work on Mono 4.0. check-in: e7803b3ae7 user: mistachkin tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

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

  2382   2382   
  2383   2383           StringBuilder result = new StringBuilder();
  2384   2384   
  2385   2385           int length = array.Length;
  2386   2386   
  2387   2387           for (int index = 0; index < length; index++)
  2388   2388   #if NET_COMPACT_20
  2389         -            result.Append(UnsafeNativeMethods.StringFormat("{0:x2}", array[index]));
         2389  +            result.Append(UnsafeNativeMethods.StringFormat(
         2390  +                CultureInfo.InvariantCulture,
         2391  +                "{0:x2}", array[index]));
  2390   2392   #else
  2391   2393               result.AppendFormat("{0:x2}", array[index]);
  2392   2394   #endif
  2393   2395   
  2394   2396           return result.ToString();
  2395   2397       }
  2396   2398