-Fixed JsonTextReader sync read in async method

This commit is contained in:
James Newton-King
2018-01-11 16:18:04 +13:00
parent 2c90c2740d
commit c445141fc6
2 changed files with 126 additions and 1 deletions
+1 -1
View File
@@ -362,7 +362,7 @@ namespace Newtonsoft.Json
if (char.IsNumber(currentChar) || currentChar == '-' || currentChar == '.')
{
ParseNumber(ReadType.Read);
await ParseNumberAsync(ReadType.Read, cancellationToken).ConfigureAwait(false);
return true;
}