diff --git a/Src/Newtonsoft.Json/Linq/JConstructor.Async.cs b/Src/Newtonsoft.Json/Linq/JConstructor.Async.cs index df63d818..b7456255 100644 --- a/Src/Newtonsoft.Json/Linq/JConstructor.Async.cs +++ b/Src/Newtonsoft.Json/Linq/JConstructor.Async.cs @@ -47,7 +47,7 @@ namespace Newtonsoft.Json.Linq for (int i = 0; i < _values.Count; i++) { - await _values[i].WriteToAsync(writer, converters).ConfigureAwait(false); + await _values[i].WriteToAsync(writer, cancellationToken, converters).ConfigureAwait(false); } await writer.WriteEndConstructorAsync(cancellationToken).ConfigureAwait(false); diff --git a/Src/Newtonsoft.Json/Linq/JObject.Async.cs b/Src/Newtonsoft.Json/Linq/JObject.Async.cs index fe2fc644..8546a8ed 100644 --- a/Src/Newtonsoft.Json/Linq/JObject.Async.cs +++ b/Src/Newtonsoft.Json/Linq/JObject.Async.cs @@ -47,7 +47,7 @@ namespace Newtonsoft.Json.Linq for (int i = 0; i < _properties.Count; i++) { - await _properties[i].WriteToAsync(writer, converters).ConfigureAwait(false); + await _properties[i].WriteToAsync(writer, cancellationToken, converters).ConfigureAwait(false); } await writer.WriteEndObjectAsync(cancellationToken).ConfigureAwait(false);