Skip to content

Commit deff009

Browse files
carlossanlopRon Petrusha
andcommitted
Automatically port ReadOnlySpan.GetPinnableReference (#3179)
* Automatically port ReadOnlySpan.GetPinnableReference * returns suggestion by rpetrusha Co-Authored-By: Ron Petrusha <[email protected]>
1 parent 137fdd4 commit deff009

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

xml/System/ReadOnlySpan`1.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -379,8 +379,8 @@ This method returns `default` when `array` is `null`.
379379
</ReturnValue>
380380
<Parameters />
381381
<Docs>
382-
<summary>To be added.</summary>
383-
<returns>To be added.</returns>
382+
<summary>A read-only reference to an object of type T that can be used for pinning, and is required to support the use of span within a fixed statement.</summary>
383+
<returns>A reference to the element of the span at index 0, or <see langword="null" /> if the span is empty.</returns>
384384
<remarks>To be added.</remarks>
385385
</Docs>
386386
</Member>

0 commit comments

Comments
 (0)