Refactor some cases of repeated code into separate methods.
Make the MoveToContent() and ReadToContent() produced from this public.
This commit is contained in:
@@ -1039,7 +1039,7 @@ namespace Newtonsoft.Json
|
||||
}
|
||||
else
|
||||
{
|
||||
throw JsonReaderException.Create(this, "Unexpected end.");
|
||||
throw JsonReaderException.Create(this, "Unexpected end when reading JSON.");
|
||||
}
|
||||
return true;
|
||||
case 'N':
|
||||
|
||||
Reference in New Issue
Block a user