Skip to content

Conversation

@rolfbjarne
Copy link
Member

No description provided.

Copilot AI review requested due to automatic review settings October 31, 2025 09:41
@dotnet-policy-service
Copy link
Contributor

Tagging subscribers to this area: @dotnet/interop-contrib
See info in area-owners.md if you want to be subscribed.

Copy link
Contributor

Copilot AI left a comment

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 documentation clarity in the ObjectiveCMarshal class by fixing XML documentation syntax and enhancing parameter descriptions.

  • Updates the reference to Initialize() to use proper XML documentation syntax (<cref>)
  • Clarifies the obj parameter description by explicitly referring to it as a "parameter"

Reviewed Changes

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

File Description
ObjectiveCMarshal.cs Updates XML documentation in CreateReferenceTrackingHandle method to use proper cref syntax and clarify parameter description
ObjectiveCMarshal.PlatformNotSupported.cs Applies identical documentation updates to the platform-not-supported variant for consistency

@jkotas
Copy link
Member

jkotas commented Oct 31, 2025

/ba-g infrastructure timeouts

@jkotas jkotas merged commit b2571fa into dotnet:main Oct 31, 2025
135 of 143 checks passed
AaronRobinsonMSFT pushed a commit to dotnet/dotnet-api-docs that referenced this pull request Oct 31, 2025
* Port documentation improvements from runtime PR #121232

Updated ObjectiveCMarshal.CreateReferenceTrackingHandle documentation:
- Changed "The Initialize()" to use proper xref to Initialize method
- Changed "The `obj`" to "The `obj` parameter" for clarity

Co-authored-by: jkotas <[email protected]>

* Update xml/System.Runtime.InteropServices.ObjectiveC/ObjectiveCMarshal.xml

* Update xml/System.Runtime.InteropServices.ObjectiveC/ObjectiveCMarshal.xml

---------

Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: jkotas <[email protected]>
Co-authored-by: Jan Kotas <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants