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 Unified Diffs Ignore Whitespace Patch

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

2382
2383
2384
2385
2386
2387
2388
2389


2390
2391
2392
2393
2394
2395
2396

        StringBuilder result = new StringBuilder();

        int length = array.Length;

        for (int index = 0; index < length; index++)
#if NET_COMPACT_20
            result.Append(UnsafeNativeMethods.StringFormat("{0:x2}", array[index]));


#else
            result.AppendFormat("{0:x2}", array[index]);
#endif

        return result.ToString();
    }








|
>
>







2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398

        StringBuilder result = new StringBuilder();

        int length = array.Length;

        for (int index = 0; index < length; index++)
#if NET_COMPACT_20
            result.Append(UnsafeNativeMethods.StringFormat(
                CultureInfo.InvariantCulture,
                "{0:x2}", array[index]));
#else
            result.AppendFormat("{0:x2}", array[index]);
#endif

        return result.ToString();
    }