diff --git a/test/PerformanceTests/SerializationComparisonsTests/Lib/NoopJsonWriter.cs b/test/PerformanceTests/SerializationComparisonsTests/Lib/NoopJsonWriter.cs index 3a65ed300e..390c3ac5e2 100644 --- a/test/PerformanceTests/SerializationComparisonsTests/Lib/NoopJsonWriter.cs +++ b/test/PerformanceTests/SerializationComparisonsTests/Lib/NoopJsonWriter.cs @@ -5,6 +5,7 @@ //--------------------------------------------------------------------- using System; +using System.Text.Json; using System.Threading.Tasks; using Microsoft.OData.Edm; using Microsoft.OData.Json; @@ -173,6 +174,10 @@ public void WriteValue(TimeOfDay value) { } + public void WriteValue(JsonElement value) + { + } + public Task WriteValueAsync(bool value) { return Task.CompletedTask; @@ -252,5 +257,10 @@ public Task WriteValueAsync(TimeOfDay value) { return Task.CompletedTask; } + + public Task WriteValueAsync(JsonElement value) + { + return Task.CompletedTask; + } } }