From cfddda60a60879e5fab03b4912511e0c61ca3fac Mon Sep 17 00:00:00 2001 From: honfika Date: Fri, 28 Jan 2022 23:39:54 +0100 Subject: [PATCH] auto property --- .../Http/RequestResponseBase.cs | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/src/Titanium.Web.Proxy/Http/RequestResponseBase.cs b/src/Titanium.Web.Proxy/Http/RequestResponseBase.cs index 1948c0417..8fb1b6eaa 100644 --- a/src/Titanium.Web.Proxy/Http/RequestResponseBase.cs +++ b/src/Titanium.Web.Proxy/Http/RequestResponseBase.cs @@ -211,20 +211,7 @@ internal set internal bool BodyAvailable => BodyInternal != null; - private bool isBodyReceived; - - internal bool IsBodyReceived - { - get => isBodyReceived; - set - { - if (isBodyReceived) - { - ; - } - isBodyReceived = value; - } - } + internal bool IsBodyReceived { get; set; } internal bool IsBodySent { get; set; }