diff --git a/src/libraries/System.Private.CoreLib/src/System/Runtime/InteropServices/Java/ComponentCrossReference.cs b/src/libraries/System.Private.CoreLib/src/System/Runtime/InteropServices/Java/ComponentCrossReference.cs index d6fe9cf9bd3cf0..41e4d8b12d1c85 100644 --- a/src/libraries/System.Private.CoreLib/src/System/Runtime/InteropServices/Java/ComponentCrossReference.cs +++ b/src/libraries/System.Private.CoreLib/src/System/Runtime/InteropServices/Java/ComponentCrossReference.cs @@ -5,6 +5,9 @@ namespace System.Runtime.InteropServices.Java { + /// + /// Represents a cross-reference between two tracked component groups. + /// [CLSCompliant(false)] [SupportedOSPlatform("android")] [StructLayout(LayoutKind.Sequential)] diff --git a/src/libraries/System.Private.CoreLib/src/System/Runtime/InteropServices/Java/MarkCrossReferencesArgs.cs b/src/libraries/System.Private.CoreLib/src/System/Runtime/InteropServices/Java/MarkCrossReferencesArgs.cs index 50c2ff414ada8f..f8878a2842fe37 100644 --- a/src/libraries/System.Private.CoreLib/src/System/Runtime/InteropServices/Java/MarkCrossReferencesArgs.cs +++ b/src/libraries/System.Private.CoreLib/src/System/Runtime/InteropServices/Java/MarkCrossReferencesArgs.cs @@ -5,14 +5,33 @@ namespace System.Runtime.InteropServices.Java { + /// + /// Data for the callback supplied to + /// for marking managed objects referenced from Java during cross-reference processing. + /// [CLSCompliant(false)] [SupportedOSPlatform("android")] [StructLayout(LayoutKind.Sequential)] public unsafe struct MarkCrossReferencesArgs { + /// + /// The number of strongly connected components being reported. + /// public nuint ComponentCount; + + /// + /// A pointer to the array of strongly connected components. + /// public StronglyConnectedComponent* Components; + + /// + /// The number of cross-references being reported. + /// public nuint CrossReferenceCount; + + /// + /// A pointer to the array of cross-references. + /// public ComponentCrossReference* CrossReferences; } } diff --git a/src/libraries/System.Private.CoreLib/src/System/Runtime/InteropServices/Java/StronglyConnectedComponent.cs b/src/libraries/System.Private.CoreLib/src/System/Runtime/InteropServices/Java/StronglyConnectedComponent.cs index e1553ebf4824e3..2a711511c4108c 100644 --- a/src/libraries/System.Private.CoreLib/src/System/Runtime/InteropServices/Java/StronglyConnectedComponent.cs +++ b/src/libraries/System.Private.CoreLib/src/System/Runtime/InteropServices/Java/StronglyConnectedComponent.cs @@ -5,6 +5,10 @@ namespace System.Runtime.InteropServices.Java { + /// + /// Represents a strongly connected component of managed objects + /// referenced for cross-reference processing. + /// [CLSCompliant(false)] [SupportedOSPlatform("android")] [StructLayout(LayoutKind.Sequential)]