Skip to content

Improve XML docs for eight types - #26395

Merged
rolfbjarne merged 10 commits into
mainfrom
dev/rolf/xmldocs-043-batch
Aug 4, 2026
Merged

rolfbjarne merged 10 commits into
mainfrom
dev/rolf/xmldocs-043-batch

Conversation

@rolfbjarne

Copy link
Copy Markdown
Member

Improve XML documentation for:

  • AVAudioChannelLayout
  • AVCaptureVideoPreviewLayer
  • AVDepthData
  • NSTreeController
  • BCChatAction
  • CBPeripheral
  • CGRectEdge
  • CGGradientDrawingOptions

Each type is documented in a separate commit.

🤖 Pull request created by Copilot

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 9a37ff16-2fda-4715-8343-f3408ac8c442
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 9a37ff16-2fda-4715-8343-f3408ac8c442
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 9a37ff16-2fda-4715-8343-f3408ac8c442
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 9a37ff16-2fda-4715-8343-f3408ac8c442
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 9a37ff16-2fda-4715-8343-f3408ac8c442
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 9a37ff16-2fda-4715-8343-f3408ac8c442
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 9a37ff16-2fda-4715-8343-f3408ac8c442
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 9a37ff16-2fda-4715-8343-f3408ac8c442
@rolfbjarne
rolfbjarne requested a review from dalexsoto as a code owner August 3, 2026 21:26
Copilot AI review requested due to automatic review settings August 3, 2026 21:26

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.

Pull request overview

This PR improves XML documentation for several Apple framework bindings, replacing placeholder “To be added.” text with more specific summaries/param docs to better describe behavior and intent across CoreGraphics, AVFoundation, CoreBluetooth, BusinessChat, and AppKit.

Changes:

  • Replaced placeholder XML docs with concrete summaries for a few enums and convenience APIs.
  • Added/clarified parameter and return-value documentation for selected helper methods/constructors.
  • Improved clarity around gradient drawing options, rectangle edge semantics, and AVFoundation depth data helpers.

Reviewed changes

Copilot reviewed 8 out of 8 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
src/CoreGraphics/CGGradient.cs Improves enum member documentation for CGGradientDrawingOptions (None).
src/CoreGraphics/CGGeometry.cs Replaces placeholder docs for CGRectEdge members with specific edge semantics.
src/CoreBluetooth/GuidWrapper.cs Improves XML docs for CBPeripheral service discovery convenience overloads.
src/BusinessChat/BCChatAction.cs Adds a clear class summary and documents OpenTranscript parameters.
src/AVFoundation/AVDepthData.cs Clarifies XML docs for AVDepthData.Create and AvailableDepthDataTypes.
src/AVFoundation/AVCaptureVideoPreviewLayer.cs Improves docs for InitMode and constructors.
src/AVFoundation/AVAudioChannelLayout.cs Cleans up and clarifies docs for ctor and Layout property.
src/AppKit/NSTreeController.cs Improves docs for selection index path convenience properties.
Suppressed comments (1)

src/CoreBluetooth/GuidWrapper.cs:91

  • 🤖 💡 suggestion Documentation — This method also discovers all included services when includedServiceUUIDs is null (see the if (includedServiceUUIDs is null) branch). Updating the summary would make that behavior easier to discover.
		/// <summary>Discovers included services of the specified types in a service.</summary>

Comment thread src/CoreBluetooth/GuidWrapper.cs Resolved
Comment thread src/AVFoundation/AVDepthData.cs Resolved
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 9a37ff16-2fda-4715-8343-f3408ac8c442
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 9a37ff16-2fda-4715-8343-f3408ac8c442
@vs-mobiletools-engineering-service2

This comment has been minimized.

@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: 4a7fab076c32450c0ddcf70ec297a6b925ef3aa9 [PR build]

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@rolfbjarne
rolfbjarne enabled auto-merge (squash) August 4, 2026 05:44
@rolfbjarne rolfbjarne added the ready-to-review This PR is ready to review/merge. label Aug 4, 2026
@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

Copy link
Copy Markdown
Collaborator

🚀 [CI Build #4a7fab0] Test results 🚀

Test results

✅ All tests passed on VSTS: test results.

🎉 All 203 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 4 tests passed. Html Report (VSDrops) Download
✅ linker (iOS): All 15 tests passed. Html Report (VSDrops) Download
✅ linker (MacCatalyst): All 15 tests passed. Html Report (VSDrops) Download
✅ linker (macOS): All 21 tests passed. Html Report (VSDrops) Download
✅ linker (tvOS): All 15 tests passed. Html Report (VSDrops) Download
✅ monotouch (iOS): All 19 tests passed. Html Report (VSDrops) Download
✅ monotouch (MacCatalyst): All 18 tests passed. [attempt 3] Html Report (VSDrops) Download
✅ monotouch (macOS): All 19 tests passed. Html Report (VSDrops) Download
✅ monotouch (tvOS): All 19 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. 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 Monterey (12): All 5 tests passed. Html Report (VSDrops) Download
✅ Tests on macOS Ventura (13): All 5 tests passed. [attempt 2] Html Report (VSDrops) Download
✅ 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

Linux Build Verification

✅ Linux build succeeded

Pipeline on Agent
Hash: 4a7fab076c32450c0ddcf70ec297a6b925ef3aa9 [PR build]

@rolfbjarne
rolfbjarne merged commit c9dffec into main Aug 4, 2026
56 checks passed
@rolfbjarne
rolfbjarne deleted the dev/rolf/xmldocs-043-batch branch August 4, 2026 14:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

copilot 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