Skip to content

Commit f46f4f3

Browse files
authored
Add missing docs for System.Runtime.InteropServices (#8448)
1 parent bca162c commit f46f4f3

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

xml/System.Runtime.InteropServices.Marshalling/ContiguousCollectionMarshallerAttribute.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
</AssemblyInfo>
3838
<Parameters />
3939
<Docs>
40-
<summary>To be added.</summary>
40+
<summary>Constructs a default instance of the attribute.</summary>
4141
<remarks>To be added.</remarks>
4242
</Docs>
4343
</Member>

xml/System.Runtime.InteropServices.Marshalling/ReadOnlySpanMarshaller`2+ManagedToUnmanagedIn.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ The `buffer` must not be movable - that is, it should not be
155155
<Parameters />
156156
<Docs>
157157
<summary>Returns a reference to the marshalled array.</summary>
158-
<returns>To be added.</returns>
158+
<returns>A reference that can be pinned and directly passed to unmanaged code.</returns>
159159
<remarks>To be added.</remarks>
160160
</Docs>
161161
</Member>
@@ -223,7 +223,7 @@ The `buffer` must not be movable - that is, it should not be
223223
<Parameters />
224224
<Docs>
225225
<summary>Returns the unmanaged value representing the array.</summary>
226-
<returns>To be added.</returns>
226+
<returns>The unmanaged value representing the array.</returns>
227227
<remarks>To be added.</remarks>
228228
</Docs>
229229
</Member>

xml/System.Runtime.InteropServices.Marshalling/SpanMarshaller`2+ManagedToUnmanagedIn.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
<ReturnType>System.Int32</ReturnType>
5555
</ReturnValue>
5656
<Docs>
57-
<summary>To be added.</summary>
57+
<summary>Gets the size of the caller-allocated buffer to allocate.</summary>
5858
<value>To be added.</value>
5959
<remarks>To be added.</remarks>
6060
</Docs>
@@ -155,7 +155,7 @@ The `buffer` must not be movable - that is, it should not be
155155
<Parameters />
156156
<Docs>
157157
<summary>Returns a reference to the marshalled array.</summary>
158-
<returns>To be added.</returns>
158+
<returns>A reference that can be pinned and directly passed to unmanaged code.</returns>
159159
<remarks>To be added.</remarks>
160160
</Docs>
161161
</Member>
@@ -223,7 +223,7 @@ The `buffer` must not be movable - that is, it should not be
223223
<Parameters />
224224
<Docs>
225225
<summary>Returns the unmanaged value representing the array.</summary>
226-
<returns>To be added.</returns>
226+
<returns>The unmanaged value representing the array.</returns>
227227
<remarks>To be added.</remarks>
228228
</Docs>
229229
</Member>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Namespace Name="System.Runtime.InteropServices.Marshalling">
22
<Docs>
3-
<summary>To be added.</summary>
3+
<summary>Contains support types for source-generated interop, such as <see cref="T:System.Runtime.InteropServices.Marshalling.MarshalUsingAttribute" />.</summary>
44
<remarks>To be added.</remarks>
55
</Docs>
66
</Namespace>

0 commit comments

Comments
 (0)