-Fixed camelcase culture bug
This commit is contained in:
@@ -75,4 +75,4 @@ using System.Security;
|
||||
// by using the '*' as shown below:
|
||||
|
||||
[assembly: AssemblyVersion("6.0.0.0")]
|
||||
[assembly: AssemblyFileVersion("6.0.5.17706")]
|
||||
[assembly: AssemblyFileVersion("6.0.5.17707")]
|
||||
|
||||
@@ -120,9 +120,11 @@ namespace Newtonsoft.Json.Tests
|
||||
[SetUp]
|
||||
protected void TestSetup()
|
||||
{
|
||||
//CultureInfo turkey = CultureInfo.CreateSpecificCulture("tr");
|
||||
//Thread.CurrentThread.CurrentCulture = turkey;
|
||||
//Thread.CurrentThread.CurrentUICulture = turkey;
|
||||
//#if !NETFX_CORE
|
||||
// CultureInfo turkey = CultureInfo.CreateSpecificCulture("tr");
|
||||
// Thread.CurrentThread.CurrentCulture = turkey;
|
||||
// Thread.CurrentThread.CurrentUICulture = turkey;
|
||||
//#endif
|
||||
|
||||
JsonConvert.DefaultSettings = null;
|
||||
}
|
||||
|
||||
@@ -91,5 +91,5 @@ using System.Security;
|
||||
// by using the '*' as shown below:
|
||||
|
||||
[assembly: AssemblyVersion("6.0.0.0")]
|
||||
[assembly: AssemblyFileVersion("6.0.5.17706")]
|
||||
[assembly: AssemblyFileVersion("6.0.5.17707")]
|
||||
[assembly: CLSCompliant(true)]
|
||||
|
||||
@@ -173,7 +173,7 @@ namespace Newtonsoft.Json.Utilities
|
||||
#if !(NETFX_CORE || PORTABLE)
|
||||
chars[i] = char.ToLower(chars[i], CultureInfo.InvariantCulture);
|
||||
#else
|
||||
chars[i] = char.ToLower(chars[i]);
|
||||
chars[i] = char.ToLowerInvariant(chars[i]);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user