-Increment version to 8.0.2
-Tests
This commit is contained in:
@@ -874,10 +874,15 @@ namespace Newtonsoft.Json
|
||||
{
|
||||
if (!Read())
|
||||
{
|
||||
throw JsonReaderException.Create(this, "Unexpected end when reading JSON.");
|
||||
throw CreateUnexpectedEndException();
|
||||
}
|
||||
}
|
||||
|
||||
internal JsonReaderException CreateUnexpectedEndException()
|
||||
{
|
||||
return JsonReaderException.Create(this, "Unexpected end when reading JSON.");
|
||||
}
|
||||
|
||||
internal void ReadIntoWrappedTypeObject()
|
||||
{
|
||||
ReaderReadAndAssert();
|
||||
|
||||
Reference in New Issue
Block a user