From 16f567f92a1452a62d1290d06854baabf8847cfb Mon Sep 17 00:00:00 2001 From: Simon Cropp Date: Thu, 14 Nov 2024 21:03:41 +1100 Subject: [PATCH] use field keyword --- src/Argon/JsonWriter.cs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/Argon/JsonWriter.cs b/src/Argon/JsonWriter.cs index 07802b83f..bce0d0196 100644 --- a/src/Argon/JsonWriter.cs +++ b/src/Argon/JsonWriter.cs @@ -166,8 +166,6 @@ public string Path } } - EscapeHandling escapeHandling; - /// /// Gets or sets a value indicating how JSON text output should be formatted. /// @@ -178,10 +176,10 @@ public string Path /// public EscapeHandling EscapeHandling { - get => escapeHandling; + get; set { - escapeHandling = value; + field = value; OnEscapeHandlingChanged(); } }