Fixing JToken line info set (#1250)
This commit is contained in:
committed by
James Newton-King
parent
c9060682a1
commit
fa3b038acf
@@ -2229,7 +2229,7 @@ namespace Newtonsoft.Json.Linq
|
||||
|
||||
internal void SetLineInfo(IJsonLineInfo lineInfo, JsonLoadSettings settings)
|
||||
{
|
||||
if (settings != null && settings.LineInfoHandling == LineInfoHandling.Load)
|
||||
if (settings != null && settings.LineInfoHandling != LineInfoHandling.Load)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user