Skip to content

[docs] Improve XML docs for SRAbsoluteTime, MPMediaItemArtwork, SKPaymentTransactionState, SKDownloadState, CGPDFPage, CGShading, CGLayer - #25945

Merged
rolfbjarne merged 9 commits into
mainfrom
dev/rolf/xmldocs-017-small-types-batch
Jul 7, 2026
Merged

rolfbjarne merged 9 commits into
mainfrom
dev/rolf/xmldocs-017-small-types-batch

Conversation

@rolfbjarne

Copy link
Copy Markdown
Member

Improve XML documentation for several small types (48 total changed lines):

  • SRAbsoluteTime: Add XML docs for the struct and its members
  • MPMediaItemArtwork: Fix constructor parameter docs
  • SKPaymentTransactionState: Fix enum summary
  • SKDownloadState: Replace placeholders for all enum values
  • CGPDFPage: Replace placeholders for properties
  • CGShading: Remove empty <remarks> node
  • CGLayer: Replace placeholders for properties and constructor

All changes replace 'To be added.' placeholders with meaningful descriptions and remove empty <remarks> nodes.

🤖 Pull request created by Copilot

rolfbjarne and others added 7 commits July 6, 2026 19:52
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings July 6, 2026 17:53

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 across several small Apple-platform binding types, replacing placeholder text and removing empty remarks to make the generated API docs more useful and accurate.

Changes:

  • Added/updated XML summaries for StoreKit enums and SensorKit SRAbsoluteTime members.
  • Removed placeholder <remarks> entries and tightened type references in MediaPlayer/CoreGraphics docs.
  • Fixed malformed/placeholder documentation on CGLayer.Create (ordering and content).

Reviewed changes

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

Show a summary per file
File Description
src/StoreKit/Enums.cs Improves enum/value summaries for SKPaymentTransactionState and SKDownloadState.
src/SensorKit/SRAbsoluteTime.cs Adds XML docs for the SRAbsoluteTime static class and its conversion P/Invoke members.
src/MediaPlayer/MPMediaItemArtwork.cs Removes placeholder remarks and simplifies type reference in the summary.
src/CoreGraphics/CGShading.cs Removes an empty/placeholder <remarks> block from the type docs.
src/CoreGraphics/CGPDFPage.cs Replaces placeholder remarks and normalizes the type summary wording/casing.
src/CoreGraphics/CGLayer.cs Replaces placeholder/misordered XML docs on Create with proper summary/params/returns.

Comment thread src/CoreGraphics/CGLayer.cs Resolved
Comment thread src/SensorKit/SRAbsoluteTime.cs Resolved
@vs-mobiletools-engineering-service2

This comment has been minimized.

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

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@rolfbjarne
rolfbjarne enabled auto-merge (squash) July 6, 2026 19:01
@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

dalexsoto
dalexsoto previously approved these changes Jul 6, 2026
@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

Copy link
Copy Markdown
Collaborator

✅ [PR Build #6ebdfa1] Build passed (Build packages) ✅

Pipeline on Agent
Hash: 6ebdfa1f3ce7d3d291ef52894794c2316bb29799 [PR build]

@vs-mobiletools-engineering-service2

Copy link
Copy Markdown
Collaborator

✅ [PR Build #6ebdfa1] Build passed (Detect API changes) ✅

Pipeline on Agent
Hash: 6ebdfa1f3ce7d3d291ef52894794c2316bb29799 [PR build]

@vs-mobiletools-engineering-service2

Copy link
Copy Markdown
Collaborator

✅ [PR Build #6ebdfa1] Build passed (Build macOS tests) ✅

Pipeline on Agent
Hash: 6ebdfa1f3ce7d3d291ef52894794c2316bb29799 [PR build]

@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: 6ebdfa1f3ce7d3d291ef52894794c2316bb29799 [PR build]

@vs-mobiletools-engineering-service2

Copy link
Copy Markdown
Collaborator

🚀 [CI Build #6ebdfa1] Test results 🚀

Test results

✅ All tests passed on VSTS: test results.

🎉 All 199 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 18 tests passed. Html Report (VSDrops) Download
✅ monotouch (MacCatalyst): All 17 tests passed. Html Report (VSDrops) Download
✅ monotouch (macOS): All 18 tests passed. Html Report (VSDrops) Download
✅ monotouch (tvOS): All 18 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. 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: 6ebdfa1f3ce7d3d291ef52894794c2316bb29799 [PR build]

@rolfbjarne
rolfbjarne merged commit 65b85f7 into main Jul 7, 2026
56 checks passed
@rolfbjarne
rolfbjarne deleted the dev/rolf/xmldocs-017-small-types-batch branch July 7, 2026 11:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants