Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/Newtonsoft.Json.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'Src/Newtonsoft.Json/Linq/JTokenWriter.cs')
-rw-r--r--Src/Newtonsoft.Json/Linq/JTokenWriter.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/Newtonsoft.Json/Linq/JTokenWriter.cs b/Src/Newtonsoft.Json/Linq/JTokenWriter.cs
index d587539..ccc02b8 100644
--- a/Src/Newtonsoft.Json/Linq/JTokenWriter.cs
+++ b/Src/Newtonsoft.Json/Linq/JTokenWriter.cs
@@ -81,7 +81,7 @@ namespace Newtonsoft.Json.Linq
if (_parent == null)
_token = container;
else
- _parent.Add(container);
+ _parent.AddAndSkipParentCheck(container);
_parent = container;
}