Repository navigation
[release/11.0.1xx] [docs] Fix documentation report warnings - #27026
rolfbjarne merged 1 commit into
Conversation
The documentation publishing report contains unresolved references to internal runtime members, unresolved disposal documentation inheritance, and retired animation guidance. Fix the source documentation without changing runtime behavior or editing the generated documentation repository. - Document the public AppKit and UIKit thread-check APIs directly instead of inheriting documentation from internal runtime members. - Give the stream and HTTP handler disposal overrides self-contained documentation. Explicitly target NSObject.Dispose(bool) in generated bindings so inheritance does not depend on AVAudioSession having the same base type on every platform, and update all four XML snapshots. - Replace the remaining retired UIView animation recipe link with Apple's UIViewPropertyAnimator documentation. The other five reported dead recipe links are already absent from this source checkout. Security.SecKeychain is public and present in the emitted API documentation, so its missing generated references remain a documentation-generation issue rather than requiring a source workaround. > [!NOTE] > 🤖 Pull request created by Copilot --------- Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
🟢 Approval recommended
The documentation-only changes have consistent snapshot updates and no blocking issues; the remaining wording suggestion is minor.
1 open issue
4 files not reviewed
tests/bgen/tests/ExpectedXmlDocs.MacCatalyst.xml: Generated filetests/bgen/tests/ExpectedXmlDocs.iOS.xml: Generated filetests/bgen/tests/ExpectedXmlDocs.macOS.xml: Generated filetests/bgen/tests/ExpectedXmlDocs.tvOS.xml: Generated file
What changed in this PR
Backports documentation-report fixes to release/11.0.1xx, improving API documentation resolution without changing runtime behavior.
Changes:
- Replaces unresolved inheritance with direct documentation for thread checks and disposal overrides.
- Explicitly targets
NSObject.Dispose(bool)in generated documentation and updates all four platform snapshots. - Replaces a retired animation recipe link with Apple’s
UIViewPropertyAnimatordocumentation.
| File | Description |
|---|---|
| tests/bgen/tests/ExpectedXmlDocs.tvOS.xml | Updates the expected disposal inheritance target. |
| tests/bgen/tests/ExpectedXmlDocs.macOS.xml | Updates the expected disposal inheritance target. |
| tests/bgen/tests/ExpectedXmlDocs.MacCatalyst.xml | Updates the expected disposal inheritance target. |
| tests/bgen/tests/ExpectedXmlDocs.iOS.xml | Updates the expected disposal inheritance target. |
| src/UIKit/UIApplication.cs | Documents public UIKit thread-check APIs directly. |
| src/System.Net.Http/CFNetworkHandler.cs | Documents disposal delegation to the base handler. |
| src/Foundation/NSUrlSessionHandler.cs | Adds self-contained disposal documentation. |
| src/Compression/Compression.cs | Documents resource cleanup and underlying-stream disposal. |
| src/bgen/Generator.cs | Emits explicit disposal documentation inheritance. |
| src/AppKit/NSApplication.cs | Documents public AppKit thread-check APIs directly. |
| docs/api/UIKit/UIView.xml | Replaces the retired animation guidance link. |
Review effort: Balanced
✅ 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 |
This comment has been minimized.
This comment has been minimized.
🚀 [CI Build #308c958] Test results 🚀Test results✅ All tests passed on VSTS: test results. 🎉 All 269 tests passed 🎉 Tests counts✅ assembly-processing: All 1 tests passed. Html Report (VSDrops) Download macOS tests✅ Tests on macOS Sonoma (14): All 5 tests passed. Html Report (VSDrops) Download Linux Build VerificationPipeline on Agent |

The documentation publishing report contains unresolved references to internal runtime members, unresolved disposal documentation inheritance, and retired animation guidance. Fix the source documentation without changing runtime behavior or editing the generated documentation repository.
The other five reported dead recipe links are already absent from this source checkout. Security.SecKeychain is public and present in the emitted API documentation, so its missing generated references remain a documentation-generation issue rather than requiring a source workaround.
Note
🤖 Pull request created by Copilot
Co-authored-by: Copilot App 223556219+Copilot@users.noreply.github.com
Backport of #27013.