Fix wrong define is used in StringUtils.ToLower() (#2304)
This commit is contained in:
@@ -195,7 +195,7 @@ namespace Newtonsoft.Json.Utilities
|
|||||||
|
|
||||||
private static char ToLower(char c)
|
private static char ToLower(char c)
|
||||||
{
|
{
|
||||||
#if HAVE_CHAR_TO_STRING_WITH_CULTURE
|
#if HAVE_CHAR_TO_LOWER_WITH_CULTURE
|
||||||
c = char.ToLower(c, CultureInfo.InvariantCulture);
|
c = char.ToLower(c, CultureInfo.InvariantCulture);
|
||||||
#else
|
#else
|
||||||
c = char.ToLowerInvariant(c);
|
c = char.ToLowerInvariant(c);
|
||||||
|
|||||||
Reference in New Issue
Block a user