diff --git a/dotnet/private/executable_assembly.bzl b/dotnet/private/executable_assembly.bzl index 3686b0617ecd6..cec4149a60fc8 100644 --- a/dotnet/private/executable_assembly.bzl +++ b/dotnet/private/executable_assembly.bzl @@ -75,6 +75,7 @@ def create_executable_assembly(ctx, extra_srcs, extra_deps): internals_visible_to = None, internals_visible_to_cs = None, langversion = ctx.attr.langversion, + nullable = ctx.attr.nullable, resources = ctx.files.resources, srcs = ctx.files.srcs + extra_srcs, out = ctx.attr.out, @@ -143,6 +144,9 @@ csharp_executable = rule( "langversion": attr.string( doc = "The version string for the C# language.", ), + "nullable": attr.string( + doc = "Enable nullable context, or nullable warnings.", + ), "resources": attr.label_list( doc = "A list of files to embed in the DLL as resources.", allow_files = True, diff --git a/dotnet/src/webdriver/Alert.cs b/dotnet/src/webdriver/Alert.cs index d7637b7465a6b..2931eb39f68ee 100644 --- a/dotnet/src/webdriver/Alert.cs +++ b/dotnet/src/webdriver/Alert.cs @@ -20,8 +20,6 @@ using System; using System.Collections.Generic; -#nullable enable - namespace OpenQA.Selenium { /// diff --git a/dotnet/src/webdriver/BUILD.bazel b/dotnet/src/webdriver/BUILD.bazel index 2b410b83df650..831a8eb05734a 100644 --- a/dotnet/src/webdriver/BUILD.bazel +++ b/dotnet/src/webdriver/BUILD.bazel @@ -37,6 +37,7 @@ csharp_library( "WebDriver.Common.Tests", ], langversion = "12.0", + nullable = "enable", resources = [ "//javascript/atoms/fragments:find-elements.js", "//javascript/atoms/fragments:is-displayed.js", @@ -76,6 +77,7 @@ csharp_library( "WebDriver.Common.Tests", ], langversion = "12.0", + nullable = "enable", resources = [ "//javascript/atoms/fragments:find-elements.js", "//javascript/atoms/fragments:is-displayed.js", @@ -103,6 +105,7 @@ csharp_library( out = "WebDriver.StrongNamed", keyfile = "//dotnet:WebDriver.snk", langversion = "12.0", + nullable = "enable", resources = [ "//javascript/atoms/fragments:find-elements.js", "//javascript/atoms/fragments:is-displayed.js", @@ -140,6 +143,7 @@ csharp_library( ], keyfile = "//dotnet:WebDriver.snk", langversion = "12.0", + nullable = "enable", resources = [ "//javascript/atoms/fragments:find-elements.js", "//javascript/atoms/fragments:is-displayed.js", diff --git a/dotnet/src/webdriver/BiDi/BiDi.cs b/dotnet/src/webdriver/BiDi/BiDi.cs index 9833773c39891..1ec5138156a6b 100644 --- a/dotnet/src/webdriver/BiDi/BiDi.cs +++ b/dotnet/src/webdriver/BiDi/BiDi.cs @@ -22,8 +22,6 @@ using OpenQA.Selenium.BiDi.Communication; using OpenQA.Selenium.BiDi.Communication.Transport; -#nullable enable - namespace OpenQA.Selenium.BiDi; public class BiDi : IAsyncDisposable diff --git a/dotnet/src/webdriver/BiDi/BiDiException.cs b/dotnet/src/webdriver/BiDi/BiDiException.cs index fceaca999b622..412c52e535a79 100644 --- a/dotnet/src/webdriver/BiDi/BiDiException.cs +++ b/dotnet/src/webdriver/BiDi/BiDiException.cs @@ -19,8 +19,6 @@ using System; -#nullable enable - namespace OpenQA.Selenium.BiDi; public class BiDiException : Exception diff --git a/dotnet/src/webdriver/BiDi/Communication/Broker.cs b/dotnet/src/webdriver/BiDi/Communication/Broker.cs index 89ad49d49a243..de7fd33a35180 100644 --- a/dotnet/src/webdriver/BiDi/Communication/Broker.cs +++ b/dotnet/src/webdriver/BiDi/Communication/Broker.cs @@ -30,8 +30,6 @@ using System.Threading; using System.Threading.Tasks; -#nullable enable - namespace OpenQA.Selenium.BiDi.Communication; public class Broker : IAsyncDisposable diff --git a/dotnet/src/webdriver/BiDi/Communication/Command.cs b/dotnet/src/webdriver/BiDi/Communication/Command.cs index a2be1ab37849c..f3d4bacb03cff 100644 --- a/dotnet/src/webdriver/BiDi/Communication/Command.cs +++ b/dotnet/src/webdriver/BiDi/Communication/Command.cs @@ -17,8 +17,6 @@ // under the License. // -#nullable enable - namespace OpenQA.Selenium.BiDi.Communication; public abstract class Command diff --git a/dotnet/src/webdriver/BiDi/Communication/CommandOptions.cs b/dotnet/src/webdriver/BiDi/Communication/CommandOptions.cs index 693f4142cea29..5d414b5cd25ae 100644 --- a/dotnet/src/webdriver/BiDi/Communication/CommandOptions.cs +++ b/dotnet/src/webdriver/BiDi/Communication/CommandOptions.cs @@ -19,8 +19,6 @@ using System; -#nullable enable - namespace OpenQA.Selenium.BiDi.Communication; public record CommandOptions diff --git a/dotnet/src/webdriver/BiDi/Communication/EventHandler.cs b/dotnet/src/webdriver/BiDi/Communication/EventHandler.cs index b35f2d7d6062e..fd67f167dbb87 100644 --- a/dotnet/src/webdriver/BiDi/Communication/EventHandler.cs +++ b/dotnet/src/webdriver/BiDi/Communication/EventHandler.cs @@ -22,8 +22,6 @@ using System.Collections.Generic; using System.Threading.Tasks; -#nullable enable - namespace OpenQA.Selenium.BiDi.Communication; public abstract class EventHandler(string eventName, Type eventArgsType, IEnumerable? contexts = null) diff --git a/dotnet/src/webdriver/BiDi/Communication/Json/Converters/BrowserClientWindowConverter.cs b/dotnet/src/webdriver/BiDi/Communication/Json/Converters/BrowserClientWindowConverter.cs index 30a9761eff982..d04eca3b6b328 100644 --- a/dotnet/src/webdriver/BiDi/Communication/Json/Converters/BrowserClientWindowConverter.cs +++ b/dotnet/src/webdriver/BiDi/Communication/Json/Converters/BrowserClientWindowConverter.cs @@ -22,8 +22,6 @@ using System.Text.Json; using System.Text.Json.Serialization; -#nullable enable - namespace OpenQA.Selenium.BiDi.Communication.Json.Converters; internal class BrowserClientWindowConverter : JsonConverter diff --git a/dotnet/src/webdriver/BiDi/Communication/Json/Converters/BrowserUserContextConverter.cs b/dotnet/src/webdriver/BiDi/Communication/Json/Converters/BrowserUserContextConverter.cs index f114db043cbfa..71acc2b8db4d0 100644 --- a/dotnet/src/webdriver/BiDi/Communication/Json/Converters/BrowserUserContextConverter.cs +++ b/dotnet/src/webdriver/BiDi/Communication/Json/Converters/BrowserUserContextConverter.cs @@ -22,8 +22,6 @@ using System.Text.Json; using System.Text.Json.Serialization; -#nullable enable - namespace OpenQA.Selenium.BiDi.Communication.Json.Converters; internal class BrowserUserContextConverter : JsonConverter diff --git a/dotnet/src/webdriver/BiDi/Communication/Json/Converters/BrowsingContextConverter.cs b/dotnet/src/webdriver/BiDi/Communication/Json/Converters/BrowsingContextConverter.cs index acd6e138f2eb4..c7906e9804484 100644 --- a/dotnet/src/webdriver/BiDi/Communication/Json/Converters/BrowsingContextConverter.cs +++ b/dotnet/src/webdriver/BiDi/Communication/Json/Converters/BrowsingContextConverter.cs @@ -22,8 +22,6 @@ using System.Text.Json; using System.Text.Json.Serialization; -#nullable enable - namespace OpenQA.Selenium.BiDi.Communication.Json.Converters; internal class BrowsingContextConverter : JsonConverter diff --git a/dotnet/src/webdriver/BiDi/Communication/Json/Converters/ChannelConverter.cs b/dotnet/src/webdriver/BiDi/Communication/Json/Converters/ChannelConverter.cs index e04efad9470f9..11f659a4ff739 100644 --- a/dotnet/src/webdriver/BiDi/Communication/Json/Converters/ChannelConverter.cs +++ b/dotnet/src/webdriver/BiDi/Communication/Json/Converters/ChannelConverter.cs @@ -22,8 +22,6 @@ using System.Text.Json; using System.Text.Json.Serialization; -#nullable enable - namespace OpenQA.Selenium.BiDi.Communication.Json.Converters; internal class ChannelConverter : JsonConverter diff --git a/dotnet/src/webdriver/BiDi/Communication/Json/Converters/DateTimeOffsetConverter.cs b/dotnet/src/webdriver/BiDi/Communication/Json/Converters/DateTimeOffsetConverter.cs index 4f35ea067da3f..4ffa57f627bba 100644 --- a/dotnet/src/webdriver/BiDi/Communication/Json/Converters/DateTimeOffsetConverter.cs +++ b/dotnet/src/webdriver/BiDi/Communication/Json/Converters/DateTimeOffsetConverter.cs @@ -21,8 +21,6 @@ using System.Text.Json; using System.Text.Json.Serialization; -#nullable enable - namespace OpenQA.Selenium.BiDi.Communication.Json.Converters; internal class DateTimeOffsetConverter : JsonConverter diff --git a/dotnet/src/webdriver/BiDi/Communication/Json/Converters/Enumerable/GetClientWindowsResultConverter.cs b/dotnet/src/webdriver/BiDi/Communication/Json/Converters/Enumerable/GetClientWindowsResultConverter.cs index b8453d1884fd0..e3bee0238a8e1 100644 --- a/dotnet/src/webdriver/BiDi/Communication/Json/Converters/Enumerable/GetClientWindowsResultConverter.cs +++ b/dotnet/src/webdriver/BiDi/Communication/Json/Converters/Enumerable/GetClientWindowsResultConverter.cs @@ -23,8 +23,6 @@ using System.Text.Json; using System.Text.Json.Serialization; -#nullable enable - namespace OpenQA.Selenium.BiDi.Communication.Json.Converters.Enumerable; internal class GetClientWindowsResultConverter : JsonConverter diff --git a/dotnet/src/webdriver/BiDi/Communication/Json/Converters/Enumerable/GetCookiesResultConverter.cs b/dotnet/src/webdriver/BiDi/Communication/Json/Converters/Enumerable/GetCookiesResultConverter.cs index 28a6ee03d74c3..48c4fcd83f75d 100644 --- a/dotnet/src/webdriver/BiDi/Communication/Json/Converters/Enumerable/GetCookiesResultConverter.cs +++ b/dotnet/src/webdriver/BiDi/Communication/Json/Converters/Enumerable/GetCookiesResultConverter.cs @@ -23,8 +23,6 @@ using System.Text.Json; using System.Text.Json.Serialization; -#nullable enable - namespace OpenQA.Selenium.BiDi.Communication.Json.Converters.Enumerable; internal class GetCookiesResultConverter : JsonConverter diff --git a/dotnet/src/webdriver/BiDi/Communication/Json/Converters/Enumerable/GetRealmsResultConverter.cs b/dotnet/src/webdriver/BiDi/Communication/Json/Converters/Enumerable/GetRealmsResultConverter.cs index f37d3c996de3c..069628d4f0776 100644 --- a/dotnet/src/webdriver/BiDi/Communication/Json/Converters/Enumerable/GetRealmsResultConverter.cs +++ b/dotnet/src/webdriver/BiDi/Communication/Json/Converters/Enumerable/GetRealmsResultConverter.cs @@ -23,8 +23,6 @@ using System.Text.Json; using System.Text.Json.Serialization; -#nullable enable - namespace OpenQA.Selenium.BiDi.Communication.Json.Converters.Enumerable; internal class GetRealmsResultConverter : JsonConverter diff --git a/dotnet/src/webdriver/BiDi/Communication/Json/Converters/Enumerable/GetUserContextsResultConverter.cs b/dotnet/src/webdriver/BiDi/Communication/Json/Converters/Enumerable/GetUserContextsResultConverter.cs index ec3aca43e29ed..02b22c2e82a02 100644 --- a/dotnet/src/webdriver/BiDi/Communication/Json/Converters/Enumerable/GetUserContextsResultConverter.cs +++ b/dotnet/src/webdriver/BiDi/Communication/Json/Converters/Enumerable/GetUserContextsResultConverter.cs @@ -23,8 +23,6 @@ using System.Text.Json; using System.Text.Json.Serialization; -#nullable enable - namespace OpenQA.Selenium.BiDi.Communication.Json.Converters.Enumerable; internal class GetUserContextsResultConverter : JsonConverter diff --git a/dotnet/src/webdriver/BiDi/Communication/Json/Converters/Enumerable/InputSourceActionsConverter.cs b/dotnet/src/webdriver/BiDi/Communication/Json/Converters/Enumerable/InputSourceActionsConverter.cs index 65029e0804806..f66ff5e9c6ed9 100644 --- a/dotnet/src/webdriver/BiDi/Communication/Json/Converters/Enumerable/InputSourceActionsConverter.cs +++ b/dotnet/src/webdriver/BiDi/Communication/Json/Converters/Enumerable/InputSourceActionsConverter.cs @@ -23,8 +23,6 @@ using System.Text.Json; using System.Text.Json.Serialization; -#nullable enable - namespace OpenQA.Selenium.BiDi.Communication.Json.Converters.Enumerable; internal class InputSourceActionsConverter : JsonConverter diff --git a/dotnet/src/webdriver/BiDi/Communication/Json/Converters/Enumerable/LocateNodesResultConverter.cs b/dotnet/src/webdriver/BiDi/Communication/Json/Converters/Enumerable/LocateNodesResultConverter.cs index 68c038a263cd4..027575d31acf1 100644 --- a/dotnet/src/webdriver/BiDi/Communication/Json/Converters/Enumerable/LocateNodesResultConverter.cs +++ b/dotnet/src/webdriver/BiDi/Communication/Json/Converters/Enumerable/LocateNodesResultConverter.cs @@ -24,8 +24,6 @@ using System.Text.Json; using System.Text.Json.Serialization; -#nullable enable - namespace OpenQA.Selenium.BiDi.Communication.Json.Converters.Enumerable; internal class LocateNodesResultConverter : JsonConverter diff --git a/dotnet/src/webdriver/BiDi/Communication/Json/Converters/HandleConverter.cs b/dotnet/src/webdriver/BiDi/Communication/Json/Converters/HandleConverter.cs index 605c56d53d21f..f57f4d4d73d3c 100644 --- a/dotnet/src/webdriver/BiDi/Communication/Json/Converters/HandleConverter.cs +++ b/dotnet/src/webdriver/BiDi/Communication/Json/Converters/HandleConverter.cs @@ -22,8 +22,6 @@ using System.Text.Json; using System.Text.Json.Serialization; -#nullable enable - namespace OpenQA.Selenium.BiDi.Communication.Json.Converters; internal class HandleConverter : JsonConverter diff --git a/dotnet/src/webdriver/BiDi/Communication/Json/Converters/InputOriginConverter.cs b/dotnet/src/webdriver/BiDi/Communication/Json/Converters/InputOriginConverter.cs index f87f24e5ecc59..997fc7b5a6d43 100644 --- a/dotnet/src/webdriver/BiDi/Communication/Json/Converters/InputOriginConverter.cs +++ b/dotnet/src/webdriver/BiDi/Communication/Json/Converters/InputOriginConverter.cs @@ -22,8 +22,6 @@ using System.Text.Json; using System.Text.Json.Serialization; -#nullable enable - namespace OpenQA.Selenium.BiDi.Communication.Json.Converters; internal class InputOriginConverter : JsonConverter diff --git a/dotnet/src/webdriver/BiDi/Communication/Json/Converters/InterceptConverter.cs b/dotnet/src/webdriver/BiDi/Communication/Json/Converters/InterceptConverter.cs index 6e9f827070b42..d182c00b390a4 100644 --- a/dotnet/src/webdriver/BiDi/Communication/Json/Converters/InterceptConverter.cs +++ b/dotnet/src/webdriver/BiDi/Communication/Json/Converters/InterceptConverter.cs @@ -22,8 +22,6 @@ using System.Text.Json; using System.Text.Json.Serialization; -#nullable enable - namespace OpenQA.Selenium.BiDi.Communication.Json.Converters; internal class InterceptConverter : JsonConverter diff --git a/dotnet/src/webdriver/BiDi/Communication/Json/Converters/InternalIdConverter.cs b/dotnet/src/webdriver/BiDi/Communication/Json/Converters/InternalIdConverter.cs index 619fee5a9627a..412d4575b6cd4 100644 --- a/dotnet/src/webdriver/BiDi/Communication/Json/Converters/InternalIdConverter.cs +++ b/dotnet/src/webdriver/BiDi/Communication/Json/Converters/InternalIdConverter.cs @@ -22,8 +22,6 @@ using System.Text.Json; using System.Text.Json.Serialization; -#nullable enable - namespace OpenQA.Selenium.BiDi.Communication.Json.Converters; internal class InternalIdConverter : JsonConverter diff --git a/dotnet/src/webdriver/BiDi/Communication/Json/Converters/NavigationConverter.cs b/dotnet/src/webdriver/BiDi/Communication/Json/Converters/NavigationConverter.cs index b2c273b7e1930..006671f6a0eba 100644 --- a/dotnet/src/webdriver/BiDi/Communication/Json/Converters/NavigationConverter.cs +++ b/dotnet/src/webdriver/BiDi/Communication/Json/Converters/NavigationConverter.cs @@ -22,8 +22,6 @@ using System.Text.Json; using System.Text.Json.Serialization; -#nullable enable - namespace OpenQA.Selenium.BiDi.Communication.Json.Converters; internal class NavigationConverter : JsonConverter diff --git a/dotnet/src/webdriver/BiDi/Communication/Json/Converters/Polymorphic/EvaluateResultConverter.cs b/dotnet/src/webdriver/BiDi/Communication/Json/Converters/Polymorphic/EvaluateResultConverter.cs index a55efb42a6947..0aa560798cf87 100644 --- a/dotnet/src/webdriver/BiDi/Communication/Json/Converters/Polymorphic/EvaluateResultConverter.cs +++ b/dotnet/src/webdriver/BiDi/Communication/Json/Converters/Polymorphic/EvaluateResultConverter.cs @@ -22,8 +22,6 @@ using System.Text.Json; using System.Text.Json.Serialization; -#nullable enable - namespace OpenQA.Selenium.BiDi.Communication.Json.Converters.Polymorphic; // https://github.com/dotnet/runtime/issues/72604 diff --git a/dotnet/src/webdriver/BiDi/Communication/Json/Converters/Polymorphic/LogEntryConverter.cs b/dotnet/src/webdriver/BiDi/Communication/Json/Converters/Polymorphic/LogEntryConverter.cs index 71109276d1e59..e573ea57df0fe 100644 --- a/dotnet/src/webdriver/BiDi/Communication/Json/Converters/Polymorphic/LogEntryConverter.cs +++ b/dotnet/src/webdriver/BiDi/Communication/Json/Converters/Polymorphic/LogEntryConverter.cs @@ -22,8 +22,6 @@ using System.Text.Json; using System.Text.Json.Serialization; -#nullable enable - namespace OpenQA.Selenium.BiDi.Communication.Json.Converters.Polymorphic; // https://github.com/dotnet/runtime/issues/72604 diff --git a/dotnet/src/webdriver/BiDi/Communication/Json/Converters/Polymorphic/MessageConverter.cs b/dotnet/src/webdriver/BiDi/Communication/Json/Converters/Polymorphic/MessageConverter.cs index 997134a479fe8..8e10f9b0565d9 100644 --- a/dotnet/src/webdriver/BiDi/Communication/Json/Converters/Polymorphic/MessageConverter.cs +++ b/dotnet/src/webdriver/BiDi/Communication/Json/Converters/Polymorphic/MessageConverter.cs @@ -21,8 +21,6 @@ using System.Text.Json; using System.Text.Json.Serialization; -#nullable enable - namespace OpenQA.Selenium.BiDi.Communication.Json.Converters.Polymorphic; // https://github.com/dotnet/runtime/issues/72604 diff --git a/dotnet/src/webdriver/BiDi/Communication/Json/Converters/Polymorphic/RealmInfoConverter.cs b/dotnet/src/webdriver/BiDi/Communication/Json/Converters/Polymorphic/RealmInfoConverter.cs index 9bf3935bfd7ff..a916fd3734d5a 100644 --- a/dotnet/src/webdriver/BiDi/Communication/Json/Converters/Polymorphic/RealmInfoConverter.cs +++ b/dotnet/src/webdriver/BiDi/Communication/Json/Converters/Polymorphic/RealmInfoConverter.cs @@ -22,8 +22,6 @@ using System.Text.Json; using System.Text.Json.Serialization; -#nullable enable - namespace OpenQA.Selenium.BiDi.Communication.Json.Converters.Polymorphic; // https://github.com/dotnet/runtime/issues/72604 diff --git a/dotnet/src/webdriver/BiDi/Communication/Json/Converters/Polymorphic/RemoteValueConverter.cs b/dotnet/src/webdriver/BiDi/Communication/Json/Converters/Polymorphic/RemoteValueConverter.cs index a7cbb71c19764..88539ce7b55fd 100644 --- a/dotnet/src/webdriver/BiDi/Communication/Json/Converters/Polymorphic/RemoteValueConverter.cs +++ b/dotnet/src/webdriver/BiDi/Communication/Json/Converters/Polymorphic/RemoteValueConverter.cs @@ -22,8 +22,6 @@ using System.Text.Json; using System.Text.Json.Serialization; -#nullable enable - namespace OpenQA.Selenium.BiDi.Communication.Json.Converters.Polymorphic; // https://github.com/dotnet/runtime/issues/72604 diff --git a/dotnet/src/webdriver/BiDi/Communication/Json/Converters/PreloadScriptConverter.cs b/dotnet/src/webdriver/BiDi/Communication/Json/Converters/PreloadScriptConverter.cs index 2975648df6da6..47632238b307c 100644 --- a/dotnet/src/webdriver/BiDi/Communication/Json/Converters/PreloadScriptConverter.cs +++ b/dotnet/src/webdriver/BiDi/Communication/Json/Converters/PreloadScriptConverter.cs @@ -22,8 +22,6 @@ using System.Text.Json; using System.Text.Json.Serialization; -#nullable enable - namespace OpenQA.Selenium.BiDi.Communication.Json.Converters; internal class PreloadScriptConverter : JsonConverter diff --git a/dotnet/src/webdriver/BiDi/Communication/Json/Converters/PrintPageRangeConverter.cs b/dotnet/src/webdriver/BiDi/Communication/Json/Converters/PrintPageRangeConverter.cs index 69f39234015a8..009984cd90919 100644 --- a/dotnet/src/webdriver/BiDi/Communication/Json/Converters/PrintPageRangeConverter.cs +++ b/dotnet/src/webdriver/BiDi/Communication/Json/Converters/PrintPageRangeConverter.cs @@ -22,8 +22,6 @@ using System.Text.Json; using System.Text.Json.Serialization; -#nullable enable - namespace OpenQA.Selenium.BiDi.Communication.Json.Converters; internal class PrintPageRangeConverter : JsonConverter diff --git a/dotnet/src/webdriver/BiDi/Communication/Json/Converters/RealmConverter.cs b/dotnet/src/webdriver/BiDi/Communication/Json/Converters/RealmConverter.cs index 014e576f29cde..4b7f348124fc0 100644 --- a/dotnet/src/webdriver/BiDi/Communication/Json/Converters/RealmConverter.cs +++ b/dotnet/src/webdriver/BiDi/Communication/Json/Converters/RealmConverter.cs @@ -22,8 +22,6 @@ using System.Text.Json; using System.Text.Json.Serialization; -#nullable enable - namespace OpenQA.Selenium.BiDi.Communication.Json.Converters; internal class RealmConverter : JsonConverter diff --git a/dotnet/src/webdriver/BiDi/Communication/Json/Converters/RealmTypeConverter.cs b/dotnet/src/webdriver/BiDi/Communication/Json/Converters/RealmTypeConverter.cs index 48dafd44d6631..560cb255629c9 100644 --- a/dotnet/src/webdriver/BiDi/Communication/Json/Converters/RealmTypeConverter.cs +++ b/dotnet/src/webdriver/BiDi/Communication/Json/Converters/RealmTypeConverter.cs @@ -22,8 +22,6 @@ using System.Text.Json; using System.Text.Json.Serialization; -#nullable enable - namespace OpenQA.Selenium.BiDi.Communication.Json.Converters; internal class RealmTypeConverter : JsonConverter diff --git a/dotnet/src/webdriver/BiDi/Communication/Json/Converters/RequestConverter.cs b/dotnet/src/webdriver/BiDi/Communication/Json/Converters/RequestConverter.cs index 26c822be325f5..308bed6db76db 100644 --- a/dotnet/src/webdriver/BiDi/Communication/Json/Converters/RequestConverter.cs +++ b/dotnet/src/webdriver/BiDi/Communication/Json/Converters/RequestConverter.cs @@ -22,8 +22,6 @@ using System.Text.Json; using System.Text.Json.Serialization; -#nullable enable - namespace OpenQA.Selenium.BiDi.Communication.Json.Converters; internal class RequestConverter : JsonConverter diff --git a/dotnet/src/webdriver/BiDi/Communication/Json/Converters/SubscriptionConverter.cs b/dotnet/src/webdriver/BiDi/Communication/Json/Converters/SubscriptionConverter.cs index 606f2a86a85e3..cc7157d48c465 100644 --- a/dotnet/src/webdriver/BiDi/Communication/Json/Converters/SubscriptionConverter.cs +++ b/dotnet/src/webdriver/BiDi/Communication/Json/Converters/SubscriptionConverter.cs @@ -21,8 +21,6 @@ using System.Text.Json; using System.Text.Json.Serialization; -#nullable enable - namespace OpenQA.Selenium.BiDi.Communication.Json.Converters; internal class SubscriptionConverter : JsonConverter diff --git a/dotnet/src/webdriver/BiDi/Communication/Message.cs b/dotnet/src/webdriver/BiDi/Communication/Message.cs index 86c12a9dff9ca..fc8c2020ffe8a 100644 --- a/dotnet/src/webdriver/BiDi/Communication/Message.cs +++ b/dotnet/src/webdriver/BiDi/Communication/Message.cs @@ -19,8 +19,6 @@ using System.Text.Json; -#nullable enable - namespace OpenQA.Selenium.BiDi.Communication; // https://github.com/dotnet/runtime/issues/72604 diff --git a/dotnet/src/webdriver/BiDi/Communication/Transport/ITransport.cs b/dotnet/src/webdriver/BiDi/Communication/Transport/ITransport.cs index 9bd25774ba846..c47a3aaad38eb 100644 --- a/dotnet/src/webdriver/BiDi/Communication/Transport/ITransport.cs +++ b/dotnet/src/webdriver/BiDi/Communication/Transport/ITransport.cs @@ -21,8 +21,6 @@ using System.Threading; using System; -#nullable enable - namespace OpenQA.Selenium.BiDi.Communication.Transport; interface ITransport : IDisposable diff --git a/dotnet/src/webdriver/BiDi/Communication/Transport/WebSocketTransport.cs b/dotnet/src/webdriver/BiDi/Communication/Transport/WebSocketTransport.cs index 803881bfbb505..d2c017a9343ec 100644 --- a/dotnet/src/webdriver/BiDi/Communication/Transport/WebSocketTransport.cs +++ b/dotnet/src/webdriver/BiDi/Communication/Transport/WebSocketTransport.cs @@ -25,8 +25,6 @@ using System.Text; using OpenQA.Selenium.Internal.Logging; -#nullable enable - namespace OpenQA.Selenium.BiDi.Communication.Transport; class WebSocketTransport(Uri _uri) : ITransport, IDisposable diff --git a/dotnet/src/webdriver/BiDi/EventArgs.cs b/dotnet/src/webdriver/BiDi/EventArgs.cs index 05fcc21d08dde..5bd9fc9a3ba98 100644 --- a/dotnet/src/webdriver/BiDi/EventArgs.cs +++ b/dotnet/src/webdriver/BiDi/EventArgs.cs @@ -20,8 +20,6 @@ using OpenQA.Selenium.BiDi.Modules.BrowsingContext; using System.Text.Json.Serialization; -#nullable enable - namespace OpenQA.Selenium.BiDi; public abstract record EventArgs(BiDi BiDi) diff --git a/dotnet/src/webdriver/BiDi/Modules/Browser/BrowserModule.cs b/dotnet/src/webdriver/BiDi/Modules/Browser/BrowserModule.cs index 31bd62fb754f7..822fbe26ae33d 100644 --- a/dotnet/src/webdriver/BiDi/Modules/Browser/BrowserModule.cs +++ b/dotnet/src/webdriver/BiDi/Modules/Browser/BrowserModule.cs @@ -21,8 +21,6 @@ using System.Threading.Tasks; using OpenQA.Selenium.BiDi.Communication; -#nullable enable - namespace OpenQA.Selenium.BiDi.Modules.Browser; public sealed class BrowserModule(Broker broker) : Module(broker) diff --git a/dotnet/src/webdriver/BiDi/Modules/Browser/ClientWindow.cs b/dotnet/src/webdriver/BiDi/Modules/Browser/ClientWindow.cs index 3d7fe15e77ad3..fe80e23374bd3 100644 --- a/dotnet/src/webdriver/BiDi/Modules/Browser/ClientWindow.cs +++ b/dotnet/src/webdriver/BiDi/Modules/Browser/ClientWindow.cs @@ -17,8 +17,6 @@ // under the License. // -#nullable enable - namespace OpenQA.Selenium.BiDi.Modules.Browser; public record ClientWindow diff --git a/dotnet/src/webdriver/BiDi/Modules/Browser/ClientWindowInfo.cs b/dotnet/src/webdriver/BiDi/Modules/Browser/ClientWindowInfo.cs index 190897a67e4bb..c5f123048e983 100644 --- a/dotnet/src/webdriver/BiDi/Modules/Browser/ClientWindowInfo.cs +++ b/dotnet/src/webdriver/BiDi/Modules/Browser/ClientWindowInfo.cs @@ -17,8 +17,6 @@ // under the License. // -#nullable enable - using System.Text.Json.Serialization; namespace OpenQA.Selenium.BiDi.Modules.Browser; diff --git a/dotnet/src/webdriver/BiDi/Modules/Browser/CloseCommand.cs b/dotnet/src/webdriver/BiDi/Modules/Browser/CloseCommand.cs index 3ab63b72420a1..528c96afa20ed 100644 --- a/dotnet/src/webdriver/BiDi/Modules/Browser/CloseCommand.cs +++ b/dotnet/src/webdriver/BiDi/Modules/Browser/CloseCommand.cs @@ -19,8 +19,6 @@ using OpenQA.Selenium.BiDi.Communication; -#nullable enable - namespace OpenQA.Selenium.BiDi.Modules.Browser; internal class CloseCommand() diff --git a/dotnet/src/webdriver/BiDi/Modules/Browser/CreateUserContextCommand.cs b/dotnet/src/webdriver/BiDi/Modules/Browser/CreateUserContextCommand.cs index 9ef8605373c8c..9b30c91626c3f 100644 --- a/dotnet/src/webdriver/BiDi/Modules/Browser/CreateUserContextCommand.cs +++ b/dotnet/src/webdriver/BiDi/Modules/Browser/CreateUserContextCommand.cs @@ -19,8 +19,6 @@ using OpenQA.Selenium.BiDi.Communication; -#nullable enable - namespace OpenQA.Selenium.BiDi.Modules.Browser; internal class CreateUserContextCommand() diff --git a/dotnet/src/webdriver/BiDi/Modules/Browser/GetClientWindowsCommand.cs b/dotnet/src/webdriver/BiDi/Modules/Browser/GetClientWindowsCommand.cs index f302a787e4388..432457c85bb61 100644 --- a/dotnet/src/webdriver/BiDi/Modules/Browser/GetClientWindowsCommand.cs +++ b/dotnet/src/webdriver/BiDi/Modules/Browser/GetClientWindowsCommand.cs @@ -21,8 +21,6 @@ using System.Collections; using System.Collections.Generic; -#nullable enable - namespace OpenQA.Selenium.BiDi.Modules.Browser; internal class GetClientWindowsCommand() diff --git a/dotnet/src/webdriver/BiDi/Modules/Browser/GetUserContextsCommand.cs b/dotnet/src/webdriver/BiDi/Modules/Browser/GetUserContextsCommand.cs index 1dba499137f9e..e9185b2308634 100644 --- a/dotnet/src/webdriver/BiDi/Modules/Browser/GetUserContextsCommand.cs +++ b/dotnet/src/webdriver/BiDi/Modules/Browser/GetUserContextsCommand.cs @@ -21,8 +21,6 @@ using System.Collections; using System.Collections.Generic; -#nullable enable - namespace OpenQA.Selenium.BiDi.Modules.Browser; internal class GetUserContextsCommand() diff --git a/dotnet/src/webdriver/BiDi/Modules/Browser/RemoveUserContextCommand.cs b/dotnet/src/webdriver/BiDi/Modules/Browser/RemoveUserContextCommand.cs index 4c5f92a01e09e..67a99e4f1e72d 100644 --- a/dotnet/src/webdriver/BiDi/Modules/Browser/RemoveUserContextCommand.cs +++ b/dotnet/src/webdriver/BiDi/Modules/Browser/RemoveUserContextCommand.cs @@ -19,8 +19,6 @@ using OpenQA.Selenium.BiDi.Communication; -#nullable enable - namespace OpenQA.Selenium.BiDi.Modules.Browser; internal class RemoveUserContextCommand(RemoveUserContextCommandParameters @params) diff --git a/dotnet/src/webdriver/BiDi/Modules/Browser/UserContext.cs b/dotnet/src/webdriver/BiDi/Modules/Browser/UserContext.cs index b9dcbe660878d..ad00ef278a20c 100644 --- a/dotnet/src/webdriver/BiDi/Modules/Browser/UserContext.cs +++ b/dotnet/src/webdriver/BiDi/Modules/Browser/UserContext.cs @@ -20,8 +20,6 @@ using System; using System.Threading.Tasks; -#nullable enable - namespace OpenQA.Selenium.BiDi.Modules.Browser; public class UserContext : IAsyncDisposable diff --git a/dotnet/src/webdriver/BiDi/Modules/Browser/UserContextInfo.cs b/dotnet/src/webdriver/BiDi/Modules/Browser/UserContextInfo.cs index 51587a84fe549..06fd45edf188c 100644 --- a/dotnet/src/webdriver/BiDi/Modules/Browser/UserContextInfo.cs +++ b/dotnet/src/webdriver/BiDi/Modules/Browser/UserContextInfo.cs @@ -17,8 +17,6 @@ // under the License. // -#nullable enable - namespace OpenQA.Selenium.BiDi.Modules.Browser; public record UserContextInfo(UserContext UserContext); diff --git a/dotnet/src/webdriver/BiDi/Modules/BrowsingContext/ActivateCommand.cs b/dotnet/src/webdriver/BiDi/Modules/BrowsingContext/ActivateCommand.cs index 70979eaf8e066..c8d036e182e47 100644 --- a/dotnet/src/webdriver/BiDi/Modules/BrowsingContext/ActivateCommand.cs +++ b/dotnet/src/webdriver/BiDi/Modules/BrowsingContext/ActivateCommand.cs @@ -19,8 +19,6 @@ using OpenQA.Selenium.BiDi.Communication; -#nullable enable - namespace OpenQA.Selenium.BiDi.Modules.BrowsingContext; internal class ActivateCommand(ActivateCommandParameters @params) diff --git a/dotnet/src/webdriver/BiDi/Modules/BrowsingContext/BrowsingContext.cs b/dotnet/src/webdriver/BiDi/Modules/BrowsingContext/BrowsingContext.cs index 542791604be11..0313af37afd73 100644 --- a/dotnet/src/webdriver/BiDi/Modules/BrowsingContext/BrowsingContext.cs +++ b/dotnet/src/webdriver/BiDi/Modules/BrowsingContext/BrowsingContext.cs @@ -21,8 +21,6 @@ using System.Threading.Tasks; using System; -#nullable enable - namespace OpenQA.Selenium.BiDi.Modules.BrowsingContext; public class BrowsingContext diff --git a/dotnet/src/webdriver/BiDi/Modules/BrowsingContext/BrowsingContextInfo.cs b/dotnet/src/webdriver/BiDi/Modules/BrowsingContext/BrowsingContextInfo.cs index adc744bdf4776..7b42bc9f677a0 100644 --- a/dotnet/src/webdriver/BiDi/Modules/BrowsingContext/BrowsingContextInfo.cs +++ b/dotnet/src/webdriver/BiDi/Modules/BrowsingContext/BrowsingContextInfo.cs @@ -20,8 +20,6 @@ using System.Collections.Generic; using System.Text.Json.Serialization; -#nullable enable - namespace OpenQA.Selenium.BiDi.Modules.BrowsingContext; // TODO: Split it to separate class with just info and event args diff --git a/dotnet/src/webdriver/BiDi/Modules/BrowsingContext/BrowsingContextInputModule.cs b/dotnet/src/webdriver/BiDi/Modules/BrowsingContext/BrowsingContextInputModule.cs index 8fce48d3f1b1e..2c62bc268c008 100644 --- a/dotnet/src/webdriver/BiDi/Modules/BrowsingContext/BrowsingContextInputModule.cs +++ b/dotnet/src/webdriver/BiDi/Modules/BrowsingContext/BrowsingContextInputModule.cs @@ -21,8 +21,6 @@ using OpenQA.Selenium.BiDi.Modules.Input; using System.Collections.Generic; -#nullable enable - namespace OpenQA.Selenium.BiDi.Modules.BrowsingContext; public class BrowsingContextInputModule(BrowsingContext context, InputModule inputModule) diff --git a/dotnet/src/webdriver/BiDi/Modules/BrowsingContext/BrowsingContextLogModule.cs b/dotnet/src/webdriver/BiDi/Modules/BrowsingContext/BrowsingContextLogModule.cs index f59ca9ef69622..026e2dfd496e6 100644 --- a/dotnet/src/webdriver/BiDi/Modules/BrowsingContext/BrowsingContextLogModule.cs +++ b/dotnet/src/webdriver/BiDi/Modules/BrowsingContext/BrowsingContextLogModule.cs @@ -21,8 +21,6 @@ using System.Threading.Tasks; using System; -#nullable enable - namespace OpenQA.Selenium.BiDi.Modules.BrowsingContext; public class BrowsingContextLogModule(BrowsingContext context, LogModule logModule) diff --git a/dotnet/src/webdriver/BiDi/Modules/BrowsingContext/BrowsingContextModule.cs b/dotnet/src/webdriver/BiDi/Modules/BrowsingContext/BrowsingContextModule.cs index 43e470c13ce1b..369325323bd11 100644 --- a/dotnet/src/webdriver/BiDi/Modules/BrowsingContext/BrowsingContextModule.cs +++ b/dotnet/src/webdriver/BiDi/Modules/BrowsingContext/BrowsingContextModule.cs @@ -22,8 +22,6 @@ using System.Threading.Tasks; using OpenQA.Selenium.BiDi.Communication; -#nullable enable - namespace OpenQA.Selenium.BiDi.Modules.BrowsingContext; public class BrowsingContextModule(Broker broker) : Module(broker) diff --git a/dotnet/src/webdriver/BiDi/Modules/BrowsingContext/BrowsingContextNetworkModule.cs b/dotnet/src/webdriver/BiDi/Modules/BrowsingContext/BrowsingContextNetworkModule.cs index 117e662a208b4..5c45c841f697e 100644 --- a/dotnet/src/webdriver/BiDi/Modules/BrowsingContext/BrowsingContextNetworkModule.cs +++ b/dotnet/src/webdriver/BiDi/Modules/BrowsingContext/BrowsingContextNetworkModule.cs @@ -21,8 +21,6 @@ using System; using OpenQA.Selenium.BiDi.Modules.Network; -#nullable enable - namespace OpenQA.Selenium.BiDi.Modules.BrowsingContext; public class BrowsingContextNetworkModule(BrowsingContext context, NetworkModule networkModule) diff --git a/dotnet/src/webdriver/BiDi/Modules/BrowsingContext/BrowsingContextScriptModule.cs b/dotnet/src/webdriver/BiDi/Modules/BrowsingContext/BrowsingContextScriptModule.cs index 488884111ad43..4a30a3a25a14d 100644 --- a/dotnet/src/webdriver/BiDi/Modules/BrowsingContext/BrowsingContextScriptModule.cs +++ b/dotnet/src/webdriver/BiDi/Modules/BrowsingContext/BrowsingContextScriptModule.cs @@ -21,8 +21,6 @@ using OpenQA.Selenium.BiDi.Modules.Script; using System.Collections.Generic; -#nullable enable - namespace OpenQA.Selenium.BiDi.Modules.BrowsingContext; public class BrowsingContextScriptModule(BrowsingContext context, ScriptModule scriptModule) diff --git a/dotnet/src/webdriver/BiDi/Modules/BrowsingContext/BrowsingContextStorageModule.cs b/dotnet/src/webdriver/BiDi/Modules/BrowsingContext/BrowsingContextStorageModule.cs index d420dc4211351..3c2dd4d641a5a 100644 --- a/dotnet/src/webdriver/BiDi/Modules/BrowsingContext/BrowsingContextStorageModule.cs +++ b/dotnet/src/webdriver/BiDi/Modules/BrowsingContext/BrowsingContextStorageModule.cs @@ -20,8 +20,6 @@ using System.Threading.Tasks; using OpenQA.Selenium.BiDi.Modules.Storage; -#nullable enable - namespace OpenQA.Selenium.BiDi.Modules.BrowsingContext; public class BrowsingContextStorageModule(BrowsingContext context, StorageModule storageModule) diff --git a/dotnet/src/webdriver/BiDi/Modules/BrowsingContext/CaptureScreenshotCommand.cs b/dotnet/src/webdriver/BiDi/Modules/BrowsingContext/CaptureScreenshotCommand.cs index 242bfb0f0534c..328644b8ed82b 100644 --- a/dotnet/src/webdriver/BiDi/Modules/BrowsingContext/CaptureScreenshotCommand.cs +++ b/dotnet/src/webdriver/BiDi/Modules/BrowsingContext/CaptureScreenshotCommand.cs @@ -20,8 +20,6 @@ using OpenQA.Selenium.BiDi.Communication; using System.Text.Json.Serialization; -#nullable enable - namespace OpenQA.Selenium.BiDi.Modules.BrowsingContext; internal class CaptureScreenshotCommand(CaptureScreenshotCommandParameters @params) diff --git a/dotnet/src/webdriver/BiDi/Modules/BrowsingContext/CloseCommand.cs b/dotnet/src/webdriver/BiDi/Modules/BrowsingContext/CloseCommand.cs index 2561401a75dec..474f611af76c8 100644 --- a/dotnet/src/webdriver/BiDi/Modules/BrowsingContext/CloseCommand.cs +++ b/dotnet/src/webdriver/BiDi/Modules/BrowsingContext/CloseCommand.cs @@ -19,8 +19,6 @@ using OpenQA.Selenium.BiDi.Communication; -#nullable enable - namespace OpenQA.Selenium.BiDi.Modules.BrowsingContext; internal class CloseCommand(CloseCommandParameters @params) diff --git a/dotnet/src/webdriver/BiDi/Modules/BrowsingContext/CreateCommand.cs b/dotnet/src/webdriver/BiDi/Modules/BrowsingContext/CreateCommand.cs index fc0e95f9f52a4..ade319e27390c 100644 --- a/dotnet/src/webdriver/BiDi/Modules/BrowsingContext/CreateCommand.cs +++ b/dotnet/src/webdriver/BiDi/Modules/BrowsingContext/CreateCommand.cs @@ -19,8 +19,6 @@ using OpenQA.Selenium.BiDi.Communication; -#nullable enable - namespace OpenQA.Selenium.BiDi.Modules.BrowsingContext; internal class CreateCommand(CreateCommandParameters @params) diff --git a/dotnet/src/webdriver/BiDi/Modules/BrowsingContext/GetTreeCommand.cs b/dotnet/src/webdriver/BiDi/Modules/BrowsingContext/GetTreeCommand.cs index d226f57588cb0..dd95a6bd5f9d6 100644 --- a/dotnet/src/webdriver/BiDi/Modules/BrowsingContext/GetTreeCommand.cs +++ b/dotnet/src/webdriver/BiDi/Modules/BrowsingContext/GetTreeCommand.cs @@ -20,8 +20,6 @@ using OpenQA.Selenium.BiDi.Communication; using System.Collections.Generic; -#nullable enable - namespace OpenQA.Selenium.BiDi.Modules.BrowsingContext; internal class GetTreeCommand(GetTreeCommandParameters @params) diff --git a/dotnet/src/webdriver/BiDi/Modules/BrowsingContext/HandleUserPromptCommand.cs b/dotnet/src/webdriver/BiDi/Modules/BrowsingContext/HandleUserPromptCommand.cs index acd09150d7ca9..01de5c8adca9b 100644 --- a/dotnet/src/webdriver/BiDi/Modules/BrowsingContext/HandleUserPromptCommand.cs +++ b/dotnet/src/webdriver/BiDi/Modules/BrowsingContext/HandleUserPromptCommand.cs @@ -19,8 +19,6 @@ using OpenQA.Selenium.BiDi.Communication; -#nullable enable - namespace OpenQA.Selenium.BiDi.Modules.BrowsingContext; class HandleUserPromptCommand(HandleUserPromptCommandParameters @params) diff --git a/dotnet/src/webdriver/BiDi/Modules/BrowsingContext/LocateNodesCommand.cs b/dotnet/src/webdriver/BiDi/Modules/BrowsingContext/LocateNodesCommand.cs index 0093bc10f45ac..fdc7e29b7b04c 100644 --- a/dotnet/src/webdriver/BiDi/Modules/BrowsingContext/LocateNodesCommand.cs +++ b/dotnet/src/webdriver/BiDi/Modules/BrowsingContext/LocateNodesCommand.cs @@ -21,8 +21,6 @@ using System.Collections; using System.Collections.Generic; -#nullable enable - namespace OpenQA.Selenium.BiDi.Modules.BrowsingContext; internal class LocateNodesCommand(LocateNodesCommandParameters @params) diff --git a/dotnet/src/webdriver/BiDi/Modules/BrowsingContext/Locator.cs b/dotnet/src/webdriver/BiDi/Modules/BrowsingContext/Locator.cs index 4296d612fedd3..d026bc9933034 100644 --- a/dotnet/src/webdriver/BiDi/Modules/BrowsingContext/Locator.cs +++ b/dotnet/src/webdriver/BiDi/Modules/BrowsingContext/Locator.cs @@ -19,8 +19,6 @@ using System.Text.Json.Serialization; -#nullable enable - namespace OpenQA.Selenium.BiDi.Modules.BrowsingContext; [JsonPolymorphic(TypeDiscriminatorPropertyName = "type")] diff --git a/dotnet/src/webdriver/BiDi/Modules/BrowsingContext/NavigateCommand.cs b/dotnet/src/webdriver/BiDi/Modules/BrowsingContext/NavigateCommand.cs index 6aea4eb9ce521..87a2e295c8c8c 100644 --- a/dotnet/src/webdriver/BiDi/Modules/BrowsingContext/NavigateCommand.cs +++ b/dotnet/src/webdriver/BiDi/Modules/BrowsingContext/NavigateCommand.cs @@ -19,8 +19,6 @@ using OpenQA.Selenium.BiDi.Communication; -#nullable enable - namespace OpenQA.Selenium.BiDi.Modules.BrowsingContext; internal class NavigateCommand(NavigateCommandParameters @params) diff --git a/dotnet/src/webdriver/BiDi/Modules/BrowsingContext/Navigation.cs b/dotnet/src/webdriver/BiDi/Modules/BrowsingContext/Navigation.cs index a25d8db11a012..04784f995ea36 100644 --- a/dotnet/src/webdriver/BiDi/Modules/BrowsingContext/Navigation.cs +++ b/dotnet/src/webdriver/BiDi/Modules/BrowsingContext/Navigation.cs @@ -17,8 +17,6 @@ // under the License. // -#nullable enable - namespace OpenQA.Selenium.BiDi.Modules.BrowsingContext; public record Navigation(string Id); diff --git a/dotnet/src/webdriver/BiDi/Modules/BrowsingContext/NavigationInfo.cs b/dotnet/src/webdriver/BiDi/Modules/BrowsingContext/NavigationInfo.cs index ade3afd497ce7..544618e1f4abe 100644 --- a/dotnet/src/webdriver/BiDi/Modules/BrowsingContext/NavigationInfo.cs +++ b/dotnet/src/webdriver/BiDi/Modules/BrowsingContext/NavigationInfo.cs @@ -19,8 +19,6 @@ using System; -#nullable enable - namespace OpenQA.Selenium.BiDi.Modules.BrowsingContext; public record NavigationInfo(BiDi BiDi, BrowsingContext Context, Navigation Navigation, DateTimeOffset Timestamp, string Url) diff --git a/dotnet/src/webdriver/BiDi/Modules/BrowsingContext/PrintCommand.cs b/dotnet/src/webdriver/BiDi/Modules/BrowsingContext/PrintCommand.cs index f59d1076d9cc4..b3362f59fa139 100644 --- a/dotnet/src/webdriver/BiDi/Modules/BrowsingContext/PrintCommand.cs +++ b/dotnet/src/webdriver/BiDi/Modules/BrowsingContext/PrintCommand.cs @@ -21,8 +21,6 @@ using System; using System.Collections.Generic; -#nullable enable - namespace OpenQA.Selenium.BiDi.Modules.BrowsingContext; internal class PrintCommand(PrintCommandParameters @params) diff --git a/dotnet/src/webdriver/BiDi/Modules/BrowsingContext/ReloadCommand.cs b/dotnet/src/webdriver/BiDi/Modules/BrowsingContext/ReloadCommand.cs index 32de5805269f9..402fbdd05d79d 100644 --- a/dotnet/src/webdriver/BiDi/Modules/BrowsingContext/ReloadCommand.cs +++ b/dotnet/src/webdriver/BiDi/Modules/BrowsingContext/ReloadCommand.cs @@ -19,8 +19,6 @@ using OpenQA.Selenium.BiDi.Communication; -#nullable enable - namespace OpenQA.Selenium.BiDi.Modules.BrowsingContext; internal class ReloadCommand(ReloadCommandParameters @params) diff --git a/dotnet/src/webdriver/BiDi/Modules/BrowsingContext/SetViewportCommand.cs b/dotnet/src/webdriver/BiDi/Modules/BrowsingContext/SetViewportCommand.cs index 23bfef7f3f074..4eba7d458f6db 100644 --- a/dotnet/src/webdriver/BiDi/Modules/BrowsingContext/SetViewportCommand.cs +++ b/dotnet/src/webdriver/BiDi/Modules/BrowsingContext/SetViewportCommand.cs @@ -19,8 +19,6 @@ using OpenQA.Selenium.BiDi.Communication; -#nullable enable - namespace OpenQA.Selenium.BiDi.Modules.BrowsingContext; internal class SetViewportCommand(SetViewportCommandParameters @params) diff --git a/dotnet/src/webdriver/BiDi/Modules/BrowsingContext/TraverseHistoryCommand.cs b/dotnet/src/webdriver/BiDi/Modules/BrowsingContext/TraverseHistoryCommand.cs index 8ba4a6ba98cb4..21b74635fbb72 100644 --- a/dotnet/src/webdriver/BiDi/Modules/BrowsingContext/TraverseHistoryCommand.cs +++ b/dotnet/src/webdriver/BiDi/Modules/BrowsingContext/TraverseHistoryCommand.cs @@ -19,8 +19,6 @@ using OpenQA.Selenium.BiDi.Communication; -#nullable enable - namespace OpenQA.Selenium.BiDi.Modules.BrowsingContext; internal class TraverseHistoryCommand(TraverseHistoryCommandParameters @params) diff --git a/dotnet/src/webdriver/BiDi/Modules/BrowsingContext/UserPromptClosedEventArgs.cs b/dotnet/src/webdriver/BiDi/Modules/BrowsingContext/UserPromptClosedEventArgs.cs index d204a3b1cd78f..cff09c3113b04 100644 --- a/dotnet/src/webdriver/BiDi/Modules/BrowsingContext/UserPromptClosedEventArgs.cs +++ b/dotnet/src/webdriver/BiDi/Modules/BrowsingContext/UserPromptClosedEventArgs.cs @@ -19,8 +19,6 @@ using System.Text.Json.Serialization; -#nullable enable - namespace OpenQA.Selenium.BiDi.Modules.BrowsingContext; public record UserPromptClosedEventArgs(BiDi BiDi, BrowsingContext Context, bool Accepted) diff --git a/dotnet/src/webdriver/BiDi/Modules/BrowsingContext/UserPromptOpenedEventArgs.cs b/dotnet/src/webdriver/BiDi/Modules/BrowsingContext/UserPromptOpenedEventArgs.cs index 18533ab187501..e6b8a1541c0c6 100644 --- a/dotnet/src/webdriver/BiDi/Modules/BrowsingContext/UserPromptOpenedEventArgs.cs +++ b/dotnet/src/webdriver/BiDi/Modules/BrowsingContext/UserPromptOpenedEventArgs.cs @@ -19,8 +19,6 @@ using System.Text.Json.Serialization; -#nullable enable - namespace OpenQA.Selenium.BiDi.Modules.BrowsingContext; public record UserPromptOpenedEventArgs(BiDi BiDi, BrowsingContext Context, UserPromptType Type, string Message) diff --git a/dotnet/src/webdriver/BiDi/Modules/Input/InputModule.cs b/dotnet/src/webdriver/BiDi/Modules/Input/InputModule.cs index 1e02d81f56d99..34a5c87ec320b 100644 --- a/dotnet/src/webdriver/BiDi/Modules/Input/InputModule.cs +++ b/dotnet/src/webdriver/BiDi/Modules/Input/InputModule.cs @@ -21,8 +21,6 @@ using System.Collections.Generic; using System.Threading.Tasks; -#nullable enable - namespace OpenQA.Selenium.BiDi.Modules.Input; public sealed class InputModule(Broker broker) : Module(broker) diff --git a/dotnet/src/webdriver/BiDi/Modules/Input/Origin.cs b/dotnet/src/webdriver/BiDi/Modules/Input/Origin.cs index ad717c9427133..616570662fc65 100644 --- a/dotnet/src/webdriver/BiDi/Modules/Input/Origin.cs +++ b/dotnet/src/webdriver/BiDi/Modules/Input/Origin.cs @@ -19,8 +19,6 @@ using System.Text.Json.Serialization; -#nullable enable - namespace OpenQA.Selenium.BiDi.Modules.Input; public abstract record Origin diff --git a/dotnet/src/webdriver/BiDi/Modules/Input/PerformActionsCommand.cs b/dotnet/src/webdriver/BiDi/Modules/Input/PerformActionsCommand.cs index bde6217fe6ee4..35f4462a78cc5 100644 --- a/dotnet/src/webdriver/BiDi/Modules/Input/PerformActionsCommand.cs +++ b/dotnet/src/webdriver/BiDi/Modules/Input/PerformActionsCommand.cs @@ -20,8 +20,6 @@ using OpenQA.Selenium.BiDi.Communication; using System.Collections.Generic; -#nullable enable - namespace OpenQA.Selenium.BiDi.Modules.Input; internal class PerformActionsCommand(PerformActionsCommandParameters @params) diff --git a/dotnet/src/webdriver/BiDi/Modules/Input/ReleaseActionsCommand.cs b/dotnet/src/webdriver/BiDi/Modules/Input/ReleaseActionsCommand.cs index 8398c0d7d082f..14e0edee4719b 100644 --- a/dotnet/src/webdriver/BiDi/Modules/Input/ReleaseActionsCommand.cs +++ b/dotnet/src/webdriver/BiDi/Modules/Input/ReleaseActionsCommand.cs @@ -19,8 +19,6 @@ using OpenQA.Selenium.BiDi.Communication; -#nullable enable - namespace OpenQA.Selenium.BiDi.Modules.Input; internal class ReleaseActionsCommand(ReleaseActionsCommandParameters @params) diff --git a/dotnet/src/webdriver/BiDi/Modules/Input/SourceActions.cs b/dotnet/src/webdriver/BiDi/Modules/Input/SourceActions.cs index 2bc00f68a5cbb..a078c80fbf3fd 100644 --- a/dotnet/src/webdriver/BiDi/Modules/Input/SourceActions.cs +++ b/dotnet/src/webdriver/BiDi/Modules/Input/SourceActions.cs @@ -22,8 +22,6 @@ using System.Collections.Generic; using System.Text.Json.Serialization; -#nullable enable - namespace OpenQA.Selenium.BiDi.Modules.Input; public abstract record SourceActions diff --git a/dotnet/src/webdriver/BiDi/Modules/Log/Entry.cs b/dotnet/src/webdriver/BiDi/Modules/Log/Entry.cs index 9837b3c302717..52b57a4db11fd 100644 --- a/dotnet/src/webdriver/BiDi/Modules/Log/Entry.cs +++ b/dotnet/src/webdriver/BiDi/Modules/Log/Entry.cs @@ -20,8 +20,6 @@ using System; using System.Collections.Generic; -#nullable enable - namespace OpenQA.Selenium.BiDi.Modules.Log; // https://github.com/dotnet/runtime/issues/72604 diff --git a/dotnet/src/webdriver/BiDi/Modules/Log/LogModule.cs b/dotnet/src/webdriver/BiDi/Modules/Log/LogModule.cs index a1c64b034ba2b..5fbdfc9acca07 100644 --- a/dotnet/src/webdriver/BiDi/Modules/Log/LogModule.cs +++ b/dotnet/src/webdriver/BiDi/Modules/Log/LogModule.cs @@ -21,8 +21,6 @@ using System; using OpenQA.Selenium.BiDi.Communication; -#nullable enable - namespace OpenQA.Selenium.BiDi.Modules.Log; public sealed class LogModule(Broker broker) : Module(broker) diff --git a/dotnet/src/webdriver/BiDi/Modules/Module.cs b/dotnet/src/webdriver/BiDi/Modules/Module.cs index e03eb0292656b..a24fea89f2f25 100644 --- a/dotnet/src/webdriver/BiDi/Modules/Module.cs +++ b/dotnet/src/webdriver/BiDi/Modules/Module.cs @@ -19,8 +19,6 @@ using OpenQA.Selenium.BiDi.Communication; -#nullable enable - namespace OpenQA.Selenium.BiDi.Modules; public abstract class Module(Broker broker) diff --git a/dotnet/src/webdriver/BiDi/Modules/Network/AddInterceptCommand.cs b/dotnet/src/webdriver/BiDi/Modules/Network/AddInterceptCommand.cs index addd8ba40692f..67490235f9651 100644 --- a/dotnet/src/webdriver/BiDi/Modules/Network/AddInterceptCommand.cs +++ b/dotnet/src/webdriver/BiDi/Modules/Network/AddInterceptCommand.cs @@ -20,8 +20,6 @@ using System.Collections.Generic; using OpenQA.Selenium.BiDi.Communication; -#nullable enable - namespace OpenQA.Selenium.BiDi.Modules.Network; internal class AddInterceptCommand(AddInterceptCommandParameters @params) diff --git a/dotnet/src/webdriver/BiDi/Modules/Network/AuthChallenge.cs b/dotnet/src/webdriver/BiDi/Modules/Network/AuthChallenge.cs index 0f69cc29377a3..73c1711b28cbe 100644 --- a/dotnet/src/webdriver/BiDi/Modules/Network/AuthChallenge.cs +++ b/dotnet/src/webdriver/BiDi/Modules/Network/AuthChallenge.cs @@ -17,8 +17,6 @@ // under the License. // -#nullable enable - namespace OpenQA.Selenium.BiDi.Modules.Network; public record AuthChallenge(string Scheme, string Realm); diff --git a/dotnet/src/webdriver/BiDi/Modules/Network/AuthCredentials.cs b/dotnet/src/webdriver/BiDi/Modules/Network/AuthCredentials.cs index 5c70740793921..9178e32af2efd 100644 --- a/dotnet/src/webdriver/BiDi/Modules/Network/AuthCredentials.cs +++ b/dotnet/src/webdriver/BiDi/Modules/Network/AuthCredentials.cs @@ -19,8 +19,6 @@ using System.Text.Json.Serialization; -#nullable enable - namespace OpenQA.Selenium.BiDi.Modules.Network; [JsonPolymorphic(TypeDiscriminatorPropertyName = "type")] diff --git a/dotnet/src/webdriver/BiDi/Modules/Network/AuthRequiredEventArgs.cs b/dotnet/src/webdriver/BiDi/Modules/Network/AuthRequiredEventArgs.cs index c62e20e320f65..ed2f461a17723 100644 --- a/dotnet/src/webdriver/BiDi/Modules/Network/AuthRequiredEventArgs.cs +++ b/dotnet/src/webdriver/BiDi/Modules/Network/AuthRequiredEventArgs.cs @@ -19,8 +19,6 @@ using System; -#nullable enable - namespace OpenQA.Selenium.BiDi.Modules.Network; public record AuthRequiredEventArgs(BiDi BiDi, BrowsingContext.BrowsingContext Context, bool IsBlocked, BrowsingContext.Navigation Navigation, long RedirectCount, RequestData Request, DateTimeOffset Timestamp, ResponseData Response) : diff --git a/dotnet/src/webdriver/BiDi/Modules/Network/BaseParametersEventArgs.cs b/dotnet/src/webdriver/BiDi/Modules/Network/BaseParametersEventArgs.cs index 13060a1d99430..58cf915a20e82 100644 --- a/dotnet/src/webdriver/BiDi/Modules/Network/BaseParametersEventArgs.cs +++ b/dotnet/src/webdriver/BiDi/Modules/Network/BaseParametersEventArgs.cs @@ -21,8 +21,6 @@ using System.Text.Json.Serialization; using System; -#nullable enable - namespace OpenQA.Selenium.BiDi.Modules.Network; public abstract record BaseParametersEventArgs(BiDi BiDi, BrowsingContext.BrowsingContext Context, bool IsBlocked, BrowsingContext.Navigation Navigation, long RedirectCount, RequestData Request, DateTimeOffset Timestamp) diff --git a/dotnet/src/webdriver/BiDi/Modules/Network/BeforeRequestSentEventArgs.cs b/dotnet/src/webdriver/BiDi/Modules/Network/BeforeRequestSentEventArgs.cs index 44fbcbd308c27..5315777c798e9 100644 --- a/dotnet/src/webdriver/BiDi/Modules/Network/BeforeRequestSentEventArgs.cs +++ b/dotnet/src/webdriver/BiDi/Modules/Network/BeforeRequestSentEventArgs.cs @@ -20,8 +20,6 @@ using OpenQA.Selenium.BiDi.Modules.BrowsingContext; using System; -#nullable enable - namespace OpenQA.Selenium.BiDi.Modules.Network; public record BeforeRequestSentEventArgs(BiDi BiDi, BrowsingContext.BrowsingContext Context, bool IsBlocked, Navigation Navigation, long RedirectCount, RequestData Request, DateTimeOffset Timestamp, Initiator Initiator) diff --git a/dotnet/src/webdriver/BiDi/Modules/Network/BytesValue.cs b/dotnet/src/webdriver/BiDi/Modules/Network/BytesValue.cs index 08b5fe8cf53aa..ac0e3d1d9c747 100644 --- a/dotnet/src/webdriver/BiDi/Modules/Network/BytesValue.cs +++ b/dotnet/src/webdriver/BiDi/Modules/Network/BytesValue.cs @@ -19,8 +19,6 @@ using System.Text.Json.Serialization; -#nullable enable - namespace OpenQA.Selenium.BiDi.Modules.Network; [JsonPolymorphic(TypeDiscriminatorPropertyName = "type")] diff --git a/dotnet/src/webdriver/BiDi/Modules/Network/ContinueRequestCommand.cs b/dotnet/src/webdriver/BiDi/Modules/Network/ContinueRequestCommand.cs index 726157e40b1df..9c54a76fe522c 100644 --- a/dotnet/src/webdriver/BiDi/Modules/Network/ContinueRequestCommand.cs +++ b/dotnet/src/webdriver/BiDi/Modules/Network/ContinueRequestCommand.cs @@ -20,8 +20,6 @@ using OpenQA.Selenium.BiDi.Communication; using System.Collections.Generic; -#nullable enable - namespace OpenQA.Selenium.BiDi.Modules.Network; internal class ContinueRequestCommand(ContinueRequestCommandParameters @params) diff --git a/dotnet/src/webdriver/BiDi/Modules/Network/ContinueResponseCommand.cs b/dotnet/src/webdriver/BiDi/Modules/Network/ContinueResponseCommand.cs index aca666e389f97..a78e6e59ff509 100644 --- a/dotnet/src/webdriver/BiDi/Modules/Network/ContinueResponseCommand.cs +++ b/dotnet/src/webdriver/BiDi/Modules/Network/ContinueResponseCommand.cs @@ -20,8 +20,6 @@ using OpenQA.Selenium.BiDi.Communication; using System.Collections.Generic; -#nullable enable - namespace OpenQA.Selenium.BiDi.Modules.Network; internal class ContinueResponseCommand(ContinueResponseCommandParameters @params) diff --git a/dotnet/src/webdriver/BiDi/Modules/Network/ContinueWithAuthCommand.cs b/dotnet/src/webdriver/BiDi/Modules/Network/ContinueWithAuthCommand.cs index a3bb223a49fbb..510d8512d0ce1 100644 --- a/dotnet/src/webdriver/BiDi/Modules/Network/ContinueWithAuthCommand.cs +++ b/dotnet/src/webdriver/BiDi/Modules/Network/ContinueWithAuthCommand.cs @@ -20,8 +20,6 @@ using OpenQA.Selenium.BiDi.Communication; using System.Text.Json.Serialization; -#nullable enable - namespace OpenQA.Selenium.BiDi.Modules.Network; internal class ContinueWithAuthCommand(ContinueWithAuthParameters @params) diff --git a/dotnet/src/webdriver/BiDi/Modules/Network/Cookie.cs b/dotnet/src/webdriver/BiDi/Modules/Network/Cookie.cs index 679160374b857..98754195731f2 100644 --- a/dotnet/src/webdriver/BiDi/Modules/Network/Cookie.cs +++ b/dotnet/src/webdriver/BiDi/Modules/Network/Cookie.cs @@ -20,8 +20,6 @@ using System; using System.Text.Json.Serialization; -#nullable enable - namespace OpenQA.Selenium.BiDi.Modules.Network; public record Cookie(string Name, BytesValue Value, string Domain, string Path, long Size, bool HttpOnly, bool Secure, SameSite SameSite) diff --git a/dotnet/src/webdriver/BiDi/Modules/Network/CookieHeader.cs b/dotnet/src/webdriver/BiDi/Modules/Network/CookieHeader.cs index 09c8b6a1f6af8..aa0c26ad15d1f 100644 --- a/dotnet/src/webdriver/BiDi/Modules/Network/CookieHeader.cs +++ b/dotnet/src/webdriver/BiDi/Modules/Network/CookieHeader.cs @@ -17,8 +17,6 @@ // under the License. // -#nullable enable - namespace OpenQA.Selenium.BiDi.Modules.Network; public record CookieHeader(string Name, BytesValue Value); diff --git a/dotnet/src/webdriver/BiDi/Modules/Network/FailRequestCommand.cs b/dotnet/src/webdriver/BiDi/Modules/Network/FailRequestCommand.cs index 75dbbdb8466c9..918e8fa19be38 100644 --- a/dotnet/src/webdriver/BiDi/Modules/Network/FailRequestCommand.cs +++ b/dotnet/src/webdriver/BiDi/Modules/Network/FailRequestCommand.cs @@ -19,8 +19,6 @@ using OpenQA.Selenium.BiDi.Communication; -#nullable enable - namespace OpenQA.Selenium.BiDi.Modules.Network; internal class FailRequestCommand(FailRequestCommandParameters @params) diff --git a/dotnet/src/webdriver/BiDi/Modules/Network/FetchErrorEventArgs.cs b/dotnet/src/webdriver/BiDi/Modules/Network/FetchErrorEventArgs.cs index db067c4e4e504..4a4b5b320ba4b 100644 --- a/dotnet/src/webdriver/BiDi/Modules/Network/FetchErrorEventArgs.cs +++ b/dotnet/src/webdriver/BiDi/Modules/Network/FetchErrorEventArgs.cs @@ -20,8 +20,6 @@ using OpenQA.Selenium.BiDi.Modules.BrowsingContext; using System; -#nullable enable - namespace OpenQA.Selenium.BiDi.Modules.Network; public record FetchErrorEventArgs(BiDi BiDi, BrowsingContext.BrowsingContext Context, bool IsBlocked, Navigation Navigation, long RedirectCount, RequestData Request, DateTimeOffset Timestamp, string ErrorText) diff --git a/dotnet/src/webdriver/BiDi/Modules/Network/FetchTimingInfo.cs b/dotnet/src/webdriver/BiDi/Modules/Network/FetchTimingInfo.cs index ad8b34921cdce..08729c40ad2c3 100644 --- a/dotnet/src/webdriver/BiDi/Modules/Network/FetchTimingInfo.cs +++ b/dotnet/src/webdriver/BiDi/Modules/Network/FetchTimingInfo.cs @@ -17,8 +17,6 @@ // under the License. // -#nullable enable - namespace OpenQA.Selenium.BiDi.Modules.Network; public record FetchTimingInfo(double TimeOrigin, diff --git a/dotnet/src/webdriver/BiDi/Modules/Network/Header.cs b/dotnet/src/webdriver/BiDi/Modules/Network/Header.cs index 63632ead59df5..00d8414cd2d67 100644 --- a/dotnet/src/webdriver/BiDi/Modules/Network/Header.cs +++ b/dotnet/src/webdriver/BiDi/Modules/Network/Header.cs @@ -17,8 +17,6 @@ // under the License. // -#nullable enable - namespace OpenQA.Selenium.BiDi.Modules.Network; public record Header(string Name, BytesValue Value); diff --git a/dotnet/src/webdriver/BiDi/Modules/Network/Initiator.cs b/dotnet/src/webdriver/BiDi/Modules/Network/Initiator.cs index 1ef26b005db97..c9cc0bf5f0f91 100644 --- a/dotnet/src/webdriver/BiDi/Modules/Network/Initiator.cs +++ b/dotnet/src/webdriver/BiDi/Modules/Network/Initiator.cs @@ -17,8 +17,6 @@ // under the License. // -#nullable enable - namespace OpenQA.Selenium.BiDi.Modules.Network; public record Initiator(InitiatorType Type) diff --git a/dotnet/src/webdriver/BiDi/Modules/Network/Intercept.cs b/dotnet/src/webdriver/BiDi/Modules/Network/Intercept.cs index acbe7b05a5f65..0f7758511d974 100644 --- a/dotnet/src/webdriver/BiDi/Modules/Network/Intercept.cs +++ b/dotnet/src/webdriver/BiDi/Modules/Network/Intercept.cs @@ -22,8 +22,6 @@ using System.Linq; using System.Threading.Tasks; -#nullable enable - namespace OpenQA.Selenium.BiDi.Modules.Network; public class Intercept : IAsyncDisposable diff --git a/dotnet/src/webdriver/BiDi/Modules/Network/NetworkModule.cs b/dotnet/src/webdriver/BiDi/Modules/Network/NetworkModule.cs index be46a4ca71be8..fb279ef947b9e 100644 --- a/dotnet/src/webdriver/BiDi/Modules/Network/NetworkModule.cs +++ b/dotnet/src/webdriver/BiDi/Modules/Network/NetworkModule.cs @@ -22,8 +22,6 @@ using System.Threading.Tasks; using OpenQA.Selenium.BiDi.Communication; -#nullable enable - namespace OpenQA.Selenium.BiDi.Modules.Network; public sealed class NetworkModule(Broker broker) : Module(broker) diff --git a/dotnet/src/webdriver/BiDi/Modules/Network/ProvideResponseCommand.cs b/dotnet/src/webdriver/BiDi/Modules/Network/ProvideResponseCommand.cs index c0f45c051e8b3..1b6c91063e087 100644 --- a/dotnet/src/webdriver/BiDi/Modules/Network/ProvideResponseCommand.cs +++ b/dotnet/src/webdriver/BiDi/Modules/Network/ProvideResponseCommand.cs @@ -20,8 +20,6 @@ using OpenQA.Selenium.BiDi.Communication; using System.Collections.Generic; -#nullable enable - namespace OpenQA.Selenium.BiDi.Modules.Network; internal class ProvideResponseCommand(ProvideResponseCommandParameters @params) diff --git a/dotnet/src/webdriver/BiDi/Modules/Network/RemoveInterceptCommand.cs b/dotnet/src/webdriver/BiDi/Modules/Network/RemoveInterceptCommand.cs index ff11b0eb9e04a..165e7ea34b148 100644 --- a/dotnet/src/webdriver/BiDi/Modules/Network/RemoveInterceptCommand.cs +++ b/dotnet/src/webdriver/BiDi/Modules/Network/RemoveInterceptCommand.cs @@ -19,8 +19,6 @@ using OpenQA.Selenium.BiDi.Communication; -#nullable enable - namespace OpenQA.Selenium.BiDi.Modules.Network; internal class RemoveInterceptCommand(RemoveInterceptCommandParameters @params) diff --git a/dotnet/src/webdriver/BiDi/Modules/Network/Request.cs b/dotnet/src/webdriver/BiDi/Modules/Network/Request.cs index 04881be1b0b09..6bec25944a91f 100644 --- a/dotnet/src/webdriver/BiDi/Modules/Network/Request.cs +++ b/dotnet/src/webdriver/BiDi/Modules/Network/Request.cs @@ -19,8 +19,6 @@ using System.Threading.Tasks; -#nullable enable - namespace OpenQA.Selenium.BiDi.Modules.Network; public class Request diff --git a/dotnet/src/webdriver/BiDi/Modules/Network/RequestData.cs b/dotnet/src/webdriver/BiDi/Modules/Network/RequestData.cs index 3d2c86eb72185..6083cf92454ab 100644 --- a/dotnet/src/webdriver/BiDi/Modules/Network/RequestData.cs +++ b/dotnet/src/webdriver/BiDi/Modules/Network/RequestData.cs @@ -19,8 +19,6 @@ using System.Collections.Generic; -#nullable enable - namespace OpenQA.Selenium.BiDi.Modules.Network; public record RequestData(Request Request, string Url, string Method, IReadOnlyList
Headers, IReadOnlyList Cookies, long HeadersSize, long? BodySize, FetchTimingInfo Timings); diff --git a/dotnet/src/webdriver/BiDi/Modules/Network/ResponseCompletedEventArgs.cs b/dotnet/src/webdriver/BiDi/Modules/Network/ResponseCompletedEventArgs.cs index 70d01c904c50e..ff03768ee183d 100644 --- a/dotnet/src/webdriver/BiDi/Modules/Network/ResponseCompletedEventArgs.cs +++ b/dotnet/src/webdriver/BiDi/Modules/Network/ResponseCompletedEventArgs.cs @@ -20,8 +20,6 @@ using OpenQA.Selenium.BiDi.Modules.BrowsingContext; using System; -#nullable enable - namespace OpenQA.Selenium.BiDi.Modules.Network; public record ResponseCompletedEventArgs(BiDi BiDi, BrowsingContext.BrowsingContext Context, bool IsBlocked, Navigation Navigation, long RedirectCount, RequestData Request, DateTimeOffset Timestamp, ResponseData Response) diff --git a/dotnet/src/webdriver/BiDi/Modules/Network/ResponseContent.cs b/dotnet/src/webdriver/BiDi/Modules/Network/ResponseContent.cs index b9ccf64631c71..0e76e0c90c35d 100644 --- a/dotnet/src/webdriver/BiDi/Modules/Network/ResponseContent.cs +++ b/dotnet/src/webdriver/BiDi/Modules/Network/ResponseContent.cs @@ -17,8 +17,6 @@ // under the License. // -#nullable enable - namespace OpenQA.Selenium.BiDi.Modules.Network; public record ResponseContent(long Size); diff --git a/dotnet/src/webdriver/BiDi/Modules/Network/ResponseData.cs b/dotnet/src/webdriver/BiDi/Modules/Network/ResponseData.cs index 145459a5fb726..68063ffc5d269 100644 --- a/dotnet/src/webdriver/BiDi/Modules/Network/ResponseData.cs +++ b/dotnet/src/webdriver/BiDi/Modules/Network/ResponseData.cs @@ -20,8 +20,6 @@ using System.Collections.Generic; using System.Text.Json.Serialization; -#nullable enable - namespace OpenQA.Selenium.BiDi.Modules.Network; public record ResponseData(string Url, diff --git a/dotnet/src/webdriver/BiDi/Modules/Network/ResponseStartedEventArgs.cs b/dotnet/src/webdriver/BiDi/Modules/Network/ResponseStartedEventArgs.cs index 3adf1fef7abd9..39d74946e56c2 100644 --- a/dotnet/src/webdriver/BiDi/Modules/Network/ResponseStartedEventArgs.cs +++ b/dotnet/src/webdriver/BiDi/Modules/Network/ResponseStartedEventArgs.cs @@ -20,8 +20,6 @@ using OpenQA.Selenium.BiDi.Modules.BrowsingContext; using System; -#nullable enable - namespace OpenQA.Selenium.BiDi.Modules.Network; public record ResponseStartedEventArgs(BiDi BiDi, BrowsingContext.BrowsingContext Context, bool IsBlocked, Navigation Navigation, long RedirectCount, RequestData Request, DateTimeOffset Timestamp, ResponseData Response) diff --git a/dotnet/src/webdriver/BiDi/Modules/Network/SetCacheBehaviorCommand.cs b/dotnet/src/webdriver/BiDi/Modules/Network/SetCacheBehaviorCommand.cs index d144c048fd227..11a372901c22a 100644 --- a/dotnet/src/webdriver/BiDi/Modules/Network/SetCacheBehaviorCommand.cs +++ b/dotnet/src/webdriver/BiDi/Modules/Network/SetCacheBehaviorCommand.cs @@ -20,8 +20,6 @@ using System.Collections.Generic; using OpenQA.Selenium.BiDi.Communication; -#nullable enable - namespace OpenQA.Selenium.BiDi.Modules.Network; internal class SetCacheBehaviorCommand(SetCacheBehaviorCommandParameters @params) diff --git a/dotnet/src/webdriver/BiDi/Modules/Network/SetCookieHeader.cs b/dotnet/src/webdriver/BiDi/Modules/Network/SetCookieHeader.cs index bf501d4e48b80..5e42d4d54f93e 100644 --- a/dotnet/src/webdriver/BiDi/Modules/Network/SetCookieHeader.cs +++ b/dotnet/src/webdriver/BiDi/Modules/Network/SetCookieHeader.cs @@ -17,8 +17,6 @@ // under the License. // -#nullable enable - namespace OpenQA.Selenium.BiDi.Modules.Network; public record SetCookieHeader(string Name, BytesValue Value) diff --git a/dotnet/src/webdriver/BiDi/Modules/Network/UrlPattern.cs b/dotnet/src/webdriver/BiDi/Modules/Network/UrlPattern.cs index 6d6f4644f8d94..1a83a7d4651cb 100644 --- a/dotnet/src/webdriver/BiDi/Modules/Network/UrlPattern.cs +++ b/dotnet/src/webdriver/BiDi/Modules/Network/UrlPattern.cs @@ -19,8 +19,6 @@ using System.Text.Json.Serialization; -#nullable enable - namespace OpenQA.Selenium.BiDi.Modules.Network; [JsonPolymorphic(TypeDiscriminatorPropertyName = "type")] diff --git a/dotnet/src/webdriver/BiDi/Modules/Script/AddPreloadScriptCommand.cs b/dotnet/src/webdriver/BiDi/Modules/Script/AddPreloadScriptCommand.cs index 9c04a66d3fc9b..096bc67f1f109 100644 --- a/dotnet/src/webdriver/BiDi/Modules/Script/AddPreloadScriptCommand.cs +++ b/dotnet/src/webdriver/BiDi/Modules/Script/AddPreloadScriptCommand.cs @@ -20,8 +20,6 @@ using OpenQA.Selenium.BiDi.Communication; using System.Collections.Generic; -#nullable enable - namespace OpenQA.Selenium.BiDi.Modules.Script; internal class AddPreloadScriptCommand(AddPreloadScriptCommandParameters @params) diff --git a/dotnet/src/webdriver/BiDi/Modules/Script/CallFunctionCommand.cs b/dotnet/src/webdriver/BiDi/Modules/Script/CallFunctionCommand.cs index f5243cfe28bd1..c51545239d0d8 100644 --- a/dotnet/src/webdriver/BiDi/Modules/Script/CallFunctionCommand.cs +++ b/dotnet/src/webdriver/BiDi/Modules/Script/CallFunctionCommand.cs @@ -20,8 +20,6 @@ using OpenQA.Selenium.BiDi.Communication; using System.Collections.Generic; -#nullable enable - namespace OpenQA.Selenium.BiDi.Modules.Script; internal class CallFunctionCommand(CallFunctionCommandParameters @params) diff --git a/dotnet/src/webdriver/BiDi/Modules/Script/Channel.cs b/dotnet/src/webdriver/BiDi/Modules/Script/Channel.cs index 3504b5b890591..53856b51ad373 100644 --- a/dotnet/src/webdriver/BiDi/Modules/Script/Channel.cs +++ b/dotnet/src/webdriver/BiDi/Modules/Script/Channel.cs @@ -17,8 +17,6 @@ // under the License. // -#nullable enable - namespace OpenQA.Selenium.BiDi.Modules.Script; public record Channel(string Id); diff --git a/dotnet/src/webdriver/BiDi/Modules/Script/DisownCommand.cs b/dotnet/src/webdriver/BiDi/Modules/Script/DisownCommand.cs index b941ddcdedfac..f9e3550c47c54 100644 --- a/dotnet/src/webdriver/BiDi/Modules/Script/DisownCommand.cs +++ b/dotnet/src/webdriver/BiDi/Modules/Script/DisownCommand.cs @@ -20,8 +20,6 @@ using OpenQA.Selenium.BiDi.Communication; using System.Collections.Generic; -#nullable enable - namespace OpenQA.Selenium.BiDi.Modules.Script; internal class DisownCommand(DisownCommandParameters @params) diff --git a/dotnet/src/webdriver/BiDi/Modules/Script/EvaluateCommand.cs b/dotnet/src/webdriver/BiDi/Modules/Script/EvaluateCommand.cs index cb88c9db4ac25..94b5d93ab3348 100644 --- a/dotnet/src/webdriver/BiDi/Modules/Script/EvaluateCommand.cs +++ b/dotnet/src/webdriver/BiDi/Modules/Script/EvaluateCommand.cs @@ -19,8 +19,6 @@ using OpenQA.Selenium.BiDi.Communication; -#nullable enable - namespace OpenQA.Selenium.BiDi.Modules.Script; internal class EvaluateCommand(EvaluateCommandParameters @params) diff --git a/dotnet/src/webdriver/BiDi/Modules/Script/GetRealmsCommand.cs b/dotnet/src/webdriver/BiDi/Modules/Script/GetRealmsCommand.cs index 516d81d9498ed..9d7348e32f9dd 100644 --- a/dotnet/src/webdriver/BiDi/Modules/Script/GetRealmsCommand.cs +++ b/dotnet/src/webdriver/BiDi/Modules/Script/GetRealmsCommand.cs @@ -21,8 +21,6 @@ using System.Collections; using System.Collections.Generic; -#nullable enable - namespace OpenQA.Selenium.BiDi.Modules.Script; internal class GetRealmsCommand(GetRealmsCommandParameters @params) diff --git a/dotnet/src/webdriver/BiDi/Modules/Script/Handle.cs b/dotnet/src/webdriver/BiDi/Modules/Script/Handle.cs index 30fc4818963d4..87bf42439b82f 100644 --- a/dotnet/src/webdriver/BiDi/Modules/Script/Handle.cs +++ b/dotnet/src/webdriver/BiDi/Modules/Script/Handle.cs @@ -17,8 +17,6 @@ // under the License. // -#nullable enable - namespace OpenQA.Selenium.BiDi.Modules.Script; public class Handle diff --git a/dotnet/src/webdriver/BiDi/Modules/Script/IRemoteReference.cs b/dotnet/src/webdriver/BiDi/Modules/Script/IRemoteReference.cs index bf48a8534f15b..893ceb12549aa 100644 --- a/dotnet/src/webdriver/BiDi/Modules/Script/IRemoteReference.cs +++ b/dotnet/src/webdriver/BiDi/Modules/Script/IRemoteReference.cs @@ -17,8 +17,6 @@ // under the License. // -#nullable enable - namespace OpenQA.Selenium.BiDi.Modules.Script; public interface IRemoteReference; diff --git a/dotnet/src/webdriver/BiDi/Modules/Script/InternalId.cs b/dotnet/src/webdriver/BiDi/Modules/Script/InternalId.cs index ecab8bc2a1b56..06550e0da98a7 100644 --- a/dotnet/src/webdriver/BiDi/Modules/Script/InternalId.cs +++ b/dotnet/src/webdriver/BiDi/Modules/Script/InternalId.cs @@ -17,8 +17,6 @@ // under the License. // -#nullable enable - namespace OpenQA.Selenium.BiDi.Modules.Script; public class InternalId diff --git a/dotnet/src/webdriver/BiDi/Modules/Script/LocalValue.cs b/dotnet/src/webdriver/BiDi/Modules/Script/LocalValue.cs index 939d24afa87c7..65668dc9924fa 100644 --- a/dotnet/src/webdriver/BiDi/Modules/Script/LocalValue.cs +++ b/dotnet/src/webdriver/BiDi/Modules/Script/LocalValue.cs @@ -20,8 +20,6 @@ using System.Collections.Generic; using System.Text.Json.Serialization; -#nullable enable - namespace OpenQA.Selenium.BiDi.Modules.Script; [JsonPolymorphic(TypeDiscriminatorPropertyName = "type")] diff --git a/dotnet/src/webdriver/BiDi/Modules/Script/MessageEventArgs.cs b/dotnet/src/webdriver/BiDi/Modules/Script/MessageEventArgs.cs index 7675762357032..11743c2ddd316 100644 --- a/dotnet/src/webdriver/BiDi/Modules/Script/MessageEventArgs.cs +++ b/dotnet/src/webdriver/BiDi/Modules/Script/MessageEventArgs.cs @@ -17,8 +17,6 @@ // under the License. // -#nullable enable - namespace OpenQA.Selenium.BiDi.Modules.Script; public record MessageEventArgs(BiDi BiDi, Channel Channel, RemoteValue Data, Source Source) : EventArgs(BiDi); diff --git a/dotnet/src/webdriver/BiDi/Modules/Script/NodeProperties.cs b/dotnet/src/webdriver/BiDi/Modules/Script/NodeProperties.cs index ba5f33ee5a875..b1d44271018ea 100644 --- a/dotnet/src/webdriver/BiDi/Modules/Script/NodeProperties.cs +++ b/dotnet/src/webdriver/BiDi/Modules/Script/NodeProperties.cs @@ -20,8 +20,6 @@ using System.Collections.Generic; using System.Text.Json.Serialization; -#nullable enable - namespace OpenQA.Selenium.BiDi.Modules.Script; public record NodeProperties(long NodeType, long ChildNodeCount) diff --git a/dotnet/src/webdriver/BiDi/Modules/Script/PreloadScript.cs b/dotnet/src/webdriver/BiDi/Modules/Script/PreloadScript.cs index 49744017b5790..e48f1b7fa886f 100644 --- a/dotnet/src/webdriver/BiDi/Modules/Script/PreloadScript.cs +++ b/dotnet/src/webdriver/BiDi/Modules/Script/PreloadScript.cs @@ -20,8 +20,6 @@ using System; using System.Threading.Tasks; -#nullable enable - namespace OpenQA.Selenium.BiDi.Modules.Script; public class PreloadScript : IAsyncDisposable diff --git a/dotnet/src/webdriver/BiDi/Modules/Script/Realm.cs b/dotnet/src/webdriver/BiDi/Modules/Script/Realm.cs index 80736b03970f4..7ecb553e2c798 100644 --- a/dotnet/src/webdriver/BiDi/Modules/Script/Realm.cs +++ b/dotnet/src/webdriver/BiDi/Modules/Script/Realm.cs @@ -17,8 +17,6 @@ // under the License. // -#nullable enable - namespace OpenQA.Selenium.BiDi.Modules.Script; public class Realm diff --git a/dotnet/src/webdriver/BiDi/Modules/Script/RealmDestroyedEventArgs.cs b/dotnet/src/webdriver/BiDi/Modules/Script/RealmDestroyedEventArgs.cs index 1a100e3c165b6..5c5c9434b0e76 100644 --- a/dotnet/src/webdriver/BiDi/Modules/Script/RealmDestroyedEventArgs.cs +++ b/dotnet/src/webdriver/BiDi/Modules/Script/RealmDestroyedEventArgs.cs @@ -17,8 +17,6 @@ // under the License. // -#nullable enable - namespace OpenQA.Selenium.BiDi.Modules.Script; public record RealmDestroyedEventArgs(BiDi BiDi, Realm Realm) : EventArgs(BiDi); diff --git a/dotnet/src/webdriver/BiDi/Modules/Script/RealmInfo.cs b/dotnet/src/webdriver/BiDi/Modules/Script/RealmInfo.cs index 9b2959ccf6b60..81a3024e8473c 100644 --- a/dotnet/src/webdriver/BiDi/Modules/Script/RealmInfo.cs +++ b/dotnet/src/webdriver/BiDi/Modules/Script/RealmInfo.cs @@ -19,8 +19,6 @@ using System.Collections.Generic; -#nullable enable - namespace OpenQA.Selenium.BiDi.Modules.Script; // https://github.com/dotnet/runtime/issues/72604 diff --git a/dotnet/src/webdriver/BiDi/Modules/Script/RealmType.cs b/dotnet/src/webdriver/BiDi/Modules/Script/RealmType.cs index 815ee2f12c36d..0958b42929edf 100644 --- a/dotnet/src/webdriver/BiDi/Modules/Script/RealmType.cs +++ b/dotnet/src/webdriver/BiDi/Modules/Script/RealmType.cs @@ -17,8 +17,6 @@ // under the License. // -#nullable enable - namespace OpenQA.Selenium.BiDi.Modules.Script; public enum RealmType diff --git a/dotnet/src/webdriver/BiDi/Modules/Script/RemoteValue.cs b/dotnet/src/webdriver/BiDi/Modules/Script/RemoteValue.cs index 4ed58e2dcc244..8ff737adf44cf 100644 --- a/dotnet/src/webdriver/BiDi/Modules/Script/RemoteValue.cs +++ b/dotnet/src/webdriver/BiDi/Modules/Script/RemoteValue.cs @@ -22,8 +22,6 @@ using System.Text.Json; using System.Text.Json.Serialization; -#nullable enable - namespace OpenQA.Selenium.BiDi.Modules.Script; // https://github.com/dotnet/runtime/issues/72604 diff --git a/dotnet/src/webdriver/BiDi/Modules/Script/RemovePreloadScriptCommand.cs b/dotnet/src/webdriver/BiDi/Modules/Script/RemovePreloadScriptCommand.cs index cff5e001816da..f35851954f2f7 100644 --- a/dotnet/src/webdriver/BiDi/Modules/Script/RemovePreloadScriptCommand.cs +++ b/dotnet/src/webdriver/BiDi/Modules/Script/RemovePreloadScriptCommand.cs @@ -19,8 +19,6 @@ using OpenQA.Selenium.BiDi.Communication; -#nullable enable - namespace OpenQA.Selenium.BiDi.Modules.Script; internal class RemovePreloadScriptCommand(RemovePreloadScriptCommandParameters @params) diff --git a/dotnet/src/webdriver/BiDi/Modules/Script/ResultOwnership.cs b/dotnet/src/webdriver/BiDi/Modules/Script/ResultOwnership.cs index b6867e1ba06e8..f72d799c061a2 100644 --- a/dotnet/src/webdriver/BiDi/Modules/Script/ResultOwnership.cs +++ b/dotnet/src/webdriver/BiDi/Modules/Script/ResultOwnership.cs @@ -17,8 +17,6 @@ // under the License. // -#nullable enable - namespace OpenQA.Selenium.BiDi.Modules.Script; public enum ResultOwnership diff --git a/dotnet/src/webdriver/BiDi/Modules/Script/ScriptEvaluateException.cs b/dotnet/src/webdriver/BiDi/Modules/Script/ScriptEvaluateException.cs index 375a7fd5e765e..f15171b4a389a 100644 --- a/dotnet/src/webdriver/BiDi/Modules/Script/ScriptEvaluateException.cs +++ b/dotnet/src/webdriver/BiDi/Modules/Script/ScriptEvaluateException.cs @@ -19,8 +19,6 @@ using System; -#nullable enable - namespace OpenQA.Selenium.BiDi.Modules.Script; public class ScriptEvaluateException(EvaluateResult.Exception evaluateResultException) : Exception diff --git a/dotnet/src/webdriver/BiDi/Modules/Script/ScriptModule.cs b/dotnet/src/webdriver/BiDi/Modules/Script/ScriptModule.cs index b7c8754be3c5d..bb6a9f1a18021 100644 --- a/dotnet/src/webdriver/BiDi/Modules/Script/ScriptModule.cs +++ b/dotnet/src/webdriver/BiDi/Modules/Script/ScriptModule.cs @@ -21,8 +21,6 @@ using System; using System.Threading.Tasks; -#nullable enable - namespace OpenQA.Selenium.BiDi.Modules.Script; public sealed class ScriptModule(Broker broker) : Module(broker) diff --git a/dotnet/src/webdriver/BiDi/Modules/Script/SerializationOptions.cs b/dotnet/src/webdriver/BiDi/Modules/Script/SerializationOptions.cs index 765e000c7101e..ea4dc82c6da9c 100644 --- a/dotnet/src/webdriver/BiDi/Modules/Script/SerializationOptions.cs +++ b/dotnet/src/webdriver/BiDi/Modules/Script/SerializationOptions.cs @@ -17,8 +17,6 @@ // under the License. // -#nullable enable - namespace OpenQA.Selenium.BiDi.Modules.Script; public class SerializationOptions diff --git a/dotnet/src/webdriver/BiDi/Modules/Script/Source.cs b/dotnet/src/webdriver/BiDi/Modules/Script/Source.cs index 133a772d4a3b7..561df3f357222 100644 --- a/dotnet/src/webdriver/BiDi/Modules/Script/Source.cs +++ b/dotnet/src/webdriver/BiDi/Modules/Script/Source.cs @@ -17,8 +17,6 @@ // under the License. // -#nullable enable - namespace OpenQA.Selenium.BiDi.Modules.Script; public record Source(Realm Realm) diff --git a/dotnet/src/webdriver/BiDi/Modules/Script/StackFrame.cs b/dotnet/src/webdriver/BiDi/Modules/Script/StackFrame.cs index 2db07093eaeb8..150d4c4effc83 100644 --- a/dotnet/src/webdriver/BiDi/Modules/Script/StackFrame.cs +++ b/dotnet/src/webdriver/BiDi/Modules/Script/StackFrame.cs @@ -17,8 +17,6 @@ // under the License. // -#nullable enable - namespace OpenQA.Selenium.BiDi.Modules.Script; public record StackFrame(long LineNumber, long ColumnNumber, string Url, string FunctionName); diff --git a/dotnet/src/webdriver/BiDi/Modules/Script/StackTrace.cs b/dotnet/src/webdriver/BiDi/Modules/Script/StackTrace.cs index 88e515f499c53..8ac037b88119b 100644 --- a/dotnet/src/webdriver/BiDi/Modules/Script/StackTrace.cs +++ b/dotnet/src/webdriver/BiDi/Modules/Script/StackTrace.cs @@ -19,8 +19,6 @@ using System.Collections.Generic; -#nullable enable - namespace OpenQA.Selenium.BiDi.Modules.Script; public record StackTrace(IReadOnlyCollection CallFrames); diff --git a/dotnet/src/webdriver/BiDi/Modules/Script/Target.cs b/dotnet/src/webdriver/BiDi/Modules/Script/Target.cs index fbe062951e47d..c6dd5218c9130 100644 --- a/dotnet/src/webdriver/BiDi/Modules/Script/Target.cs +++ b/dotnet/src/webdriver/BiDi/Modules/Script/Target.cs @@ -19,8 +19,6 @@ using System.Text.Json.Serialization; -#nullable enable - namespace OpenQA.Selenium.BiDi.Modules.Script; [JsonDerivedType(typeof(Realm))] diff --git a/dotnet/src/webdriver/BiDi/Modules/Session/CapabilitiesRequest.cs b/dotnet/src/webdriver/BiDi/Modules/Session/CapabilitiesRequest.cs index 61229a774f38d..df1b8498786bc 100644 --- a/dotnet/src/webdriver/BiDi/Modules/Session/CapabilitiesRequest.cs +++ b/dotnet/src/webdriver/BiDi/Modules/Session/CapabilitiesRequest.cs @@ -19,8 +19,6 @@ using System.Collections.Generic; -#nullable enable - namespace OpenQA.Selenium.BiDi.Modules.Session; public class CapabilitiesRequest diff --git a/dotnet/src/webdriver/BiDi/Modules/Session/CapabilityRequest.cs b/dotnet/src/webdriver/BiDi/Modules/Session/CapabilityRequest.cs index 76aac2de74623..e035f1f9687bc 100644 --- a/dotnet/src/webdriver/BiDi/Modules/Session/CapabilityRequest.cs +++ b/dotnet/src/webdriver/BiDi/Modules/Session/CapabilityRequest.cs @@ -17,8 +17,6 @@ // under the License. // -#nullable enable - namespace OpenQA.Selenium.BiDi.Modules.Session; public class CapabilityRequest diff --git a/dotnet/src/webdriver/BiDi/Modules/Session/EndCommand.cs b/dotnet/src/webdriver/BiDi/Modules/Session/EndCommand.cs index 71e4cb5277a49..8ed7a24ce3cb0 100644 --- a/dotnet/src/webdriver/BiDi/Modules/Session/EndCommand.cs +++ b/dotnet/src/webdriver/BiDi/Modules/Session/EndCommand.cs @@ -19,8 +19,6 @@ using OpenQA.Selenium.BiDi.Communication; -#nullable enable - namespace OpenQA.Selenium.BiDi.Modules.Session; internal class EndCommand() diff --git a/dotnet/src/webdriver/BiDi/Modules/Session/NewCommand.cs b/dotnet/src/webdriver/BiDi/Modules/Session/NewCommand.cs index 534f945633ca5..3befe631a37e9 100644 --- a/dotnet/src/webdriver/BiDi/Modules/Session/NewCommand.cs +++ b/dotnet/src/webdriver/BiDi/Modules/Session/NewCommand.cs @@ -19,8 +19,6 @@ using OpenQA.Selenium.BiDi.Communication; -#nullable enable - namespace OpenQA.Selenium.BiDi.Modules.Session; internal class NewCommand(NewCommandParameters @params) diff --git a/dotnet/src/webdriver/BiDi/Modules/Session/ProxyConfiguration.cs b/dotnet/src/webdriver/BiDi/Modules/Session/ProxyConfiguration.cs index b2e14e58dc82b..ad9ce3aec92bb 100644 --- a/dotnet/src/webdriver/BiDi/Modules/Session/ProxyConfiguration.cs +++ b/dotnet/src/webdriver/BiDi/Modules/Session/ProxyConfiguration.cs @@ -19,8 +19,6 @@ using System.Text.Json.Serialization; -#nullable enable - namespace OpenQA.Selenium.BiDi.Modules.Session; [JsonPolymorphic(TypeDiscriminatorPropertyName = "proxyType")] diff --git a/dotnet/src/webdriver/BiDi/Modules/Session/SessionModule.cs b/dotnet/src/webdriver/BiDi/Modules/Session/SessionModule.cs index fed4004232273..e3572966b6833 100644 --- a/dotnet/src/webdriver/BiDi/Modules/Session/SessionModule.cs +++ b/dotnet/src/webdriver/BiDi/Modules/Session/SessionModule.cs @@ -21,8 +21,6 @@ using System.Collections.Generic; using System.Threading.Tasks; -#nullable enable - namespace OpenQA.Selenium.BiDi.Modules.Session; internal sealed class SessionModule(Broker broker) : Module(broker) diff --git a/dotnet/src/webdriver/BiDi/Modules/Session/StatusCommand.cs b/dotnet/src/webdriver/BiDi/Modules/Session/StatusCommand.cs index 67277999c131d..8cc0a8ed63ffe 100644 --- a/dotnet/src/webdriver/BiDi/Modules/Session/StatusCommand.cs +++ b/dotnet/src/webdriver/BiDi/Modules/Session/StatusCommand.cs @@ -19,8 +19,6 @@ using OpenQA.Selenium.BiDi.Communication; -#nullable enable - namespace OpenQA.Selenium.BiDi.Modules.Session; internal class StatusCommand() diff --git a/dotnet/src/webdriver/BiDi/Modules/Session/SubscribeCommand.cs b/dotnet/src/webdriver/BiDi/Modules/Session/SubscribeCommand.cs index 154a327f836ad..3cd4479a23390 100644 --- a/dotnet/src/webdriver/BiDi/Modules/Session/SubscribeCommand.cs +++ b/dotnet/src/webdriver/BiDi/Modules/Session/SubscribeCommand.cs @@ -20,8 +20,6 @@ using OpenQA.Selenium.BiDi.Communication; using System.Collections.Generic; -#nullable enable - namespace OpenQA.Selenium.BiDi.Modules.Session; internal class SubscribeCommand(SubscribeCommandParameters @params) diff --git a/dotnet/src/webdriver/BiDi/Modules/Session/Subscription.cs b/dotnet/src/webdriver/BiDi/Modules/Session/Subscription.cs index 98e45e4119699..60aaf2ddbf90b 100644 --- a/dotnet/src/webdriver/BiDi/Modules/Session/Subscription.cs +++ b/dotnet/src/webdriver/BiDi/Modules/Session/Subscription.cs @@ -17,8 +17,6 @@ // under the License. // -#nullable enable - namespace OpenQA.Selenium.BiDi.Modules.Session; public sealed class Subscription diff --git a/dotnet/src/webdriver/BiDi/Modules/Session/UnsubscribeCommand.cs b/dotnet/src/webdriver/BiDi/Modules/Session/UnsubscribeCommand.cs index a01d3259405bc..09c7d3581d826 100644 --- a/dotnet/src/webdriver/BiDi/Modules/Session/UnsubscribeCommand.cs +++ b/dotnet/src/webdriver/BiDi/Modules/Session/UnsubscribeCommand.cs @@ -21,8 +21,6 @@ using System; using System.Collections.Generic; -#nullable enable - namespace OpenQA.Selenium.BiDi.Modules.Session; internal class UnsubscribeByIdCommand(UnsubscribeByIdCommandParameters @params) diff --git a/dotnet/src/webdriver/BiDi/Modules/Storage/DeleteCookiesCommand.cs b/dotnet/src/webdriver/BiDi/Modules/Storage/DeleteCookiesCommand.cs index ba932e30dc3ec..67a6aba02e949 100644 --- a/dotnet/src/webdriver/BiDi/Modules/Storage/DeleteCookiesCommand.cs +++ b/dotnet/src/webdriver/BiDi/Modules/Storage/DeleteCookiesCommand.cs @@ -19,8 +19,6 @@ using OpenQA.Selenium.BiDi.Communication; -#nullable enable - namespace OpenQA.Selenium.BiDi.Modules.Storage; internal class DeleteCookiesCommand(DeleteCookiesCommandParameters @params) diff --git a/dotnet/src/webdriver/BiDi/Modules/Storage/GetCookiesCommand.cs b/dotnet/src/webdriver/BiDi/Modules/Storage/GetCookiesCommand.cs index 8c188c0a6e868..1cf13bd5489ed 100644 --- a/dotnet/src/webdriver/BiDi/Modules/Storage/GetCookiesCommand.cs +++ b/dotnet/src/webdriver/BiDi/Modules/Storage/GetCookiesCommand.cs @@ -23,8 +23,6 @@ using System.Collections.Generic; using System.Text.Json.Serialization; -#nullable enable - namespace OpenQA.Selenium.BiDi.Modules.Storage; internal class GetCookiesCommand(GetCookiesCommandParameters @params) diff --git a/dotnet/src/webdriver/BiDi/Modules/Storage/PartitionKey.cs b/dotnet/src/webdriver/BiDi/Modules/Storage/PartitionKey.cs index 2385a1bcd555b..cb5e114c1c916 100644 --- a/dotnet/src/webdriver/BiDi/Modules/Storage/PartitionKey.cs +++ b/dotnet/src/webdriver/BiDi/Modules/Storage/PartitionKey.cs @@ -17,8 +17,6 @@ // under the License. // -#nullable enable - namespace OpenQA.Selenium.BiDi.Modules.Storage; public class PartitionKey diff --git a/dotnet/src/webdriver/BiDi/Modules/Storage/SetCookieCommand.cs b/dotnet/src/webdriver/BiDi/Modules/Storage/SetCookieCommand.cs index 5ea465612d6bc..f03bbbcc5bbf7 100644 --- a/dotnet/src/webdriver/BiDi/Modules/Storage/SetCookieCommand.cs +++ b/dotnet/src/webdriver/BiDi/Modules/Storage/SetCookieCommand.cs @@ -20,8 +20,6 @@ using OpenQA.Selenium.BiDi.Communication; using System; -#nullable enable - namespace OpenQA.Selenium.BiDi.Modules.Storage; internal class SetCookieCommand(SetCookieCommandParameters @params) diff --git a/dotnet/src/webdriver/BiDi/Modules/Storage/StorageModule.cs b/dotnet/src/webdriver/BiDi/Modules/Storage/StorageModule.cs index b27ce83af31c4..6acf132dcf018 100644 --- a/dotnet/src/webdriver/BiDi/Modules/Storage/StorageModule.cs +++ b/dotnet/src/webdriver/BiDi/Modules/Storage/StorageModule.cs @@ -20,8 +20,6 @@ using OpenQA.Selenium.BiDi.Communication; using System.Threading.Tasks; -#nullable enable - namespace OpenQA.Selenium.BiDi.Modules.Storage; public class StorageModule(Broker broker) : Module(broker) diff --git a/dotnet/src/webdriver/BiDi/Subscription.cs b/dotnet/src/webdriver/BiDi/Subscription.cs index bf47137f00ccc..59ecb9b74ae60 100644 --- a/dotnet/src/webdriver/BiDi/Subscription.cs +++ b/dotnet/src/webdriver/BiDi/Subscription.cs @@ -22,8 +22,6 @@ using System.Collections.Generic; using System.Threading.Tasks; -#nullable enable - namespace OpenQA.Selenium.BiDi; public class Subscription : IAsyncDisposable diff --git a/dotnet/src/webdriver/BiDi/WebDriver.Extensions.cs b/dotnet/src/webdriver/BiDi/WebDriver.Extensions.cs index e4e4b7ada6250..ee494f877957c 100644 --- a/dotnet/src/webdriver/BiDi/WebDriver.Extensions.cs +++ b/dotnet/src/webdriver/BiDi/WebDriver.Extensions.cs @@ -20,8 +20,6 @@ using System; using System.Threading.Tasks; -#nullable enable - namespace OpenQA.Selenium.BiDi; public static class WebDriverExtensions diff --git a/dotnet/src/webdriver/By.cs b/dotnet/src/webdriver/By.cs index 2081e3d8e4a6e..b538a727d7265 100644 --- a/dotnet/src/webdriver/By.cs +++ b/dotnet/src/webdriver/By.cs @@ -24,8 +24,6 @@ using System.Globalization; using System.Text.RegularExpressions; -#nullable enable - namespace OpenQA.Selenium { /// diff --git a/dotnet/src/webdriver/CapabilityType.cs b/dotnet/src/webdriver/CapabilityType.cs index c04d54ff81957..4ee0f04884cbb 100644 --- a/dotnet/src/webdriver/CapabilityType.cs +++ b/dotnet/src/webdriver/CapabilityType.cs @@ -20,8 +20,6 @@ using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; -#nullable enable - namespace OpenQA.Selenium { /// diff --git a/dotnet/src/webdriver/Chrome/ChromeDriver.cs b/dotnet/src/webdriver/Chrome/ChromeDriver.cs index 2841470636536..b39f7cf72453f 100644 --- a/dotnet/src/webdriver/Chrome/ChromeDriver.cs +++ b/dotnet/src/webdriver/Chrome/ChromeDriver.cs @@ -23,8 +23,6 @@ using System.Collections.Generic; using System.Collections.ObjectModel; -#nullable enable - namespace OpenQA.Selenium.Chrome { /// diff --git a/dotnet/src/webdriver/Chrome/ChromeDriverService.cs b/dotnet/src/webdriver/Chrome/ChromeDriverService.cs index e1b5c3f23ccfa..a294c72fd3097 100644 --- a/dotnet/src/webdriver/Chrome/ChromeDriverService.cs +++ b/dotnet/src/webdriver/Chrome/ChromeDriverService.cs @@ -21,8 +21,6 @@ using OpenQA.Selenium.Internal; using System.IO; -#nullable enable - namespace OpenQA.Selenium.Chrome { /// diff --git a/dotnet/src/webdriver/Chrome/ChromeOptions.cs b/dotnet/src/webdriver/Chrome/ChromeOptions.cs index ae8a39f9886ec..cf47856dc5ac3 100644 --- a/dotnet/src/webdriver/Chrome/ChromeOptions.cs +++ b/dotnet/src/webdriver/Chrome/ChromeOptions.cs @@ -21,8 +21,6 @@ using System; using System.Globalization; -#nullable enable - namespace OpenQA.Selenium.Chrome { /// diff --git a/dotnet/src/webdriver/Chromium/ChromiumAndroidOptions.cs b/dotnet/src/webdriver/Chromium/ChromiumAndroidOptions.cs index 726aae094d17b..329fa887fbdbb 100644 --- a/dotnet/src/webdriver/Chromium/ChromiumAndroidOptions.cs +++ b/dotnet/src/webdriver/Chromium/ChromiumAndroidOptions.cs @@ -19,8 +19,6 @@ using OpenQA.Selenium.Internal; -#nullable enable - namespace OpenQA.Selenium.Chromium { /// diff --git a/dotnet/src/webdriver/Chromium/ChromiumDriver.cs b/dotnet/src/webdriver/Chromium/ChromiumDriver.cs index 08b69b4859f30..f577c7439a940 100644 --- a/dotnet/src/webdriver/Chromium/ChromiumDriver.cs +++ b/dotnet/src/webdriver/Chromium/ChromiumDriver.cs @@ -26,8 +26,6 @@ using System.IO; using System.Threading.Tasks; -#nullable enable - namespace OpenQA.Selenium.Chromium { /// diff --git a/dotnet/src/webdriver/Chromium/ChromiumDriverService.cs b/dotnet/src/webdriver/Chromium/ChromiumDriverService.cs index 73bb49dc4eb95..e9fbf0f7f7218 100644 --- a/dotnet/src/webdriver/Chromium/ChromiumDriverService.cs +++ b/dotnet/src/webdriver/Chromium/ChromiumDriverService.cs @@ -21,8 +21,6 @@ using System.Globalization; using System.Text; -#nullable enable - namespace OpenQA.Selenium.Chromium { /// diff --git a/dotnet/src/webdriver/Chromium/ChromiumMobileEmulationDeviceSettings.cs b/dotnet/src/webdriver/Chromium/ChromiumMobileEmulationDeviceSettings.cs index 849a24a9a469d..6ee6b182cde9e 100644 --- a/dotnet/src/webdriver/Chromium/ChromiumMobileEmulationDeviceSettings.cs +++ b/dotnet/src/webdriver/Chromium/ChromiumMobileEmulationDeviceSettings.cs @@ -17,8 +17,6 @@ // under the License. // -#nullable enable - namespace OpenQA.Selenium.Chromium { /// diff --git a/dotnet/src/webdriver/Chromium/ChromiumNetworkConditions.cs b/dotnet/src/webdriver/Chromium/ChromiumNetworkConditions.cs index 6150bacaef766..78a69b7516aee 100644 --- a/dotnet/src/webdriver/Chromium/ChromiumNetworkConditions.cs +++ b/dotnet/src/webdriver/Chromium/ChromiumNetworkConditions.cs @@ -21,8 +21,6 @@ using System.Collections.Generic; using System.Text.Json.Serialization; -#nullable enable - namespace OpenQA.Selenium.Chromium { /// diff --git a/dotnet/src/webdriver/Chromium/ChromiumOptions.cs b/dotnet/src/webdriver/Chromium/ChromiumOptions.cs index 761ee745ea316..eb7805504eda8 100644 --- a/dotnet/src/webdriver/Chromium/ChromiumOptions.cs +++ b/dotnet/src/webdriver/Chromium/ChromiumOptions.cs @@ -22,8 +22,6 @@ using System.Collections.ObjectModel; using System.IO; -#nullable enable - namespace OpenQA.Selenium.Chromium { /// diff --git a/dotnet/src/webdriver/Chromium/ChromiumPerformanceLoggingPreferences.cs b/dotnet/src/webdriver/Chromium/ChromiumPerformanceLoggingPreferences.cs index 65761bdedc645..8c392fdd54f49 100644 --- a/dotnet/src/webdriver/Chromium/ChromiumPerformanceLoggingPreferences.cs +++ b/dotnet/src/webdriver/Chromium/ChromiumPerformanceLoggingPreferences.cs @@ -20,8 +20,6 @@ using System; using System.Collections.Generic; -#nullable enable - namespace OpenQA.Selenium.Chromium { /// diff --git a/dotnet/src/webdriver/Command.cs b/dotnet/src/webdriver/Command.cs index 4714c638c5ed8..b3bce18434aa2 100644 --- a/dotnet/src/webdriver/Command.cs +++ b/dotnet/src/webdriver/Command.cs @@ -24,8 +24,6 @@ using System.Text.Json.Serialization; using System.Text.Json.Serialization.Metadata; -#nullable enable - namespace OpenQA.Selenium { /// diff --git a/dotnet/src/webdriver/CommandInfo.cs b/dotnet/src/webdriver/CommandInfo.cs index a1bde2f141a20..7e8958aade11f 100644 --- a/dotnet/src/webdriver/CommandInfo.cs +++ b/dotnet/src/webdriver/CommandInfo.cs @@ -19,8 +19,6 @@ using System; -#nullable enable - namespace OpenQA.Selenium { /// diff --git a/dotnet/src/webdriver/CommandInfoRepository.cs b/dotnet/src/webdriver/CommandInfoRepository.cs index 36b19d6ea3b6d..39bd704247545 100644 --- a/dotnet/src/webdriver/CommandInfoRepository.cs +++ b/dotnet/src/webdriver/CommandInfoRepository.cs @@ -21,8 +21,6 @@ using System.Collections.Generic; using System.Globalization; -#nullable enable - namespace OpenQA.Selenium { /// diff --git a/dotnet/src/webdriver/Cookie.cs b/dotnet/src/webdriver/Cookie.cs index 242c841e4c695..ee1a685cbbad3 100644 --- a/dotnet/src/webdriver/Cookie.cs +++ b/dotnet/src/webdriver/Cookie.cs @@ -24,8 +24,6 @@ using System.Linq; using System.Text.Json.Serialization; -#nullable enable - namespace OpenQA.Selenium { /// diff --git a/dotnet/src/webdriver/CookieJar.cs b/dotnet/src/webdriver/CookieJar.cs index 4d25f8b5c4714..0a8fa26895488 100644 --- a/dotnet/src/webdriver/CookieJar.cs +++ b/dotnet/src/webdriver/CookieJar.cs @@ -21,8 +21,6 @@ using System.Collections.Generic; using System.Collections.ObjectModel; -#nullable enable - namespace OpenQA.Selenium { internal sealed class CookieJar(WebDriver driver) : ICookieJar diff --git a/dotnet/src/webdriver/DefaultFileDetector.cs b/dotnet/src/webdriver/DefaultFileDetector.cs index 4f21649d1311e..f25ef33720548 100644 --- a/dotnet/src/webdriver/DefaultFileDetector.cs +++ b/dotnet/src/webdriver/DefaultFileDetector.cs @@ -19,8 +19,6 @@ using System.Diagnostics.CodeAnalysis; -#nullable enable - namespace OpenQA.Selenium { /// diff --git a/dotnet/src/webdriver/DetachedShadowRootException.cs b/dotnet/src/webdriver/DetachedShadowRootException.cs index ae45207be9c2a..1bab7cfce1adf 100644 --- a/dotnet/src/webdriver/DetachedShadowRootException.cs +++ b/dotnet/src/webdriver/DetachedShadowRootException.cs @@ -19,8 +19,6 @@ using System; -#nullable enable - namespace OpenQA.Selenium { /// diff --git a/dotnet/src/webdriver/DevTools/AuthRequiredEventArgs.cs b/dotnet/src/webdriver/DevTools/AuthRequiredEventArgs.cs index 0763b730eb120..6d6a8677c2e59 100644 --- a/dotnet/src/webdriver/DevTools/AuthRequiredEventArgs.cs +++ b/dotnet/src/webdriver/DevTools/AuthRequiredEventArgs.cs @@ -19,8 +19,6 @@ using System; -#nullable enable - namespace OpenQA.Selenium.DevTools { /// diff --git a/dotnet/src/webdriver/DevTools/BindingCalledEventArgs.cs b/dotnet/src/webdriver/DevTools/BindingCalledEventArgs.cs index b51fc14f5f962..d62553cb76d4b 100644 --- a/dotnet/src/webdriver/DevTools/BindingCalledEventArgs.cs +++ b/dotnet/src/webdriver/DevTools/BindingCalledEventArgs.cs @@ -19,8 +19,6 @@ using System; -#nullable enable - namespace OpenQA.Selenium.DevTools { /// diff --git a/dotnet/src/webdriver/DevTools/CommandResponseException.cs b/dotnet/src/webdriver/DevTools/CommandResponseException.cs index 9a292804b885f..cfda351efc23d 100644 --- a/dotnet/src/webdriver/DevTools/CommandResponseException.cs +++ b/dotnet/src/webdriver/DevTools/CommandResponseException.cs @@ -19,8 +19,6 @@ using System; -#nullable enable - namespace OpenQA.Selenium.DevTools { /// diff --git a/dotnet/src/webdriver/DevTools/CommandResponseExtensions.cs b/dotnet/src/webdriver/DevTools/CommandResponseExtensions.cs index d08895c4f9dd7..2c6f5f574ad38 100644 --- a/dotnet/src/webdriver/DevTools/CommandResponseExtensions.cs +++ b/dotnet/src/webdriver/DevTools/CommandResponseExtensions.cs @@ -17,8 +17,6 @@ // under the License. // -#nullable enable - namespace OpenQA.Selenium.DevTools { /// diff --git a/dotnet/src/webdriver/DevTools/CommandResponseTypeMap.cs b/dotnet/src/webdriver/DevTools/CommandResponseTypeMap.cs index d4d3756238085..0d467fbc8dd76 100644 --- a/dotnet/src/webdriver/DevTools/CommandResponseTypeMap.cs +++ b/dotnet/src/webdriver/DevTools/CommandResponseTypeMap.cs @@ -21,8 +21,6 @@ using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; -#nullable enable - namespace OpenQA.Selenium.DevTools { /// diff --git a/dotnet/src/webdriver/DevTools/ConsoleApiArgument.cs b/dotnet/src/webdriver/DevTools/ConsoleApiArgument.cs index bd5aae21cdb2f..18b9cc445ec58 100644 --- a/dotnet/src/webdriver/DevTools/ConsoleApiArgument.cs +++ b/dotnet/src/webdriver/DevTools/ConsoleApiArgument.cs @@ -17,8 +17,6 @@ // under the License. // -#nullable enable - using System; namespace OpenQA.Selenium.DevTools diff --git a/dotnet/src/webdriver/DevTools/ConsoleApiCalledEventArgs.cs b/dotnet/src/webdriver/DevTools/ConsoleApiCalledEventArgs.cs index 0c702fe22b558..86a3ee8c35b2d 100644 --- a/dotnet/src/webdriver/DevTools/ConsoleApiCalledEventArgs.cs +++ b/dotnet/src/webdriver/DevTools/ConsoleApiCalledEventArgs.cs @@ -20,8 +20,6 @@ using System; using System.Collections.ObjectModel; -#nullable enable - namespace OpenQA.Selenium.DevTools { /// diff --git a/dotnet/src/webdriver/DevTools/DevToolsCommandData.cs b/dotnet/src/webdriver/DevTools/DevToolsCommandData.cs index cbc30ed42cc87..aaf0531bc375f 100644 --- a/dotnet/src/webdriver/DevTools/DevToolsCommandData.cs +++ b/dotnet/src/webdriver/DevTools/DevToolsCommandData.cs @@ -23,8 +23,6 @@ using System.Text.Json.Serialization; using System.Threading; -#nullable enable - namespace OpenQA.Selenium.DevTools { /// diff --git a/dotnet/src/webdriver/DevTools/DevToolsDomains.cs b/dotnet/src/webdriver/DevTools/DevToolsDomains.cs index 9e0182037d923..95e0333ddfe1e 100644 --- a/dotnet/src/webdriver/DevTools/DevToolsDomains.cs +++ b/dotnet/src/webdriver/DevTools/DevToolsDomains.cs @@ -20,8 +20,6 @@ using System; using System.Collections.Generic; -#nullable enable - namespace OpenQA.Selenium.DevTools { /// diff --git a/dotnet/src/webdriver/DevTools/DevToolsEventData.cs b/dotnet/src/webdriver/DevTools/DevToolsEventData.cs index 9f27e3c88fe1e..a44bd800de9c5 100644 --- a/dotnet/src/webdriver/DevTools/DevToolsEventData.cs +++ b/dotnet/src/webdriver/DevTools/DevToolsEventData.cs @@ -19,8 +19,6 @@ using System; -#nullable enable - namespace OpenQA.Selenium.DevTools { /// diff --git a/dotnet/src/webdriver/DevTools/DevToolsExtensionMethods.cs b/dotnet/src/webdriver/DevTools/DevToolsExtensionMethods.cs index 0471eee435529..21711f1822b75 100644 --- a/dotnet/src/webdriver/DevTools/DevToolsExtensionMethods.cs +++ b/dotnet/src/webdriver/DevTools/DevToolsExtensionMethods.cs @@ -17,8 +17,6 @@ // under the License. // -#nullable enable - namespace OpenQA.Selenium.DevTools { /// diff --git a/dotnet/src/webdriver/DevTools/DevToolsOptions.cs b/dotnet/src/webdriver/DevTools/DevToolsOptions.cs index e3222fba48315..e0b5f365261a7 100644 --- a/dotnet/src/webdriver/DevTools/DevToolsOptions.cs +++ b/dotnet/src/webdriver/DevTools/DevToolsOptions.cs @@ -17,8 +17,6 @@ // under the License. // -#nullable enable - namespace OpenQA.Selenium.DevTools { /// diff --git a/dotnet/src/webdriver/DevTools/DevToolsSession.cs b/dotnet/src/webdriver/DevTools/DevToolsSession.cs index 28d9b9def942f..9e538d8fea21f 100644 --- a/dotnet/src/webdriver/DevTools/DevToolsSession.cs +++ b/dotnet/src/webdriver/DevTools/DevToolsSession.cs @@ -28,8 +28,6 @@ using System.Threading; using System.Threading.Tasks; -#nullable enable - namespace OpenQA.Selenium.DevTools { /// diff --git a/dotnet/src/webdriver/DevTools/DevToolsSessionDomains.cs b/dotnet/src/webdriver/DevTools/DevToolsSessionDomains.cs index a7c6825e8a659..c05a20488da16 100644 --- a/dotnet/src/webdriver/DevTools/DevToolsSessionDomains.cs +++ b/dotnet/src/webdriver/DevTools/DevToolsSessionDomains.cs @@ -17,8 +17,6 @@ // under the License. // -#nullable enable - namespace OpenQA.Selenium.DevTools { /// diff --git a/dotnet/src/webdriver/DevTools/DevToolsSessionEventReceivedEventArgs.cs b/dotnet/src/webdriver/DevTools/DevToolsSessionEventReceivedEventArgs.cs index 80ce25cd78403..849bf9643b5a5 100644 --- a/dotnet/src/webdriver/DevTools/DevToolsSessionEventReceivedEventArgs.cs +++ b/dotnet/src/webdriver/DevTools/DevToolsSessionEventReceivedEventArgs.cs @@ -21,8 +21,6 @@ using System.Text.Json; using System.Text.Json.Nodes; -#nullable enable - namespace OpenQA.Selenium.DevTools { /// diff --git a/dotnet/src/webdriver/DevTools/DevToolsSessionLogMessageEventArgs.cs b/dotnet/src/webdriver/DevTools/DevToolsSessionLogMessageEventArgs.cs index f11553a7eabdb..a8d881a156624 100644 --- a/dotnet/src/webdriver/DevTools/DevToolsSessionLogMessageEventArgs.cs +++ b/dotnet/src/webdriver/DevTools/DevToolsSessionLogMessageEventArgs.cs @@ -19,8 +19,6 @@ using System; -#nullable enable - namespace OpenQA.Selenium.DevTools { /// diff --git a/dotnet/src/webdriver/DevTools/DevToolsVersionInfo.cs b/dotnet/src/webdriver/DevTools/DevToolsVersionInfo.cs index 92ad6170ba8af..55055725b9f6d 100644 --- a/dotnet/src/webdriver/DevTools/DevToolsVersionInfo.cs +++ b/dotnet/src/webdriver/DevTools/DevToolsVersionInfo.cs @@ -21,8 +21,6 @@ using System.Text.Json.Serialization; using System.Text.RegularExpressions; -#nullable enable - namespace OpenQA.Selenium.DevTools { /// diff --git a/dotnet/src/webdriver/DevTools/EntryAddedEventArgs.cs b/dotnet/src/webdriver/DevTools/EntryAddedEventArgs.cs index 42513ddd46479..60df52864a714 100644 --- a/dotnet/src/webdriver/DevTools/EntryAddedEventArgs.cs +++ b/dotnet/src/webdriver/DevTools/EntryAddedEventArgs.cs @@ -19,8 +19,6 @@ using System; -#nullable enable - namespace OpenQA.Selenium.DevTools { /// diff --git a/dotnet/src/webdriver/DevTools/ExceptionThrownEventArgs.cs b/dotnet/src/webdriver/DevTools/ExceptionThrownEventArgs.cs index 8c1d92211a539..554625ea88d90 100644 --- a/dotnet/src/webdriver/DevTools/ExceptionThrownEventArgs.cs +++ b/dotnet/src/webdriver/DevTools/ExceptionThrownEventArgs.cs @@ -19,8 +19,6 @@ using System; -#nullable enable - namespace OpenQA.Selenium.DevTools { /// diff --git a/dotnet/src/webdriver/DevTools/ICommand.cs b/dotnet/src/webdriver/DevTools/ICommand.cs index 2d9908cb67248..0c30598fceea6 100644 --- a/dotnet/src/webdriver/DevTools/ICommand.cs +++ b/dotnet/src/webdriver/DevTools/ICommand.cs @@ -17,8 +17,6 @@ // under the License. // -#nullable enable - namespace OpenQA.Selenium.DevTools { /// diff --git a/dotnet/src/webdriver/DevTools/IDevTools.cs b/dotnet/src/webdriver/DevTools/IDevTools.cs index 4c256730e1ff8..2a6fbed3a9a05 100644 --- a/dotnet/src/webdriver/DevTools/IDevTools.cs +++ b/dotnet/src/webdriver/DevTools/IDevTools.cs @@ -20,8 +20,6 @@ using System; using System.Diagnostics.CodeAnalysis; -#nullable enable - namespace OpenQA.Selenium.DevTools { /// diff --git a/dotnet/src/webdriver/DevTools/IDevToolsSession.cs b/dotnet/src/webdriver/DevTools/IDevToolsSession.cs index 705ef72649e55..2682f1b929c8f 100644 --- a/dotnet/src/webdriver/DevTools/IDevToolsSession.cs +++ b/dotnet/src/webdriver/DevTools/IDevToolsSession.cs @@ -24,8 +24,6 @@ using System.Threading; using System.Threading.Tasks; -#nullable enable - namespace OpenQA.Selenium.DevTools { /// diff --git a/dotnet/src/webdriver/DevTools/JavaScript.cs b/dotnet/src/webdriver/DevTools/JavaScript.cs index 5af95f6df15b2..801ed039544e5 100644 --- a/dotnet/src/webdriver/DevTools/JavaScript.cs +++ b/dotnet/src/webdriver/DevTools/JavaScript.cs @@ -20,8 +20,6 @@ using System; using System.Threading.Tasks; -#nullable enable - namespace OpenQA.Selenium.DevTools { /// diff --git a/dotnet/src/webdriver/DevTools/Json/DevToolsJsonOptions.cs b/dotnet/src/webdriver/DevTools/Json/DevToolsJsonOptions.cs index 4b624a9f6b43e..3336d08f26fb4 100644 --- a/dotnet/src/webdriver/DevTools/Json/DevToolsJsonOptions.cs +++ b/dotnet/src/webdriver/DevTools/Json/DevToolsJsonOptions.cs @@ -19,8 +19,6 @@ using System.Text.Json; -#nullable enable - namespace OpenQA.Selenium.DevTools.Json; internal static class DevToolsJsonOptions diff --git a/dotnet/src/webdriver/DevTools/Json/JsonEnumMemberConverter.cs b/dotnet/src/webdriver/DevTools/Json/JsonEnumMemberConverter.cs index 5de59cd8cfb61..25cb36aa082a8 100644 --- a/dotnet/src/webdriver/DevTools/Json/JsonEnumMemberConverter.cs +++ b/dotnet/src/webdriver/DevTools/Json/JsonEnumMemberConverter.cs @@ -25,8 +25,6 @@ using System.Text.Json; using System.Text.Json.Serialization; -#nullable enable - namespace OpenQA.Selenium.DevTools.Json { internal sealed class JsonEnumMemberConverter<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicFields)] TEnum> : JsonConverter diff --git a/dotnet/src/webdriver/DevTools/Json/StringConverter.cs b/dotnet/src/webdriver/DevTools/Json/StringConverter.cs index cb9fa5e5f7b7d..4f2d50e3b74a0 100644 --- a/dotnet/src/webdriver/DevTools/Json/StringConverter.cs +++ b/dotnet/src/webdriver/DevTools/Json/StringConverter.cs @@ -22,8 +22,6 @@ using System.Text.Json; using System.Text.Json.Serialization; -#nullable enable - namespace OpenQA.Selenium.DevTools.Json; internal sealed class StringConverter : JsonConverter diff --git a/dotnet/src/webdriver/DevTools/Log.cs b/dotnet/src/webdriver/DevTools/Log.cs index 55c35124bda34..579b3f4de110d 100644 --- a/dotnet/src/webdriver/DevTools/Log.cs +++ b/dotnet/src/webdriver/DevTools/Log.cs @@ -20,8 +20,6 @@ using System; using System.Threading.Tasks; -#nullable enable - namespace OpenQA.Selenium.DevTools { /// diff --git a/dotnet/src/webdriver/DevTools/LogEntry.cs b/dotnet/src/webdriver/DevTools/LogEntry.cs index df120de4ee179..f5120ac3a3cb5 100644 --- a/dotnet/src/webdriver/DevTools/LogEntry.cs +++ b/dotnet/src/webdriver/DevTools/LogEntry.cs @@ -17,8 +17,6 @@ // under the License. // -#nullable enable - namespace OpenQA.Selenium.DevTools { /// diff --git a/dotnet/src/webdriver/DevTools/Network.cs b/dotnet/src/webdriver/DevTools/Network.cs index 5b6b021e6596c..e59eb509f06c9 100644 --- a/dotnet/src/webdriver/DevTools/Network.cs +++ b/dotnet/src/webdriver/DevTools/Network.cs @@ -21,8 +21,6 @@ using System.Linq; using System.Threading.Tasks; -#nullable enable - namespace OpenQA.Selenium.DevTools { /// diff --git a/dotnet/src/webdriver/DevTools/RequestPausedEventArgs.cs b/dotnet/src/webdriver/DevTools/RequestPausedEventArgs.cs index 717a411cfc17e..1df3aaaf6e2c9 100644 --- a/dotnet/src/webdriver/DevTools/RequestPausedEventArgs.cs +++ b/dotnet/src/webdriver/DevTools/RequestPausedEventArgs.cs @@ -19,8 +19,6 @@ using System; -#nullable enable - namespace OpenQA.Selenium.DevTools { /// diff --git a/dotnet/src/webdriver/DevTools/ResponsePausedEventArgs.cs b/dotnet/src/webdriver/DevTools/ResponsePausedEventArgs.cs index a38ccc40ec285..417a1e4b43680 100644 --- a/dotnet/src/webdriver/DevTools/ResponsePausedEventArgs.cs +++ b/dotnet/src/webdriver/DevTools/ResponsePausedEventArgs.cs @@ -19,8 +19,6 @@ using System; -#nullable enable - namespace OpenQA.Selenium.DevTools { /// diff --git a/dotnet/src/webdriver/DevTools/Target.cs b/dotnet/src/webdriver/DevTools/Target.cs index 8f1925429e82e..179879c30af6e 100644 --- a/dotnet/src/webdriver/DevTools/Target.cs +++ b/dotnet/src/webdriver/DevTools/Target.cs @@ -21,8 +21,6 @@ using System.Collections.ObjectModel; using System.Threading.Tasks; -#nullable enable - namespace OpenQA.Selenium.DevTools { /// diff --git a/dotnet/src/webdriver/DevTools/TargetAttachedEventArgs.cs b/dotnet/src/webdriver/DevTools/TargetAttachedEventArgs.cs index 90cc8c2c2db44..0f991da432c90 100644 --- a/dotnet/src/webdriver/DevTools/TargetAttachedEventArgs.cs +++ b/dotnet/src/webdriver/DevTools/TargetAttachedEventArgs.cs @@ -19,8 +19,6 @@ using System; -#nullable enable - namespace OpenQA.Selenium.DevTools { /// diff --git a/dotnet/src/webdriver/DevTools/TargetDetachedEventArgs.cs b/dotnet/src/webdriver/DevTools/TargetDetachedEventArgs.cs index a171f49b723e6..b21bc5d343dec 100644 --- a/dotnet/src/webdriver/DevTools/TargetDetachedEventArgs.cs +++ b/dotnet/src/webdriver/DevTools/TargetDetachedEventArgs.cs @@ -19,8 +19,6 @@ using System; -#nullable enable - namespace OpenQA.Selenium.DevTools { /// diff --git a/dotnet/src/webdriver/DevTools/TargetInfo.cs b/dotnet/src/webdriver/DevTools/TargetInfo.cs index f2248f9300d5d..b66e7769e0f50 100644 --- a/dotnet/src/webdriver/DevTools/TargetInfo.cs +++ b/dotnet/src/webdriver/DevTools/TargetInfo.cs @@ -17,8 +17,6 @@ // under the License. // -#nullable enable - namespace OpenQA.Selenium.DevTools { /// diff --git a/dotnet/src/webdriver/DevTools/WebSocketConnection.cs b/dotnet/src/webdriver/DevTools/WebSocketConnection.cs index b874c2f0689ed..e0b2447304264 100644 --- a/dotnet/src/webdriver/DevTools/WebSocketConnection.cs +++ b/dotnet/src/webdriver/DevTools/WebSocketConnection.cs @@ -23,8 +23,6 @@ using System.Threading; using System.Threading.Tasks; -#nullable enable - namespace OpenQA.Selenium.DevTools { /// diff --git a/dotnet/src/webdriver/DevTools/WebSocketConnectionDataReceivedEventArgs.cs b/dotnet/src/webdriver/DevTools/WebSocketConnectionDataReceivedEventArgs.cs index 1d062373ad952..d0aa266d1646a 100644 --- a/dotnet/src/webdriver/DevTools/WebSocketConnectionDataReceivedEventArgs.cs +++ b/dotnet/src/webdriver/DevTools/WebSocketConnectionDataReceivedEventArgs.cs @@ -19,8 +19,6 @@ using System; -#nullable enable - namespace OpenQA.Selenium.DevTools { /// diff --git a/dotnet/src/webdriver/DevTools/v131/V131Domains.cs b/dotnet/src/webdriver/DevTools/v131/V131Domains.cs index d7be2850d038e..ffdf2d48d3cf0 100644 --- a/dotnet/src/webdriver/DevTools/v131/V131Domains.cs +++ b/dotnet/src/webdriver/DevTools/v131/V131Domains.cs @@ -19,8 +19,6 @@ using System; -#nullable enable - namespace OpenQA.Selenium.DevTools.V131 { /// diff --git a/dotnet/src/webdriver/DevTools/v131/V131JavaScript.cs b/dotnet/src/webdriver/DevTools/v131/V131JavaScript.cs index fe3cdcaf0c986..e14772b4ec8ff 100644 --- a/dotnet/src/webdriver/DevTools/v131/V131JavaScript.cs +++ b/dotnet/src/webdriver/DevTools/v131/V131JavaScript.cs @@ -23,8 +23,6 @@ using System.Collections.Generic; using System.Threading.Tasks; -#nullable enable - namespace OpenQA.Selenium.DevTools.V131 { /// diff --git a/dotnet/src/webdriver/DevTools/v131/V131Log.cs b/dotnet/src/webdriver/DevTools/v131/V131Log.cs index 31466584fd53b..e53bdcc5acb1c 100644 --- a/dotnet/src/webdriver/DevTools/v131/V131Log.cs +++ b/dotnet/src/webdriver/DevTools/v131/V131Log.cs @@ -21,8 +21,6 @@ using System; using System.Threading.Tasks; -#nullable enable - namespace OpenQA.Selenium.DevTools.V131 { /// diff --git a/dotnet/src/webdriver/DevTools/v131/V131Network.cs b/dotnet/src/webdriver/DevTools/v131/V131Network.cs index d3a647e020f54..74d4d58a46a53 100644 --- a/dotnet/src/webdriver/DevTools/v131/V131Network.cs +++ b/dotnet/src/webdriver/DevTools/v131/V131Network.cs @@ -24,8 +24,6 @@ using System.Text; using System.Threading.Tasks; -#nullable enable - namespace OpenQA.Selenium.DevTools.V131 { /// diff --git a/dotnet/src/webdriver/DevTools/v131/V131Target.cs b/dotnet/src/webdriver/DevTools/v131/V131Target.cs index 914e8a75ca8c9..31c26389595e0 100644 --- a/dotnet/src/webdriver/DevTools/v131/V131Target.cs +++ b/dotnet/src/webdriver/DevTools/v131/V131Target.cs @@ -23,8 +23,6 @@ using System.Collections.ObjectModel; using System.Threading.Tasks; -#nullable enable - namespace OpenQA.Selenium.DevTools.V131 { /// diff --git a/dotnet/src/webdriver/DevTools/v132/V132Domains.cs b/dotnet/src/webdriver/DevTools/v132/V132Domains.cs index 095893698d090..d37e0dc6e1b68 100644 --- a/dotnet/src/webdriver/DevTools/v132/V132Domains.cs +++ b/dotnet/src/webdriver/DevTools/v132/V132Domains.cs @@ -19,8 +19,6 @@ using System; -#nullable enable - namespace OpenQA.Selenium.DevTools.V132 { /// diff --git a/dotnet/src/webdriver/DevTools/v132/V132JavaScript.cs b/dotnet/src/webdriver/DevTools/v132/V132JavaScript.cs index bf9f0dc4b8bb8..d1e95fa677566 100644 --- a/dotnet/src/webdriver/DevTools/v132/V132JavaScript.cs +++ b/dotnet/src/webdriver/DevTools/v132/V132JavaScript.cs @@ -23,8 +23,6 @@ using System.Collections.Generic; using System.Threading.Tasks; -#nullable enable - namespace OpenQA.Selenium.DevTools.V132 { /// diff --git a/dotnet/src/webdriver/DevTools/v132/V132Log.cs b/dotnet/src/webdriver/DevTools/v132/V132Log.cs index 5c6486bc0235c..28e498387f6ba 100644 --- a/dotnet/src/webdriver/DevTools/v132/V132Log.cs +++ b/dotnet/src/webdriver/DevTools/v132/V132Log.cs @@ -21,8 +21,6 @@ using System; using System.Threading.Tasks; -#nullable enable - namespace OpenQA.Selenium.DevTools.V132 { /// diff --git a/dotnet/src/webdriver/DevTools/v132/V132Network.cs b/dotnet/src/webdriver/DevTools/v132/V132Network.cs index 7f0215b40e082..ea7472b7afded 100644 --- a/dotnet/src/webdriver/DevTools/v132/V132Network.cs +++ b/dotnet/src/webdriver/DevTools/v132/V132Network.cs @@ -24,8 +24,6 @@ using System.Text; using System.Threading.Tasks; -#nullable enable - namespace OpenQA.Selenium.DevTools.V132 { /// diff --git a/dotnet/src/webdriver/DevTools/v132/V132Target.cs b/dotnet/src/webdriver/DevTools/v132/V132Target.cs index 20791a390881b..d31ba4940c194 100644 --- a/dotnet/src/webdriver/DevTools/v132/V132Target.cs +++ b/dotnet/src/webdriver/DevTools/v132/V132Target.cs @@ -23,8 +23,6 @@ using System.Collections.ObjectModel; using System.Threading.Tasks; -#nullable enable - namespace OpenQA.Selenium.DevTools.V132 { /// diff --git a/dotnet/src/webdriver/DevTools/v133/V133Domains.cs b/dotnet/src/webdriver/DevTools/v133/V133Domains.cs index 40c62e0259670..89c279a98c66b 100644 --- a/dotnet/src/webdriver/DevTools/v133/V133Domains.cs +++ b/dotnet/src/webdriver/DevTools/v133/V133Domains.cs @@ -19,8 +19,6 @@ using System; -#nullable enable - namespace OpenQA.Selenium.DevTools.V133 { /// diff --git a/dotnet/src/webdriver/DevTools/v133/V133JavaScript.cs b/dotnet/src/webdriver/DevTools/v133/V133JavaScript.cs index 0bd6ceec3c60e..578f8c9b36faa 100644 --- a/dotnet/src/webdriver/DevTools/v133/V133JavaScript.cs +++ b/dotnet/src/webdriver/DevTools/v133/V133JavaScript.cs @@ -23,8 +23,6 @@ using System.Collections.Generic; using System.Threading.Tasks; -#nullable enable - namespace OpenQA.Selenium.DevTools.V133 { /// diff --git a/dotnet/src/webdriver/DevTools/v133/V133Log.cs b/dotnet/src/webdriver/DevTools/v133/V133Log.cs index 0f1243541ba05..e6cf6043987b5 100644 --- a/dotnet/src/webdriver/DevTools/v133/V133Log.cs +++ b/dotnet/src/webdriver/DevTools/v133/V133Log.cs @@ -21,8 +21,6 @@ using System; using System.Threading.Tasks; -#nullable enable - namespace OpenQA.Selenium.DevTools.V133 { /// diff --git a/dotnet/src/webdriver/DevTools/v133/V133Network.cs b/dotnet/src/webdriver/DevTools/v133/V133Network.cs index d23783ff89ed4..e9634fb7eda2c 100644 --- a/dotnet/src/webdriver/DevTools/v133/V133Network.cs +++ b/dotnet/src/webdriver/DevTools/v133/V133Network.cs @@ -24,8 +24,6 @@ using System.Text; using System.Threading.Tasks; -#nullable enable - namespace OpenQA.Selenium.DevTools.V133 { /// diff --git a/dotnet/src/webdriver/DevTools/v133/V133Target.cs b/dotnet/src/webdriver/DevTools/v133/V133Target.cs index 7a1139f665450..ad134f0af28f2 100644 --- a/dotnet/src/webdriver/DevTools/v133/V133Target.cs +++ b/dotnet/src/webdriver/DevTools/v133/V133Target.cs @@ -23,8 +23,6 @@ using System.Collections.ObjectModel; using System.Threading.Tasks; -#nullable enable - namespace OpenQA.Selenium.DevTools.V133 { /// diff --git a/dotnet/src/webdriver/DevTools/v85/V85Domains.cs b/dotnet/src/webdriver/DevTools/v85/V85Domains.cs index 4285f0262de52..277da8696e741 100644 --- a/dotnet/src/webdriver/DevTools/v85/V85Domains.cs +++ b/dotnet/src/webdriver/DevTools/v85/V85Domains.cs @@ -19,8 +19,6 @@ using System; -#nullable enable - namespace OpenQA.Selenium.DevTools.V85 { /// diff --git a/dotnet/src/webdriver/DevTools/v85/V85JavaScript.cs b/dotnet/src/webdriver/DevTools/v85/V85JavaScript.cs index 67066364032d0..a7bb730bba7a7 100644 --- a/dotnet/src/webdriver/DevTools/v85/V85JavaScript.cs +++ b/dotnet/src/webdriver/DevTools/v85/V85JavaScript.cs @@ -23,8 +23,6 @@ using System.Collections.Generic; using System.Threading.Tasks; -#nullable enable - namespace OpenQA.Selenium.DevTools.V85 { /// diff --git a/dotnet/src/webdriver/DevTools/v85/V85Log.cs b/dotnet/src/webdriver/DevTools/v85/V85Log.cs index 0d2332d1ba0ff..d930e2388e7e2 100644 --- a/dotnet/src/webdriver/DevTools/v85/V85Log.cs +++ b/dotnet/src/webdriver/DevTools/v85/V85Log.cs @@ -21,8 +21,6 @@ using System; using System.Threading.Tasks; -#nullable enable - namespace OpenQA.Selenium.DevTools.V85 { /// diff --git a/dotnet/src/webdriver/DevTools/v85/V85Network.cs b/dotnet/src/webdriver/DevTools/v85/V85Network.cs index 91ac0c803eeea..8c70104abbe47 100644 --- a/dotnet/src/webdriver/DevTools/v85/V85Network.cs +++ b/dotnet/src/webdriver/DevTools/v85/V85Network.cs @@ -24,8 +24,6 @@ using System.Text; using System.Threading.Tasks; -#nullable enable - namespace OpenQA.Selenium.DevTools.V85 { /// diff --git a/dotnet/src/webdriver/DevTools/v85/V85Target.cs b/dotnet/src/webdriver/DevTools/v85/V85Target.cs index fb40a4be8f368..06d7e91ceb4df 100644 --- a/dotnet/src/webdriver/DevTools/v85/V85Target.cs +++ b/dotnet/src/webdriver/DevTools/v85/V85Target.cs @@ -23,8 +23,6 @@ using System.Collections.ObjectModel; using System.Threading.Tasks; -#nullable enable - namespace OpenQA.Selenium.DevTools.V85 { /// diff --git a/dotnet/src/webdriver/DomMutatedEventArgs.cs b/dotnet/src/webdriver/DomMutatedEventArgs.cs index 04577d42c2d9e..3ee853a0c36a4 100644 --- a/dotnet/src/webdriver/DomMutatedEventArgs.cs +++ b/dotnet/src/webdriver/DomMutatedEventArgs.cs @@ -19,8 +19,6 @@ using System; -#nullable enable - namespace OpenQA.Selenium { /// diff --git a/dotnet/src/webdriver/DomMutationData.cs b/dotnet/src/webdriver/DomMutationData.cs index 84b2e8ad499a3..9cd60bef69d24 100644 --- a/dotnet/src/webdriver/DomMutationData.cs +++ b/dotnet/src/webdriver/DomMutationData.cs @@ -19,8 +19,6 @@ using System.Text.Json.Serialization; -#nullable enable - namespace OpenQA.Selenium { /// diff --git a/dotnet/src/webdriver/DriverCommand.cs b/dotnet/src/webdriver/DriverCommand.cs index 6bd32f861d7be..9d91b5b3bc71c 100644 --- a/dotnet/src/webdriver/DriverCommand.cs +++ b/dotnet/src/webdriver/DriverCommand.cs @@ -19,8 +19,6 @@ using System.Collections.Generic; -#nullable enable - namespace OpenQA.Selenium { /// diff --git a/dotnet/src/webdriver/DriverFinder.cs b/dotnet/src/webdriver/DriverFinder.cs index 901784a51cb29..e4afdca09382a 100644 --- a/dotnet/src/webdriver/DriverFinder.cs +++ b/dotnet/src/webdriver/DriverFinder.cs @@ -24,8 +24,6 @@ using System.IO; using System.Text; -#nullable enable - namespace OpenQA.Selenium { /// diff --git a/dotnet/src/webdriver/DriverOptions.cs b/dotnet/src/webdriver/DriverOptions.cs index 93150dd91013f..d47f62374f04a 100644 --- a/dotnet/src/webdriver/DriverOptions.cs +++ b/dotnet/src/webdriver/DriverOptions.cs @@ -24,8 +24,6 @@ using System.Diagnostics.CodeAnalysis; using System.Globalization; -#nullable enable - namespace OpenQA.Selenium { /// diff --git a/dotnet/src/webdriver/DriverOptionsMergeResult.cs b/dotnet/src/webdriver/DriverOptionsMergeResult.cs index 734eca812f3ca..921ba14e64bf8 100644 --- a/dotnet/src/webdriver/DriverOptionsMergeResult.cs +++ b/dotnet/src/webdriver/DriverOptionsMergeResult.cs @@ -17,8 +17,6 @@ // under the License. // -#nullable enable - namespace OpenQA.Selenium.Remote { /// diff --git a/dotnet/src/webdriver/DriverProcessStartedEventArgs.cs b/dotnet/src/webdriver/DriverProcessStartedEventArgs.cs index 938709cc0bc1c..52f734e03a67c 100644 --- a/dotnet/src/webdriver/DriverProcessStartedEventArgs.cs +++ b/dotnet/src/webdriver/DriverProcessStartedEventArgs.cs @@ -21,8 +21,6 @@ using System.Diagnostics; using System.IO; -#nullable enable - namespace OpenQA.Selenium { /// diff --git a/dotnet/src/webdriver/DriverProcessStartingEventArgs.cs b/dotnet/src/webdriver/DriverProcessStartingEventArgs.cs index ceb3bfea01eb6..087e3d5682ca1 100644 --- a/dotnet/src/webdriver/DriverProcessStartingEventArgs.cs +++ b/dotnet/src/webdriver/DriverProcessStartingEventArgs.cs @@ -20,8 +20,6 @@ using System; using System.Diagnostics; -#nullable enable - namespace OpenQA.Selenium { /// diff --git a/dotnet/src/webdriver/DriverService.cs b/dotnet/src/webdriver/DriverService.cs index a8907cf976769..a20d66b938713 100644 --- a/dotnet/src/webdriver/DriverService.cs +++ b/dotnet/src/webdriver/DriverService.cs @@ -27,8 +27,6 @@ using System.Net.Http; using System.Threading.Tasks; -#nullable enable - namespace OpenQA.Selenium { /// diff --git a/dotnet/src/webdriver/DriverServiceNotFoundException.cs b/dotnet/src/webdriver/DriverServiceNotFoundException.cs index 2afe507aa99d0..56bf8a0f6a01f 100644 --- a/dotnet/src/webdriver/DriverServiceNotFoundException.cs +++ b/dotnet/src/webdriver/DriverServiceNotFoundException.cs @@ -19,8 +19,6 @@ using System; -#nullable enable - namespace OpenQA.Selenium { /// diff --git a/dotnet/src/webdriver/Edge/EdgeDriver.cs b/dotnet/src/webdriver/Edge/EdgeDriver.cs index 4f9dd1e94a164..4ef8a3d05369e 100644 --- a/dotnet/src/webdriver/Edge/EdgeDriver.cs +++ b/dotnet/src/webdriver/Edge/EdgeDriver.cs @@ -23,8 +23,6 @@ using System.Collections.Generic; using System.Collections.ObjectModel; -#nullable enable - namespace OpenQA.Selenium.Edge { /// diff --git a/dotnet/src/webdriver/Edge/EdgeDriverService.cs b/dotnet/src/webdriver/Edge/EdgeDriverService.cs index feca473b8f10a..6e800453db69c 100644 --- a/dotnet/src/webdriver/Edge/EdgeDriverService.cs +++ b/dotnet/src/webdriver/Edge/EdgeDriverService.cs @@ -22,8 +22,6 @@ using System; using System.IO; -#nullable enable - namespace OpenQA.Selenium.Edge { /// diff --git a/dotnet/src/webdriver/Edge/EdgeOptions.cs b/dotnet/src/webdriver/Edge/EdgeOptions.cs index 655af3225dee7..fc660ca04a136 100644 --- a/dotnet/src/webdriver/Edge/EdgeOptions.cs +++ b/dotnet/src/webdriver/Edge/EdgeOptions.cs @@ -21,8 +21,6 @@ using System; using System.Globalization; -#nullable enable - namespace OpenQA.Selenium.Edge { /// diff --git a/dotnet/src/webdriver/ElementClickInterceptedException.cs b/dotnet/src/webdriver/ElementClickInterceptedException.cs index 5f76374650a01..ed8417ccbb145 100644 --- a/dotnet/src/webdriver/ElementClickInterceptedException.cs +++ b/dotnet/src/webdriver/ElementClickInterceptedException.cs @@ -19,8 +19,6 @@ using System; -#nullable enable - namespace OpenQA.Selenium { /// diff --git a/dotnet/src/webdriver/ElementCoordinates.cs b/dotnet/src/webdriver/ElementCoordinates.cs index 0db182201c740..d4bb6be24656a 100644 --- a/dotnet/src/webdriver/ElementCoordinates.cs +++ b/dotnet/src/webdriver/ElementCoordinates.cs @@ -21,8 +21,6 @@ using OpenQA.Selenium.Internal; using System; -#nullable enable - namespace OpenQA.Selenium { /// diff --git a/dotnet/src/webdriver/ElementNotInteractableException.cs b/dotnet/src/webdriver/ElementNotInteractableException.cs index ec458b4233c85..704f293fcb71e 100644 --- a/dotnet/src/webdriver/ElementNotInteractableException.cs +++ b/dotnet/src/webdriver/ElementNotInteractableException.cs @@ -19,8 +19,6 @@ using System; -#nullable enable - namespace OpenQA.Selenium { /// diff --git a/dotnet/src/webdriver/EncodedFile.cs b/dotnet/src/webdriver/EncodedFile.cs index 45ab15a74f64a..c8b35beb436eb 100644 --- a/dotnet/src/webdriver/EncodedFile.cs +++ b/dotnet/src/webdriver/EncodedFile.cs @@ -19,8 +19,6 @@ using System; -#nullable enable - namespace OpenQA.Selenium { /// diff --git a/dotnet/src/webdriver/ErrorResponse.cs b/dotnet/src/webdriver/ErrorResponse.cs index 2d56cfe04ce99..2a9407603a55f 100644 --- a/dotnet/src/webdriver/ErrorResponse.cs +++ b/dotnet/src/webdriver/ErrorResponse.cs @@ -19,8 +19,6 @@ using System.Collections.Generic; -#nullable enable - namespace OpenQA.Selenium { /// diff --git a/dotnet/src/webdriver/Firefox/FirefoxAndroidOptions.cs b/dotnet/src/webdriver/Firefox/FirefoxAndroidOptions.cs index 8b8153fd5cffd..56bcec501c53d 100644 --- a/dotnet/src/webdriver/Firefox/FirefoxAndroidOptions.cs +++ b/dotnet/src/webdriver/Firefox/FirefoxAndroidOptions.cs @@ -22,8 +22,6 @@ using System.Collections.Generic; using System.Collections.ObjectModel; -#nullable enable - namespace OpenQA.Selenium.Firefox { /// diff --git a/dotnet/src/webdriver/Firefox/FirefoxCommandContext.cs b/dotnet/src/webdriver/Firefox/FirefoxCommandContext.cs index 00a407236dd9f..13cd9de0900dd 100644 --- a/dotnet/src/webdriver/Firefox/FirefoxCommandContext.cs +++ b/dotnet/src/webdriver/Firefox/FirefoxCommandContext.cs @@ -17,8 +17,6 @@ // under the License. // -#nullable enable - namespace OpenQA.Selenium.Firefox { /// diff --git a/dotnet/src/webdriver/Firefox/FirefoxDriver.cs b/dotnet/src/webdriver/Firefox/FirefoxDriver.cs index 57d82799f000f..beebddf390d6c 100644 --- a/dotnet/src/webdriver/Firefox/FirefoxDriver.cs +++ b/dotnet/src/webdriver/Firefox/FirefoxDriver.cs @@ -25,8 +25,6 @@ using System.IO; using System.IO.Compression; -#nullable enable - namespace OpenQA.Selenium.Firefox { /// diff --git a/dotnet/src/webdriver/Firefox/FirefoxDriverLogLevel.cs b/dotnet/src/webdriver/Firefox/FirefoxDriverLogLevel.cs index 426bd52d51ac5..580958ba0605d 100644 --- a/dotnet/src/webdriver/Firefox/FirefoxDriverLogLevel.cs +++ b/dotnet/src/webdriver/Firefox/FirefoxDriverLogLevel.cs @@ -17,8 +17,6 @@ // under the License. // -#nullable enable - namespace OpenQA.Selenium.Firefox { /// diff --git a/dotnet/src/webdriver/Firefox/FirefoxDriverService.cs b/dotnet/src/webdriver/Firefox/FirefoxDriverService.cs index f53fd5640d416..a3cce2afed357 100644 --- a/dotnet/src/webdriver/Firefox/FirefoxDriverService.cs +++ b/dotnet/src/webdriver/Firefox/FirefoxDriverService.cs @@ -23,8 +23,6 @@ using System.IO; using System.Text; -#nullable enable - namespace OpenQA.Selenium.Firefox { /// diff --git a/dotnet/src/webdriver/Firefox/FirefoxExtension.cs b/dotnet/src/webdriver/Firefox/FirefoxExtension.cs index 1126ec952a4a8..c0b6460404c3b 100644 --- a/dotnet/src/webdriver/Firefox/FirefoxExtension.cs +++ b/dotnet/src/webdriver/Firefox/FirefoxExtension.cs @@ -25,8 +25,6 @@ using System.Text.Json.Nodes; using System.Xml; -#nullable enable - namespace OpenQA.Selenium.Firefox { /// diff --git a/dotnet/src/webdriver/Firefox/FirefoxOptions.cs b/dotnet/src/webdriver/Firefox/FirefoxOptions.cs index a3f005f59455d..c21eb763039e2 100644 --- a/dotnet/src/webdriver/Firefox/FirefoxOptions.cs +++ b/dotnet/src/webdriver/Firefox/FirefoxOptions.cs @@ -20,8 +20,6 @@ using System; using System.Collections.Generic; -#nullable enable - namespace OpenQA.Selenium.Firefox { /// diff --git a/dotnet/src/webdriver/Firefox/FirefoxProfile.cs b/dotnet/src/webdriver/Firefox/FirefoxProfile.cs index dbf4eb5d83790..e25117344d718 100644 --- a/dotnet/src/webdriver/Firefox/FirefoxProfile.cs +++ b/dotnet/src/webdriver/Firefox/FirefoxProfile.cs @@ -25,8 +25,6 @@ using System.IO.Compression; using System.Text.Json; -#nullable enable - namespace OpenQA.Selenium.Firefox { /// diff --git a/dotnet/src/webdriver/Firefox/FirefoxProfileManager.cs b/dotnet/src/webdriver/Firefox/FirefoxProfileManager.cs index 601c784e946ec..561b0512fdf4e 100644 --- a/dotnet/src/webdriver/Firefox/FirefoxProfileManager.cs +++ b/dotnet/src/webdriver/Firefox/FirefoxProfileManager.cs @@ -23,8 +23,6 @@ using System.Collections.ObjectModel; using System.IO; -#nullable enable - namespace OpenQA.Selenium.Firefox { /// diff --git a/dotnet/src/webdriver/Firefox/Internal/IniFileReader.cs b/dotnet/src/webdriver/Firefox/Internal/IniFileReader.cs index 847af73d567e1..ec5ee2d2ba8ea 100644 --- a/dotnet/src/webdriver/Firefox/Internal/IniFileReader.cs +++ b/dotnet/src/webdriver/Firefox/Internal/IniFileReader.cs @@ -22,8 +22,6 @@ using System.Collections.ObjectModel; using System.IO; -#nullable enable - namespace OpenQA.Selenium.Firefox.Internal { /// diff --git a/dotnet/src/webdriver/Firefox/Preferences.cs b/dotnet/src/webdriver/Firefox/Preferences.cs index 708d3a201c045..a616c702ec86f 100644 --- a/dotnet/src/webdriver/Firefox/Preferences.cs +++ b/dotnet/src/webdriver/Firefox/Preferences.cs @@ -23,8 +23,6 @@ using System.IO; using System.Text.Json; -#nullable enable - namespace OpenQA.Selenium.Firefox { /// diff --git a/dotnet/src/webdriver/HttpCommandInfo.cs b/dotnet/src/webdriver/HttpCommandInfo.cs index 36965d875cd5b..ecca593ce55de 100644 --- a/dotnet/src/webdriver/HttpCommandInfo.cs +++ b/dotnet/src/webdriver/HttpCommandInfo.cs @@ -20,8 +20,6 @@ using System; using System.Globalization; -#nullable enable - namespace OpenQA.Selenium { /// diff --git a/dotnet/src/webdriver/HttpRequestData.cs b/dotnet/src/webdriver/HttpRequestData.cs index b5d024a9714f8..50f74d2429ff8 100644 --- a/dotnet/src/webdriver/HttpRequestData.cs +++ b/dotnet/src/webdriver/HttpRequestData.cs @@ -19,8 +19,6 @@ using System.Collections.Generic; -#nullable enable - namespace OpenQA.Selenium { /// diff --git a/dotnet/src/webdriver/HttpResponseContent.cs b/dotnet/src/webdriver/HttpResponseContent.cs index 5898b4144e058..e178462ebc514 100644 --- a/dotnet/src/webdriver/HttpResponseContent.cs +++ b/dotnet/src/webdriver/HttpResponseContent.cs @@ -20,8 +20,6 @@ using System; using System.Text; -#nullable enable - namespace OpenQA.Selenium { /// diff --git a/dotnet/src/webdriver/HttpResponseData.cs b/dotnet/src/webdriver/HttpResponseData.cs index c28ee0ed0fa4e..ac6f12e6dd670 100644 --- a/dotnet/src/webdriver/HttpResponseData.cs +++ b/dotnet/src/webdriver/HttpResponseData.cs @@ -20,8 +20,6 @@ using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; -#nullable enable - namespace OpenQA.Selenium { /// diff --git a/dotnet/src/webdriver/IActionExecutor.cs b/dotnet/src/webdriver/IActionExecutor.cs index a241f0a9f46af..99960f2a328d2 100644 --- a/dotnet/src/webdriver/IActionExecutor.cs +++ b/dotnet/src/webdriver/IActionExecutor.cs @@ -21,8 +21,6 @@ using System; using System.Collections.Generic; -#nullable enable - namespace OpenQA.Selenium { /// diff --git a/dotnet/src/webdriver/IAlert.cs b/dotnet/src/webdriver/IAlert.cs index 78c15d992c1b3..eef9b7418f1fc 100644 --- a/dotnet/src/webdriver/IAlert.cs +++ b/dotnet/src/webdriver/IAlert.cs @@ -19,8 +19,6 @@ using System; -#nullable enable - namespace OpenQA.Selenium { /// diff --git a/dotnet/src/webdriver/IAllowsFileDetection.cs b/dotnet/src/webdriver/IAllowsFileDetection.cs index b36a647675c2c..4913873186e5a 100644 --- a/dotnet/src/webdriver/IAllowsFileDetection.cs +++ b/dotnet/src/webdriver/IAllowsFileDetection.cs @@ -19,8 +19,6 @@ using System; -#nullable enable - namespace OpenQA.Selenium { /// diff --git a/dotnet/src/webdriver/ICapabilities.cs b/dotnet/src/webdriver/ICapabilities.cs index df0c8a776c77e..0e550748eddbf 100644 --- a/dotnet/src/webdriver/ICapabilities.cs +++ b/dotnet/src/webdriver/ICapabilities.cs @@ -19,8 +19,6 @@ using System; -#nullable enable - namespace OpenQA.Selenium { /// diff --git a/dotnet/src/webdriver/ICommandExecutor.cs b/dotnet/src/webdriver/ICommandExecutor.cs index 6fef4d9bf3ef1..d79a53a80a41d 100644 --- a/dotnet/src/webdriver/ICommandExecutor.cs +++ b/dotnet/src/webdriver/ICommandExecutor.cs @@ -21,8 +21,6 @@ using System.Diagnostics.CodeAnalysis; using System.Threading.Tasks; -#nullable enable - namespace OpenQA.Selenium { /// diff --git a/dotnet/src/webdriver/ICookieJar.cs b/dotnet/src/webdriver/ICookieJar.cs index b73a3085c6aba..ed01a83236b44 100644 --- a/dotnet/src/webdriver/ICookieJar.cs +++ b/dotnet/src/webdriver/ICookieJar.cs @@ -20,8 +20,6 @@ using System; using System.Collections.ObjectModel; -#nullable enable - namespace OpenQA.Selenium { /// diff --git a/dotnet/src/webdriver/ICredentials.cs b/dotnet/src/webdriver/ICredentials.cs index e56e6ea1b76de..971c3dcb821e8 100644 --- a/dotnet/src/webdriver/ICredentials.cs +++ b/dotnet/src/webdriver/ICredentials.cs @@ -17,8 +17,6 @@ // under the License. // -#nullable enable - namespace OpenQA.Selenium { /// diff --git a/dotnet/src/webdriver/ICustomDriverCommandExecutor.cs b/dotnet/src/webdriver/ICustomDriverCommandExecutor.cs index 145bb8c66013d..5003d2ff82377 100644 --- a/dotnet/src/webdriver/ICustomDriverCommandExecutor.cs +++ b/dotnet/src/webdriver/ICustomDriverCommandExecutor.cs @@ -20,8 +20,6 @@ using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; -#nullable enable - namespace OpenQA.Selenium { /// diff --git a/dotnet/src/webdriver/IE/InternetExplorerDriver.cs b/dotnet/src/webdriver/IE/InternetExplorerDriver.cs index dcc02890c7065..02ba97eb5bf8f 100644 --- a/dotnet/src/webdriver/IE/InternetExplorerDriver.cs +++ b/dotnet/src/webdriver/IE/InternetExplorerDriver.cs @@ -21,8 +21,6 @@ using System; using System.IO; -#nullable enable - namespace OpenQA.Selenium.IE { /// diff --git a/dotnet/src/webdriver/IE/InternetExplorerDriverLogLevel.cs b/dotnet/src/webdriver/IE/InternetExplorerDriverLogLevel.cs index 5778e40ed9549..840c7497bcf7e 100644 --- a/dotnet/src/webdriver/IE/InternetExplorerDriverLogLevel.cs +++ b/dotnet/src/webdriver/IE/InternetExplorerDriverLogLevel.cs @@ -17,8 +17,6 @@ // under the License. // -#nullable enable - namespace OpenQA.Selenium.IE { /// diff --git a/dotnet/src/webdriver/IE/InternetExplorerDriverService.cs b/dotnet/src/webdriver/IE/InternetExplorerDriverService.cs index 19dca45dabb44..2f5a7f10864e3 100644 --- a/dotnet/src/webdriver/IE/InternetExplorerDriverService.cs +++ b/dotnet/src/webdriver/IE/InternetExplorerDriverService.cs @@ -22,8 +22,6 @@ using System.IO; using System.Text; -#nullable enable - namespace OpenQA.Selenium.IE { /// diff --git a/dotnet/src/webdriver/IE/InternetExplorerOptions.cs b/dotnet/src/webdriver/IE/InternetExplorerOptions.cs index 0251e0c5debce..598ac6d2b503e 100644 --- a/dotnet/src/webdriver/IE/InternetExplorerOptions.cs +++ b/dotnet/src/webdriver/IE/InternetExplorerOptions.cs @@ -20,8 +20,6 @@ using System; using System.Collections.Generic; -#nullable enable - namespace OpenQA.Selenium.IE { /// diff --git a/dotnet/src/webdriver/IFileDetector.cs b/dotnet/src/webdriver/IFileDetector.cs index 2d48f6c722487..d8f7e5686454f 100644 --- a/dotnet/src/webdriver/IFileDetector.cs +++ b/dotnet/src/webdriver/IFileDetector.cs @@ -19,8 +19,6 @@ using System.Diagnostics.CodeAnalysis; -#nullable enable - namespace OpenQA.Selenium { /// diff --git a/dotnet/src/webdriver/IHasCapabilities.cs b/dotnet/src/webdriver/IHasCapabilities.cs index e428317b79b70..e15d8038ae80c 100644 --- a/dotnet/src/webdriver/IHasCapabilities.cs +++ b/dotnet/src/webdriver/IHasCapabilities.cs @@ -17,8 +17,6 @@ // under the License. // -#nullable enable - namespace OpenQA.Selenium { /// diff --git a/dotnet/src/webdriver/IHasCommandExecutor.cs b/dotnet/src/webdriver/IHasCommandExecutor.cs index 1487989cc03de..e9aa61f6f3da1 100644 --- a/dotnet/src/webdriver/IHasCommandExecutor.cs +++ b/dotnet/src/webdriver/IHasCommandExecutor.cs @@ -17,8 +17,6 @@ // under the License. // -#nullable enable - namespace OpenQA.Selenium { /// diff --git a/dotnet/src/webdriver/IHasDownloads.cs b/dotnet/src/webdriver/IHasDownloads.cs index 26680d66918ce..a01d377758fa5 100644 --- a/dotnet/src/webdriver/IHasDownloads.cs +++ b/dotnet/src/webdriver/IHasDownloads.cs @@ -19,8 +19,6 @@ using System.Collections.Generic; -#nullable enable - namespace OpenQA.Selenium { /// diff --git a/dotnet/src/webdriver/IHasSessionId.cs b/dotnet/src/webdriver/IHasSessionId.cs index 4c4863c7b7e81..100aabaaf316a 100644 --- a/dotnet/src/webdriver/IHasSessionId.cs +++ b/dotnet/src/webdriver/IHasSessionId.cs @@ -17,8 +17,6 @@ // under the License. // -#nullable enable - namespace OpenQA.Selenium { /// diff --git a/dotnet/src/webdriver/IJavaScriptEngine.cs b/dotnet/src/webdriver/IJavaScriptEngine.cs index 27a6b172d190c..110a1935f3113 100644 --- a/dotnet/src/webdriver/IJavaScriptEngine.cs +++ b/dotnet/src/webdriver/IJavaScriptEngine.cs @@ -21,8 +21,6 @@ using System.Collections.Generic; using System.Threading.Tasks; -#nullable enable - namespace OpenQA.Selenium { /// diff --git a/dotnet/src/webdriver/IJavascriptExecutor.cs b/dotnet/src/webdriver/IJavascriptExecutor.cs index addfecae7eef6..6a86f91ad8c27 100644 --- a/dotnet/src/webdriver/IJavascriptExecutor.cs +++ b/dotnet/src/webdriver/IJavascriptExecutor.cs @@ -20,8 +20,6 @@ using System; using System.Collections.Generic; -#nullable enable - namespace OpenQA.Selenium { /// diff --git a/dotnet/src/webdriver/ILocatable.cs b/dotnet/src/webdriver/ILocatable.cs index 91bd16c38a755..eeb0bfa0ef475 100644 --- a/dotnet/src/webdriver/ILocatable.cs +++ b/dotnet/src/webdriver/ILocatable.cs @@ -20,8 +20,6 @@ using OpenQA.Selenium.Interactions.Internal; using System.Drawing; -#nullable enable - namespace OpenQA.Selenium { /// diff --git a/dotnet/src/webdriver/ILogs.cs b/dotnet/src/webdriver/ILogs.cs index d3f236f36c05e..ad78ac357c24e 100644 --- a/dotnet/src/webdriver/ILogs.cs +++ b/dotnet/src/webdriver/ILogs.cs @@ -20,8 +20,6 @@ using System; using System.Collections.ObjectModel; -#nullable enable - namespace OpenQA.Selenium { /// diff --git a/dotnet/src/webdriver/INavigation.cs b/dotnet/src/webdriver/INavigation.cs index 5fd4e19e1cd58..89cd974405a9f 100644 --- a/dotnet/src/webdriver/INavigation.cs +++ b/dotnet/src/webdriver/INavigation.cs @@ -20,8 +20,6 @@ using System; using System.Threading.Tasks; -#nullable enable - namespace OpenQA.Selenium { /// diff --git a/dotnet/src/webdriver/INetwork.cs b/dotnet/src/webdriver/INetwork.cs index 7daab7f725da8..0b6f527265539 100644 --- a/dotnet/src/webdriver/INetwork.cs +++ b/dotnet/src/webdriver/INetwork.cs @@ -21,8 +21,6 @@ using System.Diagnostics.CodeAnalysis; using System.Threading.Tasks; -#nullable enable - namespace OpenQA.Selenium { /// diff --git a/dotnet/src/webdriver/IOptions.cs b/dotnet/src/webdriver/IOptions.cs index 6c704000879e2..78fd14514ba37 100644 --- a/dotnet/src/webdriver/IOptions.cs +++ b/dotnet/src/webdriver/IOptions.cs @@ -17,8 +17,6 @@ // under the License. // -#nullable enable - namespace OpenQA.Selenium { /// diff --git a/dotnet/src/webdriver/IRotatable.cs b/dotnet/src/webdriver/IRotatable.cs index 02bb76c795210..e67b0d401a9dc 100644 --- a/dotnet/src/webdriver/IRotatable.cs +++ b/dotnet/src/webdriver/IRotatable.cs @@ -17,8 +17,6 @@ // under the License. // -#nullable enable - namespace OpenQA.Selenium { /// diff --git a/dotnet/src/webdriver/ISearchContext.cs b/dotnet/src/webdriver/ISearchContext.cs index a8e244ffdddee..53c5f33ae36da 100644 --- a/dotnet/src/webdriver/ISearchContext.cs +++ b/dotnet/src/webdriver/ISearchContext.cs @@ -20,8 +20,6 @@ using System; using System.Collections.ObjectModel; -#nullable enable - namespace OpenQA.Selenium { /// diff --git a/dotnet/src/webdriver/ISupportsLogs.cs b/dotnet/src/webdriver/ISupportsLogs.cs index 70179010acd61..1f78ba08f754d 100644 --- a/dotnet/src/webdriver/ISupportsLogs.cs +++ b/dotnet/src/webdriver/ISupportsLogs.cs @@ -17,8 +17,6 @@ // under the License. // -#nullable enable - namespace OpenQA.Selenium { /// diff --git a/dotnet/src/webdriver/ISupportsPrint.cs b/dotnet/src/webdriver/ISupportsPrint.cs index 84c712c15aca6..9d40d81f815bc 100644 --- a/dotnet/src/webdriver/ISupportsPrint.cs +++ b/dotnet/src/webdriver/ISupportsPrint.cs @@ -19,8 +19,6 @@ using System; -#nullable enable - namespace OpenQA.Selenium { /// diff --git a/dotnet/src/webdriver/ITakesScreenshot.cs b/dotnet/src/webdriver/ITakesScreenshot.cs index 6583e2809db09..f2b7de679de5d 100644 --- a/dotnet/src/webdriver/ITakesScreenshot.cs +++ b/dotnet/src/webdriver/ITakesScreenshot.cs @@ -17,8 +17,6 @@ // under the License. // -#nullable enable - namespace OpenQA.Selenium { /// diff --git a/dotnet/src/webdriver/ITargetLocator.cs b/dotnet/src/webdriver/ITargetLocator.cs index fd13e6030e2b8..f241d48c0d1de 100644 --- a/dotnet/src/webdriver/ITargetLocator.cs +++ b/dotnet/src/webdriver/ITargetLocator.cs @@ -17,8 +17,6 @@ // under the License. // -#nullable enable - using OpenQA.Selenium.Internal; using System; diff --git a/dotnet/src/webdriver/ITimeouts.cs b/dotnet/src/webdriver/ITimeouts.cs index a0a4594e6088e..2e39ace5227f4 100644 --- a/dotnet/src/webdriver/ITimeouts.cs +++ b/dotnet/src/webdriver/ITimeouts.cs @@ -19,8 +19,6 @@ using System; -#nullable enable - namespace OpenQA.Selenium { /// diff --git a/dotnet/src/webdriver/IWebDriver.cs b/dotnet/src/webdriver/IWebDriver.cs index 00120e4a5a105..9fba695808c4f 100644 --- a/dotnet/src/webdriver/IWebDriver.cs +++ b/dotnet/src/webdriver/IWebDriver.cs @@ -20,8 +20,6 @@ using System; using System.Collections.ObjectModel; -#nullable enable - namespace OpenQA.Selenium { /// diff --git a/dotnet/src/webdriver/IWebElement.cs b/dotnet/src/webdriver/IWebElement.cs index fc8737bae5403..7182d1c563940 100644 --- a/dotnet/src/webdriver/IWebElement.cs +++ b/dotnet/src/webdriver/IWebElement.cs @@ -20,8 +20,6 @@ using System; using System.Drawing; -#nullable enable - namespace OpenQA.Selenium { /// diff --git a/dotnet/src/webdriver/IWindow.cs b/dotnet/src/webdriver/IWindow.cs index e5202ed629319..c09ddd7341b22 100644 --- a/dotnet/src/webdriver/IWindow.cs +++ b/dotnet/src/webdriver/IWindow.cs @@ -19,8 +19,6 @@ using System.Drawing; -#nullable enable - namespace OpenQA.Selenium { /// diff --git a/dotnet/src/webdriver/IWrapsDriver.cs b/dotnet/src/webdriver/IWrapsDriver.cs index 15fe5afa2bcf3..27af4c7e56faa 100644 --- a/dotnet/src/webdriver/IWrapsDriver.cs +++ b/dotnet/src/webdriver/IWrapsDriver.cs @@ -17,8 +17,6 @@ // under the License. // -#nullable enable - namespace OpenQA.Selenium { /// diff --git a/dotnet/src/webdriver/IWrapsElement.cs b/dotnet/src/webdriver/IWrapsElement.cs index e4b24ce3572d0..18e91139fd5ec 100644 --- a/dotnet/src/webdriver/IWrapsElement.cs +++ b/dotnet/src/webdriver/IWrapsElement.cs @@ -17,8 +17,6 @@ // under the License. // -#nullable enable - namespace OpenQA.Selenium { /// diff --git a/dotnet/src/webdriver/IWritableCapabilities.cs b/dotnet/src/webdriver/IWritableCapabilities.cs index 9d7fac6a38481..e2ab8ddeaea61 100644 --- a/dotnet/src/webdriver/IWritableCapabilities.cs +++ b/dotnet/src/webdriver/IWritableCapabilities.cs @@ -17,8 +17,6 @@ // under the License. // -#nullable enable - namespace OpenQA.Selenium { /// diff --git a/dotnet/src/webdriver/InitializationScript.cs b/dotnet/src/webdriver/InitializationScript.cs index 940996a875abc..69b128c92f02a 100644 --- a/dotnet/src/webdriver/InitializationScript.cs +++ b/dotnet/src/webdriver/InitializationScript.cs @@ -20,8 +20,6 @@ using System; using System.Globalization; -#nullable enable - namespace OpenQA.Selenium { /// diff --git a/dotnet/src/webdriver/InsecureCertificateException.cs b/dotnet/src/webdriver/InsecureCertificateException.cs index a232f6b511294..2d5e368a7e98f 100644 --- a/dotnet/src/webdriver/InsecureCertificateException.cs +++ b/dotnet/src/webdriver/InsecureCertificateException.cs @@ -19,8 +19,6 @@ using System; -#nullable enable - namespace OpenQA.Selenium { /// diff --git a/dotnet/src/webdriver/Interactions/ActionBuilder.cs b/dotnet/src/webdriver/Interactions/ActionBuilder.cs index de9ce42a66af4..573cfa4986ec1 100644 --- a/dotnet/src/webdriver/Interactions/ActionBuilder.cs +++ b/dotnet/src/webdriver/Interactions/ActionBuilder.cs @@ -21,8 +21,6 @@ using System.Collections.Generic; using System.Text; -#nullable enable - namespace OpenQA.Selenium.Interactions { /// diff --git a/dotnet/src/webdriver/Interactions/ActionSequence.cs b/dotnet/src/webdriver/Interactions/ActionSequence.cs index 40cf9d947ece4..e7c959bc2ad06 100644 --- a/dotnet/src/webdriver/Interactions/ActionSequence.cs +++ b/dotnet/src/webdriver/Interactions/ActionSequence.cs @@ -22,8 +22,6 @@ using System.Globalization; using System.Text; -#nullable enable - namespace OpenQA.Selenium.Interactions { /// diff --git a/dotnet/src/webdriver/Interactions/Actions.cs b/dotnet/src/webdriver/Interactions/Actions.cs index 13eb5481b5728..51bca4d962653 100644 --- a/dotnet/src/webdriver/Interactions/Actions.cs +++ b/dotnet/src/webdriver/Interactions/Actions.cs @@ -21,8 +21,6 @@ using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; -#nullable enable - namespace OpenQA.Selenium.Interactions { /// diff --git a/dotnet/src/webdriver/Interactions/IAction.cs b/dotnet/src/webdriver/Interactions/IAction.cs index 69eaa55dd7517..57dfdcdd2fc72 100644 --- a/dotnet/src/webdriver/Interactions/IAction.cs +++ b/dotnet/src/webdriver/Interactions/IAction.cs @@ -17,8 +17,6 @@ // under the License. // -#nullable enable - namespace OpenQA.Selenium.Interactions { /// diff --git a/dotnet/src/webdriver/Interactions/ICoordinates.cs b/dotnet/src/webdriver/Interactions/ICoordinates.cs index f50271ed84819..7f73d2167d3bc 100644 --- a/dotnet/src/webdriver/Interactions/ICoordinates.cs +++ b/dotnet/src/webdriver/Interactions/ICoordinates.cs @@ -19,8 +19,6 @@ using System.Drawing; -#nullable enable - namespace OpenQA.Selenium.Interactions.Internal { /// diff --git a/dotnet/src/webdriver/Interactions/InputDevice.cs b/dotnet/src/webdriver/Interactions/InputDevice.cs index f3adbf78128a8..a8d9ab773f3d0 100644 --- a/dotnet/src/webdriver/Interactions/InputDevice.cs +++ b/dotnet/src/webdriver/Interactions/InputDevice.cs @@ -21,8 +21,6 @@ using System.Collections.Generic; using System.Globalization; -#nullable enable - namespace OpenQA.Selenium.Interactions { /// diff --git a/dotnet/src/webdriver/Interactions/InputDeviceKind.cs b/dotnet/src/webdriver/Interactions/InputDeviceKind.cs index b3232086124d0..5c707ab72cb9b 100644 --- a/dotnet/src/webdriver/Interactions/InputDeviceKind.cs +++ b/dotnet/src/webdriver/Interactions/InputDeviceKind.cs @@ -17,8 +17,6 @@ // under the License. // -#nullable enable - namespace OpenQA.Selenium.Interactions { /// diff --git a/dotnet/src/webdriver/Interactions/Interaction.cs b/dotnet/src/webdriver/Interactions/Interaction.cs index c7a0baea190fe..d9c12215b2042 100644 --- a/dotnet/src/webdriver/Interactions/Interaction.cs +++ b/dotnet/src/webdriver/Interactions/Interaction.cs @@ -20,8 +20,6 @@ using System; using System.Collections.Generic; -#nullable enable - namespace OpenQA.Selenium.Interactions { /// diff --git a/dotnet/src/webdriver/Interactions/KeyInputDevice.cs b/dotnet/src/webdriver/Interactions/KeyInputDevice.cs index d04a05e3866b4..fbe8b620344e3 100644 --- a/dotnet/src/webdriver/Interactions/KeyInputDevice.cs +++ b/dotnet/src/webdriver/Interactions/KeyInputDevice.cs @@ -21,8 +21,6 @@ using System.Collections.Generic; using System.Globalization; -#nullable enable - namespace OpenQA.Selenium.Interactions { /// diff --git a/dotnet/src/webdriver/Interactions/PauseInteraction.cs b/dotnet/src/webdriver/Interactions/PauseInteraction.cs index 6510ef24b51af..92bf4783472f4 100644 --- a/dotnet/src/webdriver/Interactions/PauseInteraction.cs +++ b/dotnet/src/webdriver/Interactions/PauseInteraction.cs @@ -21,8 +21,6 @@ using System.Collections.Generic; using System.Globalization; -#nullable enable - namespace OpenQA.Selenium.Interactions { /// diff --git a/dotnet/src/webdriver/Interactions/PointerInputDevice.cs b/dotnet/src/webdriver/Interactions/PointerInputDevice.cs index ca92a7136b378..77c249a855db5 100644 --- a/dotnet/src/webdriver/Interactions/PointerInputDevice.cs +++ b/dotnet/src/webdriver/Interactions/PointerInputDevice.cs @@ -22,8 +22,6 @@ using System.Collections.Generic; using System.Globalization; -#nullable enable - namespace OpenQA.Selenium.Interactions { /// diff --git a/dotnet/src/webdriver/Interactions/WheelInputDevice.cs b/dotnet/src/webdriver/Interactions/WheelInputDevice.cs index 8d690ba4c7db6..006e7f82017ec 100644 --- a/dotnet/src/webdriver/Interactions/WheelInputDevice.cs +++ b/dotnet/src/webdriver/Interactions/WheelInputDevice.cs @@ -21,8 +21,6 @@ using System; using System.Collections.Generic; -#nullable enable - namespace OpenQA.Selenium.Interactions { /// diff --git a/dotnet/src/webdriver/Internal/AndroidOptions.cs b/dotnet/src/webdriver/Internal/AndroidOptions.cs index d002d1e6acc81..8dba3b6ec0b04 100644 --- a/dotnet/src/webdriver/Internal/AndroidOptions.cs +++ b/dotnet/src/webdriver/Internal/AndroidOptions.cs @@ -19,8 +19,6 @@ using System; -#nullable enable - namespace OpenQA.Selenium.Internal { /// diff --git a/dotnet/src/webdriver/Internal/Base64UrlEncoder.cs b/dotnet/src/webdriver/Internal/Base64UrlEncoder.cs index c8b22e7223e8b..2052fd56baa25 100644 --- a/dotnet/src/webdriver/Internal/Base64UrlEncoder.cs +++ b/dotnet/src/webdriver/Internal/Base64UrlEncoder.cs @@ -19,8 +19,6 @@ using System; -#nullable enable - namespace OpenQA.Selenium.Internal { /* diff --git a/dotnet/src/webdriver/Internal/FileUtilities.cs b/dotnet/src/webdriver/Internal/FileUtilities.cs index b925da2c359a3..b3bff70bd1b76 100644 --- a/dotnet/src/webdriver/Internal/FileUtilities.cs +++ b/dotnet/src/webdriver/Internal/FileUtilities.cs @@ -23,8 +23,6 @@ using System.IO; using System.Reflection; -#nullable enable - namespace OpenQA.Selenium.Internal { /// diff --git a/dotnet/src/webdriver/Internal/IFindsElement.cs b/dotnet/src/webdriver/Internal/IFindsElement.cs index 7bcd08751a8fb..a43055f9c91bd 100644 --- a/dotnet/src/webdriver/Internal/IFindsElement.cs +++ b/dotnet/src/webdriver/Internal/IFindsElement.cs @@ -19,8 +19,6 @@ using System.Collections.ObjectModel; -#nullable enable - namespace OpenQA.Selenium.Internal { /// diff --git a/dotnet/src/webdriver/Internal/IHasCapabilitiesDictionary.cs b/dotnet/src/webdriver/Internal/IHasCapabilitiesDictionary.cs index 8723b5b11e580..8c281818c4e0d 100644 --- a/dotnet/src/webdriver/Internal/IHasCapabilitiesDictionary.cs +++ b/dotnet/src/webdriver/Internal/IHasCapabilitiesDictionary.cs @@ -19,8 +19,6 @@ using System.Collections.Generic; -#nullable enable - namespace OpenQA.Selenium.Internal { /// diff --git a/dotnet/src/webdriver/Internal/IWebDriverObjectReference.cs b/dotnet/src/webdriver/Internal/IWebDriverObjectReference.cs index a62286ca57676..bc67fdd7c6a6b 100644 --- a/dotnet/src/webdriver/Internal/IWebDriverObjectReference.cs +++ b/dotnet/src/webdriver/Internal/IWebDriverObjectReference.cs @@ -19,8 +19,6 @@ using System.Collections.Generic; -#nullable enable - namespace OpenQA.Selenium.Internal { /// diff --git a/dotnet/src/webdriver/Internal/Logging/ConsoleLogHandler.cs b/dotnet/src/webdriver/Internal/Logging/ConsoleLogHandler.cs index 77beb51f1a77b..b9f8ddb8789f8 100644 --- a/dotnet/src/webdriver/Internal/Logging/ConsoleLogHandler.cs +++ b/dotnet/src/webdriver/Internal/Logging/ConsoleLogHandler.cs @@ -19,8 +19,6 @@ using System; -#nullable enable - namespace OpenQA.Selenium.Internal.Logging { /// diff --git a/dotnet/src/webdriver/Internal/Logging/FileLogHandler.cs b/dotnet/src/webdriver/Internal/Logging/FileLogHandler.cs index 7bb673486f793..125d9bcfe1002 100644 --- a/dotnet/src/webdriver/Internal/Logging/FileLogHandler.cs +++ b/dotnet/src/webdriver/Internal/Logging/FileLogHandler.cs @@ -20,8 +20,6 @@ using System; using System.IO; -#nullable enable - namespace OpenQA.Selenium.Internal.Logging { /// diff --git a/dotnet/src/webdriver/Internal/Logging/ILogContext.cs b/dotnet/src/webdriver/Internal/Logging/ILogContext.cs index 321c2bc99bd07..d1cc52cae4509 100644 --- a/dotnet/src/webdriver/Internal/Logging/ILogContext.cs +++ b/dotnet/src/webdriver/Internal/Logging/ILogContext.cs @@ -19,8 +19,6 @@ using System; -#nullable enable - namespace OpenQA.Selenium.Internal.Logging { /// diff --git a/dotnet/src/webdriver/Internal/Logging/ILogHandler.cs b/dotnet/src/webdriver/Internal/Logging/ILogHandler.cs index c7ab4cc7bb0c1..59c8133d007b3 100644 --- a/dotnet/src/webdriver/Internal/Logging/ILogHandler.cs +++ b/dotnet/src/webdriver/Internal/Logging/ILogHandler.cs @@ -17,8 +17,6 @@ // under the License. // -#nullable enable - namespace OpenQA.Selenium.Internal.Logging { /// diff --git a/dotnet/src/webdriver/Internal/Logging/ILogHandlerList.cs b/dotnet/src/webdriver/Internal/Logging/ILogHandlerList.cs index 4930613c86957..f27b10a53b416 100644 --- a/dotnet/src/webdriver/Internal/Logging/ILogHandlerList.cs +++ b/dotnet/src/webdriver/Internal/Logging/ILogHandlerList.cs @@ -19,8 +19,6 @@ using System.Collections.Generic; -#nullable enable - namespace OpenQA.Selenium.Internal.Logging { /// diff --git a/dotnet/src/webdriver/Internal/Logging/ILogger.cs b/dotnet/src/webdriver/Internal/Logging/ILogger.cs index ab2713722894b..a92a43e0d8445 100644 --- a/dotnet/src/webdriver/Internal/Logging/ILogger.cs +++ b/dotnet/src/webdriver/Internal/Logging/ILogger.cs @@ -19,8 +19,6 @@ using System; -#nullable enable - namespace OpenQA.Selenium.Internal.Logging { /// diff --git a/dotnet/src/webdriver/Internal/Logging/Log.cs b/dotnet/src/webdriver/Internal/Logging/Log.cs index 01b40ac2bc9fd..c69e22fe04316 100644 --- a/dotnet/src/webdriver/Internal/Logging/Log.cs +++ b/dotnet/src/webdriver/Internal/Logging/Log.cs @@ -20,8 +20,6 @@ using System; using System.Diagnostics.CodeAnalysis; -#nullable enable - namespace OpenQA.Selenium.Internal.Logging { /// diff --git a/dotnet/src/webdriver/Internal/Logging/LogContext.cs b/dotnet/src/webdriver/Internal/Logging/LogContext.cs index 081ebbd4c5ab4..612c901f94172 100644 --- a/dotnet/src/webdriver/Internal/Logging/LogContext.cs +++ b/dotnet/src/webdriver/Internal/Logging/LogContext.cs @@ -23,8 +23,6 @@ using System.Diagnostics.CodeAnalysis; using System.Linq; -#nullable enable - namespace OpenQA.Selenium.Internal.Logging { /// diff --git a/dotnet/src/webdriver/Internal/Logging/LogContextManager.cs b/dotnet/src/webdriver/Internal/Logging/LogContextManager.cs index d2eeca1355523..247f55eb01d03 100644 --- a/dotnet/src/webdriver/Internal/Logging/LogContextManager.cs +++ b/dotnet/src/webdriver/Internal/Logging/LogContextManager.cs @@ -21,8 +21,6 @@ using System.Diagnostics.CodeAnalysis; using System.Threading; -#nullable enable - namespace OpenQA.Selenium.Internal.Logging { internal class LogContextManager diff --git a/dotnet/src/webdriver/Internal/Logging/LogEvent.cs b/dotnet/src/webdriver/Internal/Logging/LogEvent.cs index 2fad19a93dc2b..7a63c9dd0ba0b 100644 --- a/dotnet/src/webdriver/Internal/Logging/LogEvent.cs +++ b/dotnet/src/webdriver/Internal/Logging/LogEvent.cs @@ -19,8 +19,6 @@ using System; -#nullable enable - namespace OpenQA.Selenium.Internal.Logging { /// diff --git a/dotnet/src/webdriver/Internal/Logging/LogEventLevel.cs b/dotnet/src/webdriver/Internal/Logging/LogEventLevel.cs index 57090b75de4e7..af8b728f0d326 100644 --- a/dotnet/src/webdriver/Internal/Logging/LogEventLevel.cs +++ b/dotnet/src/webdriver/Internal/Logging/LogEventLevel.cs @@ -17,8 +17,6 @@ // under the License. // -#nullable enable - namespace OpenQA.Selenium.Internal.Logging { /// diff --git a/dotnet/src/webdriver/Internal/Logging/LogHandlerList.cs b/dotnet/src/webdriver/Internal/Logging/LogHandlerList.cs index 9f05d3d5c52fa..fae66983acda3 100644 --- a/dotnet/src/webdriver/Internal/Logging/LogHandlerList.cs +++ b/dotnet/src/webdriver/Internal/Logging/LogHandlerList.cs @@ -19,8 +19,6 @@ using System.Collections.Generic; -#nullable enable - namespace OpenQA.Selenium.Internal.Logging { /// diff --git a/dotnet/src/webdriver/Internal/Logging/Logger.cs b/dotnet/src/webdriver/Internal/Logging/Logger.cs index 058d7944af153..f3e62cfa0ab8b 100644 --- a/dotnet/src/webdriver/Internal/Logging/Logger.cs +++ b/dotnet/src/webdriver/Internal/Logging/Logger.cs @@ -19,8 +19,6 @@ using System; -#nullable enable - namespace OpenQA.Selenium.Internal.Logging { /// diff --git a/dotnet/src/webdriver/Internal/Logging/TextWriterHandler.cs b/dotnet/src/webdriver/Internal/Logging/TextWriterHandler.cs index ff21791d20d9e..611bbacff0933 100644 --- a/dotnet/src/webdriver/Internal/Logging/TextWriterHandler.cs +++ b/dotnet/src/webdriver/Internal/Logging/TextWriterHandler.cs @@ -19,8 +19,6 @@ using System.IO; -#nullable enable - namespace OpenQA.Selenium.Internal.Logging { /// diff --git a/dotnet/src/webdriver/Internal/PortUtilities.cs b/dotnet/src/webdriver/Internal/PortUtilities.cs index a48905835dc96..594b7cdf9f297 100644 --- a/dotnet/src/webdriver/Internal/PortUtilities.cs +++ b/dotnet/src/webdriver/Internal/PortUtilities.cs @@ -20,8 +20,6 @@ using System.Net; using System.Net.Sockets; -#nullable enable - namespace OpenQA.Selenium.Internal { /// diff --git a/dotnet/src/webdriver/Internal/ResourceUtilities.cs b/dotnet/src/webdriver/Internal/ResourceUtilities.cs index 0f22a33681c83..4087725b951d8 100644 --- a/dotnet/src/webdriver/Internal/ResourceUtilities.cs +++ b/dotnet/src/webdriver/Internal/ResourceUtilities.cs @@ -22,8 +22,6 @@ using System.Reflection; using System.Runtime.InteropServices; -#nullable enable - namespace OpenQA.Selenium.Internal { /// diff --git a/dotnet/src/webdriver/Internal/ResponseValueJsonConverter.cs b/dotnet/src/webdriver/Internal/ResponseValueJsonConverter.cs index 66b962b2878a8..0c7e719fcbed9 100644 --- a/dotnet/src/webdriver/Internal/ResponseValueJsonConverter.cs +++ b/dotnet/src/webdriver/Internal/ResponseValueJsonConverter.cs @@ -22,8 +22,6 @@ using System.Text.Json; using System.Text.Json.Serialization; -#nullable enable - namespace OpenQA.Selenium.Internal { /// diff --git a/dotnet/src/webdriver/Internal/ReturnedCapabilities.cs b/dotnet/src/webdriver/Internal/ReturnedCapabilities.cs index 2932b75273e84..9dd40b40f45ae 100644 --- a/dotnet/src/webdriver/Internal/ReturnedCapabilities.cs +++ b/dotnet/src/webdriver/Internal/ReturnedCapabilities.cs @@ -22,8 +22,6 @@ using System.Collections.ObjectModel; using System.Globalization; -#nullable enable - namespace OpenQA.Selenium.Internal { /// diff --git a/dotnet/src/webdriver/Internal/ReturnedCookie.cs b/dotnet/src/webdriver/Internal/ReturnedCookie.cs index bd217fefffdc6..ac2baa4160373 100644 --- a/dotnet/src/webdriver/Internal/ReturnedCookie.cs +++ b/dotnet/src/webdriver/Internal/ReturnedCookie.cs @@ -20,8 +20,6 @@ using System; using System.Globalization; -#nullable enable - namespace OpenQA.Selenium.Internal { /// diff --git a/dotnet/src/webdriver/Internal/TrimmingAttributes.cs b/dotnet/src/webdriver/Internal/TrimmingAttributes.cs index ed2cca3111998..cc765a8d27a68 100644 --- a/dotnet/src/webdriver/Internal/TrimmingAttributes.cs +++ b/dotnet/src/webdriver/Internal/TrimmingAttributes.cs @@ -17,8 +17,6 @@ // under the License. // -#nullable enable - // As per guidance in https://devblogs.microsoft.com/dotnet/creating-aot-compatible-libraries/#targetframeworks #if !NET8_0_OR_GREATER diff --git a/dotnet/src/webdriver/InvalidCookieDomainException.cs b/dotnet/src/webdriver/InvalidCookieDomainException.cs index e5ab10dbc7b93..870245060d115 100644 --- a/dotnet/src/webdriver/InvalidCookieDomainException.cs +++ b/dotnet/src/webdriver/InvalidCookieDomainException.cs @@ -19,8 +19,6 @@ using System; -#nullable enable - namespace OpenQA.Selenium { /// diff --git a/dotnet/src/webdriver/InvalidElementStateException.cs b/dotnet/src/webdriver/InvalidElementStateException.cs index 2f4c9d039e7ea..0d8330c7d05e2 100644 --- a/dotnet/src/webdriver/InvalidElementStateException.cs +++ b/dotnet/src/webdriver/InvalidElementStateException.cs @@ -19,8 +19,6 @@ using System; -#nullable enable - namespace OpenQA.Selenium { /// diff --git a/dotnet/src/webdriver/InvalidSelectorException.cs b/dotnet/src/webdriver/InvalidSelectorException.cs index 6d15bfb1af118..7134edc144d27 100644 --- a/dotnet/src/webdriver/InvalidSelectorException.cs +++ b/dotnet/src/webdriver/InvalidSelectorException.cs @@ -19,8 +19,6 @@ using System; -#nullable enable - namespace OpenQA.Selenium { /// diff --git a/dotnet/src/webdriver/JavaScriptCallbackExecutedEventArgs.cs b/dotnet/src/webdriver/JavaScriptCallbackExecutedEventArgs.cs index 47a16dd259166..aabf783d23540 100644 --- a/dotnet/src/webdriver/JavaScriptCallbackExecutedEventArgs.cs +++ b/dotnet/src/webdriver/JavaScriptCallbackExecutedEventArgs.cs @@ -19,8 +19,6 @@ using System; -#nullable enable - namespace OpenQA.Selenium { /// diff --git a/dotnet/src/webdriver/JavaScriptConsoleApiCalledEventArgs.cs b/dotnet/src/webdriver/JavaScriptConsoleApiCalledEventArgs.cs index 88cf3e0df4491..94296fa05b232 100644 --- a/dotnet/src/webdriver/JavaScriptConsoleApiCalledEventArgs.cs +++ b/dotnet/src/webdriver/JavaScriptConsoleApiCalledEventArgs.cs @@ -19,8 +19,6 @@ using System; -#nullable enable - namespace OpenQA.Selenium { /// diff --git a/dotnet/src/webdriver/JavaScriptEngine.cs b/dotnet/src/webdriver/JavaScriptEngine.cs index 72fcd4076181a..3f210c7a4a28b 100644 --- a/dotnet/src/webdriver/JavaScriptEngine.cs +++ b/dotnet/src/webdriver/JavaScriptEngine.cs @@ -28,8 +28,6 @@ using System.Text.Json; using System.Threading.Tasks; -#nullable enable - namespace OpenQA.Selenium { /// diff --git a/dotnet/src/webdriver/JavaScriptException.cs b/dotnet/src/webdriver/JavaScriptException.cs index d3dcc0b743b30..cf20af8c5d155 100644 --- a/dotnet/src/webdriver/JavaScriptException.cs +++ b/dotnet/src/webdriver/JavaScriptException.cs @@ -19,8 +19,6 @@ using System; -#nullable enable - namespace OpenQA.Selenium { /// diff --git a/dotnet/src/webdriver/JavaScriptExceptionThrownEventArgs.cs b/dotnet/src/webdriver/JavaScriptExceptionThrownEventArgs.cs index 1e1c2434db66e..bf0e1da43fa26 100644 --- a/dotnet/src/webdriver/JavaScriptExceptionThrownEventArgs.cs +++ b/dotnet/src/webdriver/JavaScriptExceptionThrownEventArgs.cs @@ -19,8 +19,6 @@ using System; -#nullable enable - namespace OpenQA.Selenium { /// diff --git a/dotnet/src/webdriver/Keys.cs b/dotnet/src/webdriver/Keys.cs index c824c68f86acf..e8b1e30b047ec 100644 --- a/dotnet/src/webdriver/Keys.cs +++ b/dotnet/src/webdriver/Keys.cs @@ -21,8 +21,6 @@ using System.Collections.Generic; using System.Globalization; -#nullable enable - namespace OpenQA.Selenium { /// diff --git a/dotnet/src/webdriver/LogEntry.cs b/dotnet/src/webdriver/LogEntry.cs index d10a2f3492930..39af12278fb60 100644 --- a/dotnet/src/webdriver/LogEntry.cs +++ b/dotnet/src/webdriver/LogEntry.cs @@ -21,8 +21,6 @@ using System.Collections.Generic; using System.Globalization; -#nullable enable - namespace OpenQA.Selenium { /// diff --git a/dotnet/src/webdriver/LogLevel.cs b/dotnet/src/webdriver/LogLevel.cs index fd5c291c3a165..962d32cae682e 100644 --- a/dotnet/src/webdriver/LogLevel.cs +++ b/dotnet/src/webdriver/LogLevel.cs @@ -17,8 +17,6 @@ // under the License. // -#nullable enable - namespace OpenQA.Selenium { /// diff --git a/dotnet/src/webdriver/LogType.cs b/dotnet/src/webdriver/LogType.cs index e774b65a630d5..9d87c62638890 100644 --- a/dotnet/src/webdriver/LogType.cs +++ b/dotnet/src/webdriver/LogType.cs @@ -17,8 +17,6 @@ // under the License. // -#nullable enable - namespace OpenQA.Selenium { /// diff --git a/dotnet/src/webdriver/Logs.cs b/dotnet/src/webdriver/Logs.cs index 91afcc03eb6cd..3dcd6d43c607f 100644 --- a/dotnet/src/webdriver/Logs.cs +++ b/dotnet/src/webdriver/Logs.cs @@ -21,8 +21,6 @@ using System.Collections.Generic; using System.Collections.ObjectModel; -#nullable enable - namespace OpenQA.Selenium { /// diff --git a/dotnet/src/webdriver/MoveTargetOutOfBoundsException.cs b/dotnet/src/webdriver/MoveTargetOutOfBoundsException.cs index 154d1218f804c..0c445ed7acb83 100644 --- a/dotnet/src/webdriver/MoveTargetOutOfBoundsException.cs +++ b/dotnet/src/webdriver/MoveTargetOutOfBoundsException.cs @@ -19,8 +19,6 @@ using System; -#nullable enable - namespace OpenQA.Selenium { /// diff --git a/dotnet/src/webdriver/Navigator.cs b/dotnet/src/webdriver/Navigator.cs index 4e50ec8ee8d29..db2fe54d6804c 100644 --- a/dotnet/src/webdriver/Navigator.cs +++ b/dotnet/src/webdriver/Navigator.cs @@ -21,8 +21,6 @@ using System.Collections.Generic; using System.Threading.Tasks; -#nullable enable - namespace OpenQA.Selenium { /// diff --git a/dotnet/src/webdriver/NetworkAuthenticationHandler.cs b/dotnet/src/webdriver/NetworkAuthenticationHandler.cs index 6ba9bbc44b8bc..6725cdf8164b3 100644 --- a/dotnet/src/webdriver/NetworkAuthenticationHandler.cs +++ b/dotnet/src/webdriver/NetworkAuthenticationHandler.cs @@ -20,8 +20,6 @@ using System; using System.Diagnostics.CodeAnalysis; -#nullable enable - namespace OpenQA.Selenium { /// diff --git a/dotnet/src/webdriver/NetworkManager.cs b/dotnet/src/webdriver/NetworkManager.cs index 766d07efb002e..2567991a5762e 100644 --- a/dotnet/src/webdriver/NetworkManager.cs +++ b/dotnet/src/webdriver/NetworkManager.cs @@ -23,8 +23,6 @@ using System.Diagnostics.CodeAnalysis; using System.Threading.Tasks; -#nullable enable - namespace OpenQA.Selenium { /// diff --git a/dotnet/src/webdriver/NetworkRequestHandler.cs b/dotnet/src/webdriver/NetworkRequestHandler.cs index 4b2b651d8795f..bab0d7b6a4bb1 100644 --- a/dotnet/src/webdriver/NetworkRequestHandler.cs +++ b/dotnet/src/webdriver/NetworkRequestHandler.cs @@ -20,8 +20,6 @@ using System; using System.Diagnostics.CodeAnalysis; -#nullable enable - namespace OpenQA.Selenium { /// diff --git a/dotnet/src/webdriver/NetworkRequestSentEventArgs.cs b/dotnet/src/webdriver/NetworkRequestSentEventArgs.cs index a88ba90b7cf7a..ef80285af0afd 100644 --- a/dotnet/src/webdriver/NetworkRequestSentEventArgs.cs +++ b/dotnet/src/webdriver/NetworkRequestSentEventArgs.cs @@ -20,8 +20,6 @@ using System; using System.Collections.Generic; -#nullable enable - namespace OpenQA.Selenium { /// diff --git a/dotnet/src/webdriver/NetworkResponseHandler.cs b/dotnet/src/webdriver/NetworkResponseHandler.cs index 27f9e86fbf8e5..72cedde4641ce 100644 --- a/dotnet/src/webdriver/NetworkResponseHandler.cs +++ b/dotnet/src/webdriver/NetworkResponseHandler.cs @@ -20,8 +20,6 @@ using System; using System.Diagnostics.CodeAnalysis; -#nullable enable - namespace OpenQA.Selenium { /// diff --git a/dotnet/src/webdriver/NetworkResponseReceivedEventArgs.cs b/dotnet/src/webdriver/NetworkResponseReceivedEventArgs.cs index 9386d3990da31..671ad50383c09 100644 --- a/dotnet/src/webdriver/NetworkResponseReceivedEventArgs.cs +++ b/dotnet/src/webdriver/NetworkResponseReceivedEventArgs.cs @@ -20,8 +20,6 @@ using System; using System.Collections.Generic; -#nullable enable - namespace OpenQA.Selenium { /// diff --git a/dotnet/src/webdriver/NoAlertPresentException.cs b/dotnet/src/webdriver/NoAlertPresentException.cs index f7c3c2b31de95..32201da680e49 100644 --- a/dotnet/src/webdriver/NoAlertPresentException.cs +++ b/dotnet/src/webdriver/NoAlertPresentException.cs @@ -19,8 +19,6 @@ using System; -#nullable enable - namespace OpenQA.Selenium { /// diff --git a/dotnet/src/webdriver/NoSuchCookieException.cs b/dotnet/src/webdriver/NoSuchCookieException.cs index 067a89eba6465..441e7e35ab888 100644 --- a/dotnet/src/webdriver/NoSuchCookieException.cs +++ b/dotnet/src/webdriver/NoSuchCookieException.cs @@ -19,8 +19,6 @@ using System; -#nullable enable - namespace OpenQA.Selenium { /// diff --git a/dotnet/src/webdriver/NoSuchDriverException.cs b/dotnet/src/webdriver/NoSuchDriverException.cs index 5964267e7d2e6..33401719d7cee 100644 --- a/dotnet/src/webdriver/NoSuchDriverException.cs +++ b/dotnet/src/webdriver/NoSuchDriverException.cs @@ -19,8 +19,6 @@ using System; -#nullable enable - namespace OpenQA.Selenium { /// diff --git a/dotnet/src/webdriver/NoSuchElementException.cs b/dotnet/src/webdriver/NoSuchElementException.cs index a6aa6416c0853..1520be14c8808 100644 --- a/dotnet/src/webdriver/NoSuchElementException.cs +++ b/dotnet/src/webdriver/NoSuchElementException.cs @@ -19,8 +19,6 @@ using System; -#nullable enable - namespace OpenQA.Selenium { /// diff --git a/dotnet/src/webdriver/NoSuchFrameException.cs b/dotnet/src/webdriver/NoSuchFrameException.cs index 517d4dda1e719..0b3f948034e2d 100644 --- a/dotnet/src/webdriver/NoSuchFrameException.cs +++ b/dotnet/src/webdriver/NoSuchFrameException.cs @@ -19,8 +19,6 @@ using System; -#nullable enable - namespace OpenQA.Selenium { /// diff --git a/dotnet/src/webdriver/NoSuchShadowRootException.cs b/dotnet/src/webdriver/NoSuchShadowRootException.cs index 22909b1b3c979..a192b9f6e9ccf 100644 --- a/dotnet/src/webdriver/NoSuchShadowRootException.cs +++ b/dotnet/src/webdriver/NoSuchShadowRootException.cs @@ -19,8 +19,6 @@ using System; -#nullable enable - namespace OpenQA.Selenium { /// diff --git a/dotnet/src/webdriver/NoSuchWindowException.cs b/dotnet/src/webdriver/NoSuchWindowException.cs index 7f1ba8bd6e198..2a26923083c2a 100644 --- a/dotnet/src/webdriver/NoSuchWindowException.cs +++ b/dotnet/src/webdriver/NoSuchWindowException.cs @@ -19,8 +19,6 @@ using System; -#nullable enable - namespace OpenQA.Selenium { /// diff --git a/dotnet/src/webdriver/NotFoundException.cs b/dotnet/src/webdriver/NotFoundException.cs index acb2ac1fe79c4..00d40c691ef42 100644 --- a/dotnet/src/webdriver/NotFoundException.cs +++ b/dotnet/src/webdriver/NotFoundException.cs @@ -19,8 +19,6 @@ using System; -#nullable enable - namespace OpenQA.Selenium { /// diff --git a/dotnet/src/webdriver/OptionsManager.cs b/dotnet/src/webdriver/OptionsManager.cs index b7c4b85c1adb0..4a903ea2a3fb4 100644 --- a/dotnet/src/webdriver/OptionsManager.cs +++ b/dotnet/src/webdriver/OptionsManager.cs @@ -17,8 +17,6 @@ // under the License. // -#nullable enable - namespace OpenQA.Selenium { /// diff --git a/dotnet/src/webdriver/PasswordCredentials.cs b/dotnet/src/webdriver/PasswordCredentials.cs index 4709ead785517..bda5638ed98d7 100644 --- a/dotnet/src/webdriver/PasswordCredentials.cs +++ b/dotnet/src/webdriver/PasswordCredentials.cs @@ -17,8 +17,6 @@ // under the License. // -#nullable enable - namespace OpenQA.Selenium { /// diff --git a/dotnet/src/webdriver/PinnedScript.cs b/dotnet/src/webdriver/PinnedScript.cs index 629c1bd7212f3..4e952c3dd6039 100644 --- a/dotnet/src/webdriver/PinnedScript.cs +++ b/dotnet/src/webdriver/PinnedScript.cs @@ -19,8 +19,6 @@ using System.Globalization; -#nullable enable - namespace OpenQA.Selenium { /// diff --git a/dotnet/src/webdriver/Platform.cs b/dotnet/src/webdriver/Platform.cs index 4ea2cc9be61c8..30fe2852190d0 100644 --- a/dotnet/src/webdriver/Platform.cs +++ b/dotnet/src/webdriver/Platform.cs @@ -19,8 +19,6 @@ using System; -#nullable enable - namespace OpenQA.Selenium { /// diff --git a/dotnet/src/webdriver/PrintDocument.cs b/dotnet/src/webdriver/PrintDocument.cs index 61e558a756b0a..7303602bd0324 100644 --- a/dotnet/src/webdriver/PrintDocument.cs +++ b/dotnet/src/webdriver/PrintDocument.cs @@ -20,8 +20,6 @@ using System; using System.IO; -#nullable enable - namespace OpenQA.Selenium { /// diff --git a/dotnet/src/webdriver/PrintOptions.cs b/dotnet/src/webdriver/PrintOptions.cs index 27375a0a72d1e..26ccc51ae3869 100644 --- a/dotnet/src/webdriver/PrintOptions.cs +++ b/dotnet/src/webdriver/PrintOptions.cs @@ -21,8 +21,6 @@ using System.Collections.Generic; using System.Globalization; -#nullable enable - namespace OpenQA.Selenium { /// diff --git a/dotnet/src/webdriver/Proxy.cs b/dotnet/src/webdriver/Proxy.cs index fbbf55a3b9c97..ce5e94d84b497 100644 --- a/dotnet/src/webdriver/Proxy.cs +++ b/dotnet/src/webdriver/Proxy.cs @@ -23,8 +23,6 @@ using System.Globalization; using System.Text.Json.Serialization; -#nullable enable - namespace OpenQA.Selenium { /// diff --git a/dotnet/src/webdriver/RelativeBy.cs b/dotnet/src/webdriver/RelativeBy.cs index f680fc3d0bcbb..553ae402a780b 100644 --- a/dotnet/src/webdriver/RelativeBy.cs +++ b/dotnet/src/webdriver/RelativeBy.cs @@ -24,8 +24,6 @@ using System.Globalization; using System.IO; -#nullable enable - namespace OpenQA.Selenium { /// diff --git a/dotnet/src/webdriver/Remote/DesiredCapabilities.cs b/dotnet/src/webdriver/Remote/DesiredCapabilities.cs index a4f5fd28ffb36..526ebd87344f0 100644 --- a/dotnet/src/webdriver/Remote/DesiredCapabilities.cs +++ b/dotnet/src/webdriver/Remote/DesiredCapabilities.cs @@ -23,8 +23,6 @@ using System.Collections.ObjectModel; using System.Globalization; -#nullable enable - namespace OpenQA.Selenium.Remote { /// diff --git a/dotnet/src/webdriver/Remote/DriverServiceCommandExecutor.cs b/dotnet/src/webdriver/Remote/DriverServiceCommandExecutor.cs index 0f1d341c8c353..a83693d02c13e 100644 --- a/dotnet/src/webdriver/Remote/DriverServiceCommandExecutor.cs +++ b/dotnet/src/webdriver/Remote/DriverServiceCommandExecutor.cs @@ -21,8 +21,6 @@ using System.Diagnostics.CodeAnalysis; using System.Threading.Tasks; -#nullable enable - namespace OpenQA.Selenium.Remote { /// diff --git a/dotnet/src/webdriver/Remote/HttpCommandExecutor.cs b/dotnet/src/webdriver/Remote/HttpCommandExecutor.cs index 6743984a8eb22..3094c539d83fc 100644 --- a/dotnet/src/webdriver/Remote/HttpCommandExecutor.cs +++ b/dotnet/src/webdriver/Remote/HttpCommandExecutor.cs @@ -31,8 +31,6 @@ using System.Threading; using System.Threading.Tasks; -#nullable enable - namespace OpenQA.Selenium.Remote { /// diff --git a/dotnet/src/webdriver/Remote/ICommandServer.cs b/dotnet/src/webdriver/Remote/ICommandServer.cs index f70d536dfd042..395616482f7d5 100644 --- a/dotnet/src/webdriver/Remote/ICommandServer.cs +++ b/dotnet/src/webdriver/Remote/ICommandServer.cs @@ -19,8 +19,6 @@ using System; -#nullable enable - namespace OpenQA.Selenium.Remote { /// diff --git a/dotnet/src/webdriver/Remote/LocalFileDetector.cs b/dotnet/src/webdriver/Remote/LocalFileDetector.cs index ab1539b6aaeed..06b8510d676e6 100644 --- a/dotnet/src/webdriver/Remote/LocalFileDetector.cs +++ b/dotnet/src/webdriver/Remote/LocalFileDetector.cs @@ -20,8 +20,6 @@ using System.Diagnostics.CodeAnalysis; using System.IO; -#nullable enable - namespace OpenQA.Selenium.Remote { /// diff --git a/dotnet/src/webdriver/Remote/ReadOnlyDesiredCapabilities.cs b/dotnet/src/webdriver/Remote/ReadOnlyDesiredCapabilities.cs index d47a173d57a6c..183b7efc193ac 100644 --- a/dotnet/src/webdriver/Remote/ReadOnlyDesiredCapabilities.cs +++ b/dotnet/src/webdriver/Remote/ReadOnlyDesiredCapabilities.cs @@ -23,8 +23,6 @@ using System.Collections.ObjectModel; using System.Globalization; -#nullable enable - namespace OpenQA.Selenium.Remote { /// diff --git a/dotnet/src/webdriver/Remote/RemoteSessionSettings.cs b/dotnet/src/webdriver/Remote/RemoteSessionSettings.cs index 23e3f34127033..57c3b87bbbd8b 100644 --- a/dotnet/src/webdriver/Remote/RemoteSessionSettings.cs +++ b/dotnet/src/webdriver/Remote/RemoteSessionSettings.cs @@ -22,8 +22,6 @@ using System.Collections.Generic; using System.Globalization; -#nullable enable - namespace OpenQA.Selenium { /// diff --git a/dotnet/src/webdriver/Remote/RemoteWebDriver.cs b/dotnet/src/webdriver/Remote/RemoteWebDriver.cs index 672f33a1cc17e..3905f4ca87a54 100644 --- a/dotnet/src/webdriver/Remote/RemoteWebDriver.cs +++ b/dotnet/src/webdriver/Remote/RemoteWebDriver.cs @@ -28,8 +28,6 @@ using System.Threading.Tasks; using System.Diagnostics.CodeAnalysis; -#nullable enable - namespace OpenQA.Selenium.Remote { /// diff --git a/dotnet/src/webdriver/Remote/SendingRemoteHttpRequestEventArgs.cs b/dotnet/src/webdriver/Remote/SendingRemoteHttpRequestEventArgs.cs index 34a92714e0b2d..5337ccfe857fb 100644 --- a/dotnet/src/webdriver/Remote/SendingRemoteHttpRequestEventArgs.cs +++ b/dotnet/src/webdriver/Remote/SendingRemoteHttpRequestEventArgs.cs @@ -20,8 +20,6 @@ using System; using System.Collections.Generic; -#nullable enable - namespace OpenQA.Selenium.Remote { /// diff --git a/dotnet/src/webdriver/Remote/W3CWireProtocolCommandInfoRepository.cs b/dotnet/src/webdriver/Remote/W3CWireProtocolCommandInfoRepository.cs index efac296c04c5e..3df1370fa57a7 100644 --- a/dotnet/src/webdriver/Remote/W3CWireProtocolCommandInfoRepository.cs +++ b/dotnet/src/webdriver/Remote/W3CWireProtocolCommandInfoRepository.cs @@ -19,8 +19,6 @@ using System; -#nullable enable - namespace OpenQA.Selenium.Remote { /// diff --git a/dotnet/src/webdriver/Response.cs b/dotnet/src/webdriver/Response.cs index 8ee70c76250b3..8b3979601d465 100644 --- a/dotnet/src/webdriver/Response.cs +++ b/dotnet/src/webdriver/Response.cs @@ -25,8 +25,6 @@ using System.Text.Json.Nodes; using System.Text.Json.Serialization; -#nullable enable - namespace OpenQA.Selenium { /// diff --git a/dotnet/src/webdriver/Safari/SafariDriver.cs b/dotnet/src/webdriver/Safari/SafariDriver.cs index 0f0526633bfb4..a4fb92c5588ed 100644 --- a/dotnet/src/webdriver/Safari/SafariDriver.cs +++ b/dotnet/src/webdriver/Safari/SafariDriver.cs @@ -22,8 +22,6 @@ using System.Collections.Generic; using System.IO; -#nullable enable - namespace OpenQA.Selenium.Safari { /// diff --git a/dotnet/src/webdriver/Safari/SafariDriverService.cs b/dotnet/src/webdriver/Safari/SafariDriverService.cs index 92e2ddb742bff..a3de41bf901fe 100644 --- a/dotnet/src/webdriver/Safari/SafariDriverService.cs +++ b/dotnet/src/webdriver/Safari/SafariDriverService.cs @@ -25,8 +25,6 @@ using System.Text; using System.Threading.Tasks; -#nullable enable - namespace OpenQA.Selenium.Safari { /// diff --git a/dotnet/src/webdriver/Safari/SafariOptions.cs b/dotnet/src/webdriver/Safari/SafariOptions.cs index afc38a7849efc..b2d6307dc48fa 100644 --- a/dotnet/src/webdriver/Safari/SafariOptions.cs +++ b/dotnet/src/webdriver/Safari/SafariOptions.cs @@ -17,8 +17,6 @@ // under the License. // -#nullable enable - namespace OpenQA.Selenium.Safari { /// diff --git a/dotnet/src/webdriver/ScreenOrientation.cs b/dotnet/src/webdriver/ScreenOrientation.cs index 1d23b2e0bc9f3..fb496b4703c9b 100644 --- a/dotnet/src/webdriver/ScreenOrientation.cs +++ b/dotnet/src/webdriver/ScreenOrientation.cs @@ -17,8 +17,6 @@ // under the License. // -#nullable enable - namespace OpenQA.Selenium { /// diff --git a/dotnet/src/webdriver/Screenshot.cs b/dotnet/src/webdriver/Screenshot.cs index 7b5f869fb6728..da17cf92e1601 100644 --- a/dotnet/src/webdriver/Screenshot.cs +++ b/dotnet/src/webdriver/Screenshot.cs @@ -20,8 +20,6 @@ using System; using System.IO; -#nullable enable - namespace OpenQA.Selenium { /// diff --git a/dotnet/src/webdriver/SeleniumManager.cs b/dotnet/src/webdriver/SeleniumManager.cs index 324cfa5b34957..bd4ac6e7ae08e 100644 --- a/dotnet/src/webdriver/SeleniumManager.cs +++ b/dotnet/src/webdriver/SeleniumManager.cs @@ -28,8 +28,6 @@ using System.Text.Json.Serialization; using static OpenQA.Selenium.SeleniumManagerResponse; -#nullable enable - namespace OpenQA.Selenium { /// diff --git a/dotnet/src/webdriver/SessionId.cs b/dotnet/src/webdriver/SessionId.cs index 8f605d4731775..b6f999032966e 100644 --- a/dotnet/src/webdriver/SessionId.cs +++ b/dotnet/src/webdriver/SessionId.cs @@ -19,8 +19,6 @@ using System; -#nullable enable - namespace OpenQA.Selenium { /// diff --git a/dotnet/src/webdriver/ShadowRoot.cs b/dotnet/src/webdriver/ShadowRoot.cs index a616a7e14ebbc..6c0b2513bfac0 100644 --- a/dotnet/src/webdriver/ShadowRoot.cs +++ b/dotnet/src/webdriver/ShadowRoot.cs @@ -23,8 +23,6 @@ using System.Collections.ObjectModel; using System.Diagnostics.CodeAnalysis; -#nullable enable - namespace OpenQA.Selenium { /// diff --git a/dotnet/src/webdriver/StackTraceElement.cs b/dotnet/src/webdriver/StackTraceElement.cs index 457ee0d5a0c99..d4e4995dad46f 100644 --- a/dotnet/src/webdriver/StackTraceElement.cs +++ b/dotnet/src/webdriver/StackTraceElement.cs @@ -21,8 +21,6 @@ using System.Globalization; using System.Text.Json.Serialization; -#nullable enable - namespace OpenQA.Selenium { /// diff --git a/dotnet/src/webdriver/StaleElementReferenceException.cs b/dotnet/src/webdriver/StaleElementReferenceException.cs index 38957f83708b2..41dc01c4f53e6 100644 --- a/dotnet/src/webdriver/StaleElementReferenceException.cs +++ b/dotnet/src/webdriver/StaleElementReferenceException.cs @@ -19,8 +19,6 @@ using System; -#nullable enable - namespace OpenQA.Selenium { /// diff --git a/dotnet/src/webdriver/Support/DefaultWait{T}.cs b/dotnet/src/webdriver/Support/DefaultWait{T}.cs index 87a376e3637a8..50242c4b5c580 100644 --- a/dotnet/src/webdriver/Support/DefaultWait{T}.cs +++ b/dotnet/src/webdriver/Support/DefaultWait{T}.cs @@ -24,8 +24,6 @@ using System.Linq; using System.Threading; -#nullable enable - namespace OpenQA.Selenium.Support.UI { /// diff --git a/dotnet/src/webdriver/Support/IClock.cs b/dotnet/src/webdriver/Support/IClock.cs index 92661d7bba013..ceb2dab588f04 100644 --- a/dotnet/src/webdriver/Support/IClock.cs +++ b/dotnet/src/webdriver/Support/IClock.cs @@ -19,8 +19,6 @@ using System; -#nullable enable - namespace OpenQA.Selenium.Support.UI { /// diff --git a/dotnet/src/webdriver/Support/IWait{T}.cs b/dotnet/src/webdriver/Support/IWait{T}.cs index b5c8f18a4ee7b..8ca49d1c93299 100644 --- a/dotnet/src/webdriver/Support/IWait{T}.cs +++ b/dotnet/src/webdriver/Support/IWait{T}.cs @@ -20,8 +20,6 @@ using System; using System.Diagnostics.CodeAnalysis; -#nullable enable - namespace OpenQA.Selenium.Support.UI { /// diff --git a/dotnet/src/webdriver/Support/SystemClock.cs b/dotnet/src/webdriver/Support/SystemClock.cs index f6fee38c9b637..427b2d00cd626 100644 --- a/dotnet/src/webdriver/Support/SystemClock.cs +++ b/dotnet/src/webdriver/Support/SystemClock.cs @@ -19,8 +19,6 @@ using System; -#nullable enable - namespace OpenQA.Selenium.Support.UI { /// diff --git a/dotnet/src/webdriver/Support/WebDriverWait.cs b/dotnet/src/webdriver/Support/WebDriverWait.cs index d1cbbbbe174c5..dd52454f11c65 100644 --- a/dotnet/src/webdriver/Support/WebDriverWait.cs +++ b/dotnet/src/webdriver/Support/WebDriverWait.cs @@ -19,8 +19,6 @@ using System; -#nullable enable - namespace OpenQA.Selenium.Support.UI { /// diff --git a/dotnet/src/webdriver/TargetLocator.cs b/dotnet/src/webdriver/TargetLocator.cs index 06dac9a3321d0..6cd8a78c09311 100644 --- a/dotnet/src/webdriver/TargetLocator.cs +++ b/dotnet/src/webdriver/TargetLocator.cs @@ -23,8 +23,6 @@ using System.Collections.ObjectModel; using System.Text.RegularExpressions; -#nullable enable - namespace OpenQA.Selenium { /// diff --git a/dotnet/src/webdriver/Timeouts.cs b/dotnet/src/webdriver/Timeouts.cs index b0f5882a7642d..49ee52f8b8935 100644 --- a/dotnet/src/webdriver/Timeouts.cs +++ b/dotnet/src/webdriver/Timeouts.cs @@ -21,8 +21,6 @@ using System.Collections.Generic; using System.Globalization; -#nullable enable - namespace OpenQA.Selenium { /// diff --git a/dotnet/src/webdriver/UnableToSetCookieException.cs b/dotnet/src/webdriver/UnableToSetCookieException.cs index 453bab307dc4b..97a104cf473da 100644 --- a/dotnet/src/webdriver/UnableToSetCookieException.cs +++ b/dotnet/src/webdriver/UnableToSetCookieException.cs @@ -19,8 +19,6 @@ using System; -#nullable enable - namespace OpenQA.Selenium { /// diff --git a/dotnet/src/webdriver/UnhandledAlertException.cs b/dotnet/src/webdriver/UnhandledAlertException.cs index bb9fa8c2278f6..b672064898888 100644 --- a/dotnet/src/webdriver/UnhandledAlertException.cs +++ b/dotnet/src/webdriver/UnhandledAlertException.cs @@ -19,8 +19,6 @@ using System; -#nullable enable - namespace OpenQA.Selenium { /// diff --git a/dotnet/src/webdriver/UnknownErrorException.cs b/dotnet/src/webdriver/UnknownErrorException.cs index 466bc19d9c479..08d5074814219 100644 --- a/dotnet/src/webdriver/UnknownErrorException.cs +++ b/dotnet/src/webdriver/UnknownErrorException.cs @@ -19,8 +19,6 @@ using System; -#nullable enable - namespace OpenQA.Selenium { /// diff --git a/dotnet/src/webdriver/UnknownMethodException.cs b/dotnet/src/webdriver/UnknownMethodException.cs index 168fc2dfedbec..b8d74b0b8850f 100644 --- a/dotnet/src/webdriver/UnknownMethodException.cs +++ b/dotnet/src/webdriver/UnknownMethodException.cs @@ -19,8 +19,6 @@ using System; -#nullable enable - namespace OpenQA.Selenium { /// diff --git a/dotnet/src/webdriver/UnsupportedOperationException.cs b/dotnet/src/webdriver/UnsupportedOperationException.cs index a8d104400d6b3..0bf3b4fe4653f 100644 --- a/dotnet/src/webdriver/UnsupportedOperationException.cs +++ b/dotnet/src/webdriver/UnsupportedOperationException.cs @@ -19,8 +19,6 @@ using System; -#nullable enable - namespace OpenQA.Selenium { /// diff --git a/dotnet/src/webdriver/UserAgent.cs b/dotnet/src/webdriver/UserAgent.cs index ba47a350b9291..00190673e7d09 100644 --- a/dotnet/src/webdriver/UserAgent.cs +++ b/dotnet/src/webdriver/UserAgent.cs @@ -17,8 +17,6 @@ // under the License. // -#nullable enable - using System; namespace OpenQA.Selenium.DevTools diff --git a/dotnet/src/webdriver/VirtualAuth/Credential.cs b/dotnet/src/webdriver/VirtualAuth/Credential.cs index af3e09cc94e41..dd5f13c3c6918 100644 --- a/dotnet/src/webdriver/VirtualAuth/Credential.cs +++ b/dotnet/src/webdriver/VirtualAuth/Credential.cs @@ -21,8 +21,6 @@ using System; using System.Collections.Generic; -#nullable enable - namespace OpenQA.Selenium.VirtualAuth { /// diff --git a/dotnet/src/webdriver/VirtualAuth/IHasVirtualAuthenticator.cs b/dotnet/src/webdriver/VirtualAuth/IHasVirtualAuthenticator.cs index 2d8616416f90e..96595fa7699aa 100644 --- a/dotnet/src/webdriver/VirtualAuth/IHasVirtualAuthenticator.cs +++ b/dotnet/src/webdriver/VirtualAuth/IHasVirtualAuthenticator.cs @@ -20,8 +20,6 @@ using System; using System.Collections.Generic; -#nullable enable - namespace OpenQA.Selenium.VirtualAuth { /// diff --git a/dotnet/src/webdriver/VirtualAuth/VirtualAuthenticatorOptions.cs b/dotnet/src/webdriver/VirtualAuth/VirtualAuthenticatorOptions.cs index 502d1368f9d0f..52e606a28072a 100644 --- a/dotnet/src/webdriver/VirtualAuth/VirtualAuthenticatorOptions.cs +++ b/dotnet/src/webdriver/VirtualAuth/VirtualAuthenticatorOptions.cs @@ -20,8 +20,6 @@ using System; using System.Collections.Generic; -#nullable enable - namespace OpenQA.Selenium.VirtualAuth { /// diff --git a/dotnet/src/webdriver/WebDriver.cs b/dotnet/src/webdriver/WebDriver.cs index 60ed1d3035f7d..7d7e76f7bcd9a 100644 --- a/dotnet/src/webdriver/WebDriver.cs +++ b/dotnet/src/webdriver/WebDriver.cs @@ -28,8 +28,6 @@ using System.Globalization; using System.Threading.Tasks; -#nullable enable - namespace OpenQA.Selenium { /// diff --git a/dotnet/src/webdriver/WebDriver.csproj b/dotnet/src/webdriver/WebDriver.csproj index 1841379278363..432db4e8f33ec 100644 --- a/dotnet/src/webdriver/WebDriver.csproj +++ b/dotnet/src/webdriver/WebDriver.csproj @@ -5,6 +5,7 @@ WebDriver OpenQA.Selenium 12.0 + enable diff --git a/dotnet/src/webdriver/WebDriverArgumentException.cs b/dotnet/src/webdriver/WebDriverArgumentException.cs index 0832624372495..50c80ab10bf1c 100644 --- a/dotnet/src/webdriver/WebDriverArgumentException.cs +++ b/dotnet/src/webdriver/WebDriverArgumentException.cs @@ -19,8 +19,6 @@ using System; -#nullable enable - namespace OpenQA.Selenium { /// diff --git a/dotnet/src/webdriver/WebDriverError.cs b/dotnet/src/webdriver/WebDriverError.cs index f4a139cac505b..7481f06368b1e 100644 --- a/dotnet/src/webdriver/WebDriverError.cs +++ b/dotnet/src/webdriver/WebDriverError.cs @@ -20,8 +20,6 @@ using System; using System.Collections.Generic; -#nullable enable - namespace OpenQA.Selenium { /// diff --git a/dotnet/src/webdriver/WebDriverException.cs b/dotnet/src/webdriver/WebDriverException.cs index 456c6d6c94206..caa1020c213ee 100644 --- a/dotnet/src/webdriver/WebDriverException.cs +++ b/dotnet/src/webdriver/WebDriverException.cs @@ -19,8 +19,6 @@ using System; -#nullable enable - namespace OpenQA.Selenium { /// diff --git a/dotnet/src/webdriver/WebDriverResult.cs b/dotnet/src/webdriver/WebDriverResult.cs index 8ee5b5c432d53..eb1c5ea804fcb 100644 --- a/dotnet/src/webdriver/WebDriverResult.cs +++ b/dotnet/src/webdriver/WebDriverResult.cs @@ -17,8 +17,6 @@ // under the License. // -#nullable enable - namespace OpenQA.Selenium { /// diff --git a/dotnet/src/webdriver/WebDriverTimeoutException.cs b/dotnet/src/webdriver/WebDriverTimeoutException.cs index b7dedbbf0f39f..94da8c679c074 100644 --- a/dotnet/src/webdriver/WebDriverTimeoutException.cs +++ b/dotnet/src/webdriver/WebDriverTimeoutException.cs @@ -19,8 +19,6 @@ using System; -#nullable enable - namespace OpenQA.Selenium { /// diff --git a/dotnet/src/webdriver/WebElement.cs b/dotnet/src/webdriver/WebElement.cs index 3a626729320cd..f2925f576e16c 100644 --- a/dotnet/src/webdriver/WebElement.cs +++ b/dotnet/src/webdriver/WebElement.cs @@ -28,8 +28,6 @@ using System.IO.Compression; using System.Linq; -#nullable enable - namespace OpenQA.Selenium { /// diff --git a/dotnet/src/webdriver/WebElementFactory.cs b/dotnet/src/webdriver/WebElementFactory.cs index db79bb888b56a..0355184fe4d78 100644 --- a/dotnet/src/webdriver/WebElementFactory.cs +++ b/dotnet/src/webdriver/WebElementFactory.cs @@ -20,8 +20,6 @@ using System; using System.Collections.Generic; -#nullable enable - namespace OpenQA.Selenium { /// diff --git a/dotnet/src/webdriver/Window.cs b/dotnet/src/webdriver/Window.cs index c856306bb668b..0fe590950b393 100644 --- a/dotnet/src/webdriver/Window.cs +++ b/dotnet/src/webdriver/Window.cs @@ -22,8 +22,6 @@ using System.Drawing; using System.Globalization; -#nullable enable - namespace OpenQA.Selenium { /// diff --git a/dotnet/src/webdriver/WindowType.cs b/dotnet/src/webdriver/WindowType.cs index 7e1200d7b9f8e..de18f4ceeb1b1 100644 --- a/dotnet/src/webdriver/WindowType.cs +++ b/dotnet/src/webdriver/WindowType.cs @@ -18,8 +18,6 @@ // -#nullable enable - namespace OpenQA.Selenium { /// diff --git a/dotnet/src/webdriver/XPathLookupException.cs b/dotnet/src/webdriver/XPathLookupException.cs index f8e633cd1ad43..81b3f8979576c 100644 --- a/dotnet/src/webdriver/XPathLookupException.cs +++ b/dotnet/src/webdriver/XPathLookupException.cs @@ -19,8 +19,6 @@ using System; -#nullable enable - namespace OpenQA.Selenium { ///