From e45f06debf964c4ee175d5ba36362b4d9c509fd1 Mon Sep 17 00:00:00 2001 From: JustArchi Date: Mon, 4 Jan 2021 15:32:28 +0100 Subject: [PATCH] Misc --- ArchiSteamFarm/WebBrowser.cs | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/ArchiSteamFarm/WebBrowser.cs b/ArchiSteamFarm/WebBrowser.cs index 59c0bcdf5..5667d5408 100644 --- a/ArchiSteamFarm/WebBrowser.cs +++ b/ArchiSteamFarm/WebBrowser.cs @@ -1123,19 +1123,13 @@ namespace ArchiSteamFarm { [PublicAPI] public string? Content { get; } - internal StringResponse(HttpResponseMessage httpResponseMessage, string content) : this(httpResponseMessage) { + internal StringResponse(HttpResponseMessage httpResponseMessage, string content) : base(httpResponseMessage) { if (httpResponseMessage == null) { throw new ArgumentNullException(nameof(httpResponseMessage)); } Content = content ?? throw new ArgumentNullException(nameof(content)); } - - internal StringResponse(HttpResponseMessage httpResponseMessage) : base(httpResponseMessage) { - if (httpResponseMessage == null) { - throw new ArgumentNullException(nameof(httpResponseMessage)); - } - } } public sealed class XmlDocumentResponse : BasicResponse {