From 622aa122e6fec255323fcd4bf618532bb8ba91a2 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 31 Oct 2025 16:36:31 +0000 Subject: [PATCH 1/4] Initial plan From 66c0f345aca30e4d896db62c76d6e67bc0402a8b Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 31 Oct 2025 16:44:58 +0000 Subject: [PATCH 2/4] 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 <6668460+jkotas@users.noreply.github.com> --- .../ObjectiveCMarshal.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xml/System.Runtime.InteropServices.ObjectiveC/ObjectiveCMarshal.xml b/xml/System.Runtime.InteropServices.ObjectiveC/ObjectiveCMarshal.xml index ae152e6db47..167ae702d5c 100644 --- a/xml/System.Runtime.InteropServices.ObjectiveC/ObjectiveCMarshal.xml +++ b/xml/System.Runtime.InteropServices.ObjectiveC/ObjectiveCMarshal.xml @@ -72,9 +72,9 @@ ## Remarks -The Initialize() must be called prior to calling this function. +The function must be called prior to calling this function. -The `obj` must have a type in its hierarchy marked with +The `obj` parameter must have a type in its hierarchy marked with . The "Is Referenced" callback passed to Initialize() From c1c01c5034a4d8a9e897acb24879a5db924f0ff6 Mon Sep 17 00:00:00 2001 From: Jan Kotas Date: Fri, 31 Oct 2025 09:50:30 -0700 Subject: [PATCH 3/4] Update xml/System.Runtime.InteropServices.ObjectiveC/ObjectiveCMarshal.xml --- .../ObjectiveCMarshal.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xml/System.Runtime.InteropServices.ObjectiveC/ObjectiveCMarshal.xml b/xml/System.Runtime.InteropServices.ObjectiveC/ObjectiveCMarshal.xml index 167ae702d5c..e4c5d2f4975 100644 --- a/xml/System.Runtime.InteropServices.ObjectiveC/ObjectiveCMarshal.xml +++ b/xml/System.Runtime.InteropServices.ObjectiveC/ObjectiveCMarshal.xml @@ -72,7 +72,7 @@ ## Remarks -The function must be called prior to calling this function. +The function must be called prior to calling this function. The `obj` parameter must have a type in its hierarchy marked with . From 10b142f0d25c8fc81ceed44a1f20bdf0c14c0afc Mon Sep 17 00:00:00 2001 From: Jan Kotas Date: Fri, 31 Oct 2025 09:52:54 -0700 Subject: [PATCH 4/4] Update xml/System.Runtime.InteropServices.ObjectiveC/ObjectiveCMarshal.xml --- .../ObjectiveCMarshal.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xml/System.Runtime.InteropServices.ObjectiveC/ObjectiveCMarshal.xml b/xml/System.Runtime.InteropServices.ObjectiveC/ObjectiveCMarshal.xml index e4c5d2f4975..167ae702d5c 100644 --- a/xml/System.Runtime.InteropServices.ObjectiveC/ObjectiveCMarshal.xml +++ b/xml/System.Runtime.InteropServices.ObjectiveC/ObjectiveCMarshal.xml @@ -72,7 +72,7 @@ ## Remarks -The function must be called prior to calling this function. +The function must be called prior to calling this function. The `obj` parameter must have a type in its hierarchy marked with .