diff --git a/SystemTextJsonPatch.Benchmark/SystemTextJsonPatch.Benchmark.csproj b/SystemTextJsonPatch.Benchmark/SystemTextJsonPatch.Benchmark.csproj index fb5d473..c9aee81 100644 --- a/SystemTextJsonPatch.Benchmark/SystemTextJsonPatch.Benchmark.csproj +++ b/SystemTextJsonPatch.Benchmark/SystemTextJsonPatch.Benchmark.csproj @@ -12,7 +12,7 @@ - + diff --git a/SystemTextJsonPatch/Converters/JsonPatchDocumentConverterFactory.cs b/SystemTextJsonPatch/Converters/JsonPatchDocumentConverterFactory.cs index 2f763c3..40086da 100644 --- a/SystemTextJsonPatch/Converters/JsonPatchDocumentConverterFactory.cs +++ b/SystemTextJsonPatch/Converters/JsonPatchDocumentConverterFactory.cs @@ -25,8 +25,10 @@ public sealed override bool CanConvert(Type typeToConvert) } - return (JsonConverter)Activator.CreateInstance(typeof(GenericJsonPatchDocumentConverter<>).MakeGenericType(typeToConvert.GenericTypeArguments[0]), - Array.Empty())!; + return (JsonConverter)Activator.CreateInstance( + typeof(GenericJsonPatchDocumentConverter<>).MakeGenericType(typeToConvert.GenericTypeArguments[0]), + [] + )!; } } } diff --git a/SystemTextJsonPatch/SystemTextJsonPatch.csproj b/SystemTextJsonPatch/SystemTextJsonPatch.csproj index 6d74009..fe677bf 100644 --- a/SystemTextJsonPatch/SystemTextJsonPatch.csproj +++ b/SystemTextJsonPatch/SystemTextJsonPatch.csproj @@ -36,7 +36,7 @@ - +