Skip to content

Commit b2571fa

Browse files
authored
Improve the docs for ObjectiveCMarshal.CreateReferenceTrackingHandle slightly. (#121232)
1 parent b22d55a commit b2571fa

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/libraries/System.Private.CoreLib/src/System/Runtime/InteropServices/ObjectiveC/ObjectiveCMarshal.PlatformNotSupported.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,9 @@ public static unsafe void Initialize(
7070
/// <returns>Reference tracking GC handle.</returns>
7171
/// <exception cref="InvalidOperationException">Thrown if the ObjectiveCMarshal API has not been initialized.</exception>
7272
/// <remarks>
73-
/// The Initialize() must be called prior to calling this function.
73+
/// The <see cref="Initialize" /> function must be called prior to calling this function.
7474
///
75-
/// The <paramref name="obj"/> must have a type in its hierarchy marked with
75+
/// The <paramref name="obj"/> parameter must have a type in its hierarchy marked with
7676
/// <see cref="ObjectiveCTrackedTypeAttribute"/>.
7777
///
7878
/// The "Is Referenced" callback passed to Initialize()

src/libraries/System.Private.CoreLib/src/System/Runtime/InteropServices/ObjectiveC/ObjectiveCMarshal.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,9 +84,9 @@ public static unsafe void Initialize(
8484
/// <returns>Reference tracking GC handle.</returns>
8585
/// <exception cref="InvalidOperationException">Thrown if the ObjectiveCMarshal API has not been initialized.</exception>
8686
/// <remarks>
87-
/// The Initialize() must be called prior to calling this function.
87+
/// The <see cref="Initialize" /> function must be called prior to calling this function.
8888
///
89-
/// The <paramref name="obj"/> must have a type in its hierarchy marked with
89+
/// The <paramref name="obj"/> parameter must have a type in its hierarchy marked with
9090
/// <see cref="ObjectiveCTrackedTypeAttribute"/>.
9191
///
9292
/// The "Is Referenced" callback passed to Initialize()

0 commit comments

Comments
 (0)