-
-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[dotnet] Annotate nullability on most remaining types #15257
base: trunk
Are you sure you want to change the base?
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
User description
Thanks for contributing to Selenium!
A PR well described will help maintainers to quickly review and merge it
Before submitting your PR, please check our contributing guidelines.
Avoid large PRs, help reviewers by making them as simple and short as possible.
Annotate nullability on most remaining types
Motivation and Context
Contributes to #14640
Types of changes
Checklist
PR Type
enhancement, bug fix
Description
Annotated nullability for most remaining types across the project.
Improved code consistency by replacing legacy patterns with modern C# features.
Added null checks and exception handling for better error management.
Refactored properties and methods to use concise syntax and readonly fields.
Changes walkthrough 📝
19 files
Annotated nullability and refactored `By` class for clarity
Added nullability annotations and refactored `Cookie` class
Added nullability annotations to `DevToolsSession`
Added nullability annotations to `DomMutationData`
Enabled nullability in `InternetExplorerDriverLogLevel`
Refactored
InternetExplorerOptions
with nullability and readonlyfields
Added nullability annotations to `INetwork` interface
Enabled nullability in `ISupportsLogs`
Enabled nullability in `IWrapsElement`
Added nullability annotations to `PortUtilities`
Added nullability annotations to `ReturnedCookie`
Enabled nullability in `LogType`
Added nullability annotations to `NetworkAuthenticationHandler`
Added nullability annotations and refactored `NetworkManager`
Added nullability annotations to `NetworkRequestHandler`
Added nullability annotations to `NetworkResponseHandler`
Added nullability annotations and improved error handling in
RelativeBy
Refactored `DesiredCapabilities` with nullability and concise syntax
Added nullability annotations and improved error handling in
RemoteWebDriver