Skip to content

Commit 3e82958

Browse files
Copilotjkotas
andauthored
Port documentation improvements from dotnet/runtime#121232 (#11998)
* 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]>
1 parent 1c2e70c commit 3e82958

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,9 @@
7272
7373
## Remarks
7474
75-
The Initialize() must be called prior to calling this function.
75+
The <xref:System.Runtime.InteropServices.ObjectiveC.ObjectiveCMarshal.Initialize*> function must be called prior to calling this function.
7676
77-
The `obj` must have a type in its hierarchy marked with
77+
The `obj` parameter must have a type in its hierarchy marked with
7878
<xref:System.Runtime.InteropServices.ObjectiveC.ObjectiveCTrackedTypeAttribute>.
7979
8080
The "Is Referenced" callback passed to Initialize()

0 commit comments

Comments
 (0)