Skip to content

Commit 1cde02e

Browse files
authored
Remove erroneous ArgumentNullException mention from AsSpan (#7782)
1 parent c08c612 commit 1cde02e

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

xml/System/MemoryExtensions.xml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -651,8 +651,6 @@ Returns `default` when `text` is `null`.
651651
<summary>Creates a new read-only span over a portion of the target string from a specified position to the end of the string.</summary>
652652
<returns>The read-only span representation of the string.</returns>
653653
<remarks>To be added.</remarks>
654-
<exception cref="T:System.ArgumentNullException">
655-
<paramref name="text" /> is <see langword="null" />.</exception>
656654
<exception cref="T:System.ArgumentOutOfRangeException">
657655
<paramref name="start" /> is less than 0 or greater than <see langword="text.Length" />.</exception>
658656
</Docs>

0 commit comments

Comments
 (0)