Fix wrong define is used in StringUtils.ToLower() (#2304)

This commit is contained in:
Anton Vasiliev
2020-03-26 09:35:34 +13:00
committed by GitHub
parent a31156e90a
commit 666d976071
+1 -1
View File
@@ -195,7 +195,7 @@ namespace Newtonsoft.Json.Utilities
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);
#else
c = char.ToLowerInvariant(c);