From e1677cd11bae072e2b71b136cea54a6c874a6091 Mon Sep 17 00:00:00 2001 From: Alex Rodionov Date: Sat, 30 Mar 2024 08:02:43 -0700 Subject: [PATCH] [dotnet] Revert System namespace prefix --- dotnet/src/webdriver/Response.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/dotnet/src/webdriver/Response.cs b/dotnet/src/webdriver/Response.cs index 40993c99de2b3..2cbb0085b3ece 100644 --- a/dotnet/src/webdriver/Response.cs +++ b/dotnet/src/webdriver/Response.cs @@ -158,24 +158,24 @@ public static Response FromErrorJson(string value) if (!deserializedResponse.TryGetValue("value", out var valueObject)) { - throw new WebDriverException($"The 'value' property was not found in the response:{System.Environment.NewLine}{value}"); + throw new WebDriverException($"The 'value' property was not found in the response:{Environment.NewLine}{value}"); } if (valueObject is not Dictionary valueDictionary) { - throw new WebDriverException($"The 'value' property is not a dictionary of {System.Environment.NewLine}{value}"); + throw new WebDriverException($"The 'value' property is not a dictionary of {Environment.NewLine}{value}"); } response.Value = valueDictionary; if (!valueDictionary.TryGetValue("error", out var errorObject)) { - throw new WebDriverException($"The 'value > error' property was not found in the response:{System.Environment.NewLine}{value}"); + throw new WebDriverException($"The 'value > error' property was not found in the response:{Environment.NewLine}{value}"); } if (errorObject is not string) { - throw new WebDriverException($"The 'value > error' property is not a string{System.Environment.NewLine}{value}"); + throw new WebDriverException($"The 'value > error' property is not a string{Environment.NewLine}{value}"); } response.Status = WebDriverError.ResultFromError(errorObject.ToString());