-Refactor

This commit is contained in:
James Newton-King
2017-10-23 10:33:35 +13:00
parent 9932155295
commit 473a7721bd
32 changed files with 228 additions and 198 deletions
+1 -1
View File
@@ -44,7 +44,7 @@ namespace Newtonsoft.Json.Linq
/// <returns>A <see cref="Task"/> that represents the asynchronous write operation.</returns>
public override Task WriteToAsync(JsonWriter writer, CancellationToken cancellationToken, params JsonConverter[] converters)
{
var t = writer.WriteStartObjectAsync(cancellationToken);
Task t = writer.WriteStartObjectAsync(cancellationToken);
if (!t.IsCompletedSucessfully())
{
return AwaitProperties(t, 0, writer, cancellationToken, converters);