Closed dscopra closed 7 years ago
Basically JsonTextWriter had to be added to list of tracking types. For this, I need the full namespace of this type, all signatures of the constructors and which of them are tracking or not.
Newtonsoft.Json.JsonTextWriter(System.IO.TextWriter) Newtonsoft.Json.Bson.BsonWriter(System.IO.BinaryWriter) Newtonsoft.Json.Bson.BsonWriter(System.IO.Stream)
On Dispose of JsonTextWriter, the Close method is called which disposes the given StreamWriter. So it should not yield a "not disposed" warning.
_writer = new JsonTextWriter(new StreamWriter(stream, encoding, buffer_size, leave_open));