diff --git a/dotnet/src/webdriver/Internal/Base64UrlEncoder.cs b/dotnet/src/webdriver/Internal/Base64UrlEncoder.cs index b5fa69b2dfd8b..ada89eac65fa7 100644 --- a/dotnet/src/webdriver/Internal/Base64UrlEncoder.cs +++ b/dotnet/src/webdriver/Internal/Base64UrlEncoder.cs @@ -23,7 +23,7 @@ namespace OpenQA.Selenium.Internal /// /// Encodes and Decodes strings as Base64Url encoding. /// - public static class Base64UrlEncoder + internal static class Base64UrlEncoder { private const char base64PadCharacter = '='; private const string doubleBase64PadCharacter = "=="; diff --git a/dotnet/src/webdriver/Internal/IWebDriverObjectReference.cs b/dotnet/src/webdriver/Internal/IWebDriverObjectReference.cs index 9bb2ba68a0f0c..bc79e68f72672 100644 --- a/dotnet/src/webdriver/Internal/IWebDriverObjectReference.cs +++ b/dotnet/src/webdriver/Internal/IWebDriverObjectReference.cs @@ -16,10 +16,7 @@ // limitations under the License. // -using System; using System.Collections.Generic; -using System.Linq; -using System.Text; namespace OpenQA.Selenium.Internal { diff --git a/dotnet/src/webdriver/Internal/PortUtilities.cs b/dotnet/src/webdriver/Internal/PortUtilities.cs index 6238a72a845af..96f36a583d2b6 100644 --- a/dotnet/src/webdriver/Internal/PortUtilities.cs +++ b/dotnet/src/webdriver/Internal/PortUtilities.cs @@ -24,7 +24,7 @@ namespace OpenQA.Selenium.Internal /// /// Encapsulates methods for working with ports. /// - public static class PortUtilities + internal static class PortUtilities { /// /// Finds a random, free port to be listened on. diff --git a/dotnet/src/webdriver/Internal/ResourceUtilities.cs b/dotnet/src/webdriver/Internal/ResourceUtilities.cs index 47d8994d63ab4..ddb7afcadce88 100644 --- a/dotnet/src/webdriver/Internal/ResourceUtilities.cs +++ b/dotnet/src/webdriver/Internal/ResourceUtilities.cs @@ -16,9 +16,6 @@ // limitations under the License. // -using System; -using System.Collections.Generic; -using System.Diagnostics; using System.Globalization; using System.IO; using System.Reflection; diff --git a/dotnet/src/webdriver/Internal/ReturnedCookie.cs b/dotnet/src/webdriver/Internal/ReturnedCookie.cs index cc2283f505da1..623cc27f9c1bd 100644 --- a/dotnet/src/webdriver/Internal/ReturnedCookie.cs +++ b/dotnet/src/webdriver/Internal/ReturnedCookie.cs @@ -24,7 +24,7 @@ namespace OpenQA.Selenium.Internal /// /// Represents a cookie returned to the driver by the browser. /// - public class ReturnedCookie : Cookie + internal class ReturnedCookie : Cookie { ///