We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
SerializeAsync
1 parent 34051e9 commit 174eccfCopy full SHA for 174eccf
src/Platform/Microsoft.Testing.Platform/ServerMode/JsonRpc/Json/Json.cs
@@ -726,12 +726,10 @@ private async Task SerializeAsync(object? obj, Utf8JsonWriter writer)
726
(string Key, object? Value)[]? properties = objectConverter.Properties(obj);
727
if (properties is not null)
728
{
729
- int count = 1;
730
foreach ((string property, object? value) in properties)
731
732
writer.WritePropertyName(property);
733
await SerializeAsync(value, writer);
734
- count++;
735
}
736
737
0 commit comments