From 42e161d1f911b7f3b78f9b4a1b6350d7cda2ac2f Mon Sep 17 00:00:00 2001 From: Eric Erhardt Date: Tue, 13 Jun 2023 11:33:29 -0500 Subject: [PATCH] Use file scoped namespace. --- src/Services/Services.Common/JsonHelper.cs | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/src/Services/Services.Common/JsonHelper.cs b/src/Services/Services.Common/JsonHelper.cs index 2bb14c3ab..e62dc42dd 100644 --- a/src/Services/Services.Common/JsonHelper.cs +++ b/src/Services/Services.Common/JsonHelper.cs @@ -1,12 +1,11 @@ using System.Text.Json; -namespace Services.Common +namespace Services.Common; + +public static class JsonHelper { - public static class JsonHelper + public static readonly JsonSerializerOptions CaseInsensitiveOptions = new() { - public static readonly JsonSerializerOptions CaseInsensitiveOptions = new() - { - PropertyNameCaseInsensitive = true - }; - } + PropertyNameCaseInsensitive = true + }; }