Skip to content

[docs] Improve XML docs for various types - #26379

Merged
rolfbjarne merged 5 commits into
mainfrom
dev/rolf/xmldocs-042-batch
Aug 3, 2026
Merged

rolfbjarne merged 5 commits into
mainfrom
dev/rolf/xmldocs-042-batch

Conversation

@rolfbjarne

Copy link
Copy Markdown
Member

Improve XML documentation for 23 types across multiple frameworks.

Types documented:
SCNJavaScript, SecIdentity, UINavigationController, UIPushBehavior, WebFrame, NWErrorDomain, AVCaptureFileOutput, AVUrlAssetOptions, ABAddressFormatting, BCChatButtonStyle, StartAdvertisingOptions, CVMetalTextureAttributes, CWConfiguration, EKUIBundle, NSBundle, INSetProfileInCarIntent, NWProtocolOptions, NEHotspotEapSettings, DelayedRegistrationAttribute, SKAction, UICollectionViewLayout, DCError, AVAssetDownloadStorageManagementPolicy

Changes:

  • Replace placeholder parameter descriptions with meaningful descriptions
  • Replace generic enum summaries with specific descriptions
  • Remove empty remarks elements
  • Fix tag ordering

πŸ€– Pull request created by Copilot

Improve XML documentation for SCNJavaScript, SecIdentity, UINavigationController,
UIPushBehavior, WebFrame, NWErrorDomain, AVCaptureFileOutput, AVUrlAssetOptions,
ABAddressFormatting, BCChatButtonStyle, StartAdvertisingOptions, CVMetalTextureAttributes,
CWConfiguration, EKUIBundle, NSBundle, INSetProfileInCarIntent, NWProtocolOptions,
NEHotspotEapSettings, DelayedRegistrationAttribute, SKAction, UICollectionViewLayout,
DCError, and AVAssetDownloadStorageManagementPolicy.

Changes include:
- Replace placeholder parameter descriptions with meaningful descriptions
- Replace generic enum summaries with specific descriptions
- Remove empty remarks elements
- Fix tag ordering

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 July 31, 2026 15:04
Copilot AI review requested due to automatic review settings July 31, 2026 15:04

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

Updates XML documentation across several Apple-framework binding types in dotnet/macios, primarily replacing placeholder docs and removing empty <remarks> blocks to improve generated API documentation/IntelliSense.

Changes:

  • Replace placeholder <param> documentation with more descriptive text for various APIs.
  • Improve some enum member summaries (and remove empty <remarks> tags).
  • Clean up XML doc structure by removing empty remarks elements.

Reviewed changes

Copilot reviewed 23 out of 23 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
src/WebKit/WebKit.cs Updates parameter XML docs for WebFrame.LoadHtmlString.
src/UIKit/UIPushBehavior.cs Updates constructor parameter XML docs.
src/UIKit/UINavigationController.cs Updates constructor parameter XML docs.
src/UIKit/UICollectionViewLayout.cs Removes placeholder remarks and updates parameter docs.
src/SpriteKit/SKAction.cs Updates parameter XML docs for ResizeTo.
src/Security/SecIdentity.cs Removes placeholder <remarks> from type/property docs.
src/SceneKit/SCNJavaScript.cs Removes placeholder <remarks> and improves parameter doc for ExportModule.
src/ObjCRuntime/DelayedRegistrationAttribute.cs Removes placeholder <remarks> from attribute/type docs.
src/NetworkExtension/NEHotspotEapSettings.cs Removes placeholder <remarks> from type/property docs.
src/Network/NWProtocolOptions.cs Removes placeholder <remarks> from ProtocolDefinition docs.
src/network.cs Improves enum member summaries for NWErrorDomain.
src/Intents/INSetProfileInCarIntent.cs Improves constructor parameter XML docs.
src/Foundation/NSBundle.cs Removes placeholder remarks and improves PathsForResources parameter doc.
src/EventKitUI/EKUIBundle.cs Removes placeholder <remarks> from type/property docs.
src/devicecheck.cs Improves some DCError enum member docs; removes placeholder remarks on DCDevice.Supported.
src/CoreWlan/CWConfiguration.cs Removes placeholder <remarks> from type/property docs.
src/CoreVideo/CVMetalTextureAttributes.cs Removes placeholder <remarks> from type/property docs.
src/CoreBluetooth/AdvertisementDataOptions.cs Removes placeholder remarks and improves StartAdvertisingOptions(NSDictionary) parameter doc.
src/BusinessChat/Enums.cs Improves enum member summaries for BCChatButtonStyle / BCParameterName.
src/AVFoundation/AVUrlAssetOptions.cs Removes placeholder remarks and improves AVUrlAssetOptions(NSDictionary) parameter doc.
src/AVFoundation/AVCaptureFileOutput.cs Improves parameter XML docs for StartRecordingToOutputFile.
src/AVFoundation/AVAssetDownloadStorageManagementPolicy.cs Removes placeholder <remarks> from Priority property docs.
src/AddressBookUI/ABAddressFormatting.cs Improves parameter XML docs for ABAddressFormatting.ToString.
Suppressed comments (1)

src/network.cs:18

  • πŸ€– πŸ’‘ Documentation β€” Use standard acronym casing (DNS/TLS) in these summaries so they read well in generated docs and IntelliSense.
		/// <summary>Indicates dns.</summary>
		[Field ("kNWErrorDomainDNS")]
		Dns = 2,
		/// <summary>Indicates tls.</summary>
		[Field ("kNWErrorDomainTLS")]
		Tls = 3,

Comment thread src/WebKit/WebKit.cs Resolved
Comment thread src/UIKit/UIPushBehavior.cs Resolved
Comment thread src/AVFoundation/AVCaptureFileOutput.cs Resolved
Comment thread src/network.cs Resolved
Replace generic parameter and summary descriptions with more specific,
meaningful documentation that provides value in IntelliSense tooltips.

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

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

- ABAddressFormatting: Add summary and returns, reorder tags, fix indentation
- AVAssetDownloadStorageManagementPolicy: Replace To be added summary/value with
  meaningful descriptions for both Priority properties

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 9a37ff16-2fda-4715-8343-f3408ac8c442
Comment thread src/AVFoundation/AVCaptureFileOutput.cs Resolved
@vs-mobiletools-engineering-service2

This comment has been minimized.

rolfbjarne and others added 2 commits August 3, 2026 14:39
Address review feedback: replace all 'To be added.' elements in every
modified file with meaningful documentation.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 9a37ff16-2fda-4715-8343-f3408ac8c442
Sort XML documentation elements, fix indentation, and improve the remaining modified documentation blocks.

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

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@rolfbjarne

Copy link
Copy Markdown
Member Author

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 3 pipeline(s).

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

@vs-mobiletools-engineering-service2

Copy link
Copy Markdown
Collaborator

πŸš€ [CI Build #d97396d] 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. 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. 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: d97396de11660c46503461cc61cc6aadc1c56dd4 [PR build]

@rolfbjarne
rolfbjarne merged commit 97d65f4 into main Aug 3, 2026
56 checks passed
@rolfbjarne
rolfbjarne deleted the dev/rolf/xmldocs-042-batch branch August 3, 2026 21:03
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