[Foundation] Fix nullability in NSUrlProtectionSpace.#24271
Conversation
This is file 13 of 47 files with nullability disabled in Foundation. Changes: - Enabled nullable reference types for the ServerSecTrust property - Made ServerSecTrust return SecTrust? (nullable) since it can return null when ServerTrust handle is IntPtr.Zero - Replaced "To be added." XML documentation with proper documentation for ServerSecTrust property - Added see cref attributes for better cross-referencing - Removed unnecessary whitespace in XML comments - Fixed NSUrlSessionHandler.cs to use null-forgiving operators when accessing ServerSecTrust in contexts where it's guaranteed to be non-null (when AuthenticationMethod is AuthenticationMethodServerTrust) Contributes towards #17285.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
…ullability-13-nsurlprotectionspace
✅ [PR Build #99c855d] Build passed (Detect API changes) ✅Pipeline on Agent |
✅ [CI Build #99c855d] Build passed (Build packages) ✅Pipeline on Agent |
✅ API diff for current PR / commitNET (empty diffs)✅ API diff vs stableNET (empty diffs)ℹ️ Generator diffGenerator Diff: vsdrops (html) vsdrops (raw diff) gist (raw diff) - Please review changes) Pipeline on Agent |
✅ [CI Build #99c855d] Build passed (Build macOS tests) ✅Pipeline on Agent |
💻 [CI Build #99c855d] Tests on macOS X64 - Mac Sonoma (14) passed 💻✅ All tests on macOS X64 - Mac Sonoma (14) passed. Pipeline on Agent |
💻 [CI Build #99c855d] Tests on macOS M1 - Mac Monterey (12) passed 💻✅ All tests on macOS M1 - Mac Monterey (12) passed. Pipeline on Agent |
💻 [CI Build #99c855d] Tests on macOS arm64 - Mac Sequoia (15) passed 💻✅ All tests on macOS arm64 - Mac Sequoia (15) passed. Pipeline on Agent |
💻 [CI Build #99c855d] Tests on macOS M1 - Mac Ventura (13) passed 💻✅ All tests on macOS M1 - Mac Ventura (13) passed. Pipeline on Agent |
💻 [CI Build #99c855d] Tests on macOS arm64 - Mac Tahoe (26) passed 💻✅ All tests on macOS arm64 - Mac Tahoe (26) passed. Pipeline on Agent |
This comment has been minimized.
This comment has been minimized.
🚀 [CI Build #99c855d] Test results 🚀Test results✅ All tests passed on VSTS: test results. 🎉 All 126 tests passed 🎉 Tests counts✅ cecil: All 1 tests passed. Html Report (VSDrops) Download Pipeline on Agent |
This is file 13 of 47 files with nullability disabled in Foundation.
Changes:
Contributes towards #17285.