-
-
Notifications
You must be signed in to change notification settings - Fork 8.6k
[dotnet] Fix nullability warnings in WebDriver
#16662
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] Fix nullability warnings in WebDriver
#16662
Conversation
PR Compliance Guide 🔍Below is a summary of compliance checks for this PR:
Compliance status legend🟢 - Fully Compliant🟡 - Partial Compliant 🔴 - Not Compliant ⚪ - Requires Further Human Verification 🏷️ - Compliance label |
||||||||||||||||||||||||
PR Code Suggestions ✨Explore these optional code suggestions:
|
|||||||||
|
CI is broken and it will not give any useful results to wait for it; previous runs showed green CI. |
User description
Fixes an internal warning.
PR Type
Bug fix
Description
Add nullable annotation to
networkfield in WebDriver classResolves C# nullability warnings during compilation
Improves code safety with explicit null-handling semantics
Diagram Walkthrough
File Walkthrough
WebDriver.cs
Add nullable annotation to network fielddotnet/src/webdriver/WebDriver.cs
private NetworkManager network;toprivate NetworkManager?network;networkfield