From 0608c634164f42ccac20b554a9fe81315a838ac4 Mon Sep 17 00:00:00 2001 From: Alex Rodionov Date: Mon, 25 Mar 2024 14:52:36 -0700 Subject: [PATCH] [bazel] Fix .NET compiler errors --- 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 2cbb0085b3ece..40993c99de2b3 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:{Environment.NewLine}{value}"); + throw new WebDriverException($"The 'value' property was not found in the response:{System.Environment.NewLine}{value}"); } if (valueObject is not Dictionary valueDictionary) { - throw new WebDriverException($"The 'value' property is not a dictionary of {Environment.NewLine}{value}"); + throw new WebDriverException($"The 'value' property is not a dictionary of {System.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:{Environment.NewLine}{value}"); + throw new WebDriverException($"The 'value > error' property was not found in the response:{System.Environment.NewLine}{value}"); } if (errorObject is not string) { - throw new WebDriverException($"The 'value > error' property is not a string{Environment.NewLine}{value}"); + throw new WebDriverException($"The 'value > error' property is not a string{System.Environment.NewLine}{value}"); } response.Status = WebDriverError.ResultFromError(errorObject.ToString());