[docs] Improve XML docs for NSScreen, NSTextField, AudioUnitUtils, and 7 more types - #26229
Conversation
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>
…Args 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>
There was a problem hiding this comment.
Pull request overview
This PR improves XML documentation across several Apple-platform binding types in src/, primarily by replacing placeholder “To be added.” text with meaningful summaries/values/returns and removing empty doc nodes to produce higher-quality generated API docs.
Changes:
- Replaced boilerplate XML docs with concrete descriptions for properties/methods/consts across Foundation/AppKit/AVFoundation/AudioUnit/CoreBluetooth.
- Removed empty
<remarks>(and similar) nodes where they added no value. - Adjusted doc formatting/indentation in the touched areas.
Reviewed changes
Copilot reviewed 10 out of 10 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| src/Foundation/NSUuid.cs | Improves GetBytes XML docs to describe returned 16-byte UUID representation. |
| src/Foundation/NSErrorException.cs | Improves Message XML docs to clarify it comes from the underlying NSError. |
| src/Foundation/NSDimension.cs | Improves BaseUnit docs (but wording should avoid “override” for a static member). |
| src/Foundation/ConnectAttribute.cs | Removes empty <remarks> (but doc tag order/typo need fixing for valid XML docs). |
| src/CoreBluetooth/PeripheralScanningOptions.cs | Documents AllowDuplicatesKey semantics for scanning duplicates. |
| src/AVFoundation/AVAudioFormat.cs | Removes empty remarks and improves StreamDescription value docs. |
| src/AVFoundation/AudioRendererWasFlushedAutomaticallyEventArgs.cs | Documents AudioRendererFlushTime meaning/value. |
| src/AudioUnit/AudioUnitUtils.cs | Removes empty remarks and documents SampleFractionBits constant. |
| src/AppKit/NSTextField.cs | Documents the typed Cell property override/hide. |
| src/AppKit/NSScreen.cs | Documents SupportedWindowDepths property meaning and returned values. |
…ording - Reorder param/summary tags and fix 'Inteface' -> 'Interface' typo - Change 'override' to 're-declare' for static BaseUnit property Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 9a37ff16-2fda-4715-8343-f3408ac8c442
This comment has been minimized.
This comment has been minimized.
✅ 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.
This comment has been minimized.
This comment has been minimized.
🚀 [CI Build #3db63fe] 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 macOS tests✅ Tests on macOS Monterey (12): All 5 tests passed. Html Report (VSDrops) Download Linux Build VerificationPipeline on Agent |
Improve XML documentation for:
NSScreen(AppKit)NSTextField(AppKit)AudioUnitUtils(AudioUnit)AudioRendererWasFlushedAutomaticallyEventArgs(AudioToolbox)AVAudioFormat(AVFoundation)PeripheralScanningOptions(CoreBluetooth)ConnectAttribute(Foundation)NSDimension(Foundation)NSErrorException(Foundation)NSUuid(Foundation)Changes:
🤖 Pull request created by Copilot