Refactor some cases of repeated code into separate methods.
Make the MoveToContent() and ReadToContent() produced from this public.
This commit is contained in:
@@ -221,10 +221,7 @@ namespace Newtonsoft.Json.Linq
|
||||
}
|
||||
}
|
||||
|
||||
while (reader.TokenType == JsonToken.Comment)
|
||||
{
|
||||
reader.Read();
|
||||
}
|
||||
reader.MoveToContentUnsafe();
|
||||
|
||||
if (reader.TokenType != JsonToken.StartConstructor)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user