Skip to content

[release/11.0.1xx] [docs] Fix documentation report warnings - #27026

Merged
rolfbjarne merged 1 commit into
release/11.0.1xxfrom
dev/rolf/backport-pr-27013-release/11.0.1xx-2026-10-26
Oct 27, 2026
Merged

rolfbjarne merged 1 commit into
release/11.0.1xxfrom
dev/rolf/backport-pr-27013-release/11.0.1xx-2026-10-26

Conversation

@rolfbjarne

Copy link
Copy Markdown
Member

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

Backport of #27013.

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>
@rolfbjarne
rolfbjarne requested a review from dalexsoto as a code owner October 26, 2026 16:57
@rolfbjarne rolfbjarne added backported ready-to-review This PR is ready to review/merge. labels Oct 26, 2026
Copilot AI balanced review requested due to automatic review settings October 26, 2026 16:57

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 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 file
  • tests/bgen/tests/ExpectedXmlDocs.iOS.xml: Generated file
  • tests/bgen/tests/ExpectedXmlDocs.macOS.xml: Generated file
  • tests/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 UIViewPropertyAnimator documentation.
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

Comment thread src/Foundation/NSUrlSessionHandler.cs Resolved
@vs-mobiletools-engineering-service2

Copy link
Copy Markdown
Collaborator

✅ API diff for current PR / commit

NET (empty diffs)

✅ API diff vs stable

NET (empty diffs)

ℹ️ Generator diff

Generator Diff: vsdrops (html) vsdrops (raw diff) gist (raw diff) - Please review changes)

Pipeline on Agent
Hash: 308c95860c4323c10448bfd2d9a80a2981f9b5b3 [PR build]

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

Copy link
Copy Markdown
Collaborator

🚀 [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
✅ cecil: All 1 tests passed. Html Report (VSDrops) Download
✅ dotnettests (iOS): All 1 tests passed. Html Report (VSDrops) Download
✅ dotnettests (MacCatalyst): All 1 tests passed. Html Report (VSDrops) Download
✅ dotnettests (macOS): All 1 tests passed. Html Report (VSDrops) Download
✅ dotnettests (Multiple platforms): All 1 tests passed. Html Report (VSDrops) Download
✅ dotnettests (tvOS): All 1 tests passed. Html Report (VSDrops) Download
✅ framework: All 2 tests passed. Html Report (VSDrops) Download
✅ fsharp: All 4 tests passed. Html Report (VSDrops) Download
✅ generator: All 5 tests passed. Html Report (VSDrops) Download
✅ interdependent-binding-projects: All 4 tests passed. Html Report (VSDrops) Download
✅ introspection: All 7 tests passed. Html Report (VSDrops) Download
✅ linker (iOS): All 31 tests passed. Html Report (VSDrops) Download
✅ linker (MacCatalyst): All 31 tests passed. Html Report (VSDrops) Download
✅ linker (macOS): All 21 tests passed. Html Report (VSDrops) Download
✅ linker (tvOS): All 31 tests passed. Html Report (VSDrops) Download
✅ monotouch (iOS): All 25 tests passed. Html Report (VSDrops) Download
✅ monotouch (MacCatalyst): All 25 tests passed. Html Report (VSDrops) Download
✅ monotouch (macOS): All 20 tests passed. Html Report (VSDrops) Download
✅ monotouch (tvOS): All 25 tests passed. Html Report (VSDrops) Download
✅ msbuild: All 2 tests passed. Html Report (VSDrops) Download
✅ sharpie: All 1 tests passed. Html Report (VSDrops) Download
✅ windows: All 3 tests passed. [attempt 2] Html Report (VSDrops) Download
✅ xcframework: All 4 tests passed. Html Report (VSDrops) Download
✅ xtro: All 1 tests passed. Html Report (VSDrops) Download

macOS tests

✅ Tests on macOS Sonoma (14): All 5 tests passed. Html Report (VSDrops) Download
✅ Tests on macOS Sequoia (15): All 5 tests passed. Html Report (VSDrops) Download
✅ Tests on macOS Tahoe (26): All 5 tests passed. Html Report (VSDrops) Download
✅ Tests on macOS Golden Gate (27): All 5 tests passed. Html Report (VSDrops) Download

Linux Build Verification

✅ Linux build succeeded

Pipeline on Agent
Hash: 308c95860c4323c10448bfd2d9a80a2981f9b5b3 [PR build]

@rolfbjarne
rolfbjarne merged commit 58dfb72 into release/11.0.1xx Oct 27, 2026
56 checks passed
@rolfbjarne
rolfbjarne deleted the dev/rolf/backport-pr-27013-release/11.0.1xx-2026-10-26 branch October 27, 2026 22:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backported ready-to-review This PR is ready to review/merge.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants