[dotnet] Fix nullability warnings in WebDriver#16662
[dotnet] Fix nullability warnings in WebDriver#16662RenderMichael merged 2 commits intoSeleniumHQ:trunkfrom
WebDriver#16662Conversation
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