- 
                Notifications
    
You must be signed in to change notification settings  - Fork 5.2k
 
Improve the docs for ObjectiveCMarshal.CreateReferenceTrackingHandle slightly. #121232
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve the docs for ObjectiveCMarshal.CreateReferenceTrackingHandle slightly. #121232
Conversation
| 
           Tagging subscribers to this area: @dotnet/interop-contrib  | 
    
There was a problem hiding this 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 
objparameter 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 | 
        
          
                ...es/System.Private.CoreLib/src/System/Runtime/InteropServices/ObjectiveC/ObjectiveCMarshal.cs
          
            Show resolved
            Hide resolved
        
              
          
                ...eLib/src/System/Runtime/InteropServices/ObjectiveC/ObjectiveCMarshal.PlatformNotSupported.cs
          
            Show resolved
            Hide resolved
        
      | 
           /ba-g infrastructure timeouts  | 
    
* 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]>
No description provided.