Skip to content

Commit ff4a282

Browse files
AnipikRon Petrusha
authored andcommitted
correct docs (#2466)
1 parent 975d30a commit ff4a282

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

xml/System/Memory`1.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -619,7 +619,7 @@ The garbage collector will not move the memory until the returned <xref:System.B
619619
<returns>An object that contains all elements of the current instance from <paramref name="start" /> to the end of the instance. </returns>
620620
<remarks>To be added.</remarks>
621621
<exception cref="T:System.ArgumentOutOfRangeExceptionException">
622-
<paramref name="start" /> is less than zero or greater than or equal to <see cref="P:System.Memory`1.Length" />. </exception>
622+
<paramref name="start" /> is less than zero or greater than <see cref="P:System.Memory`1.Length" />. </exception>
623623
</Docs>
624624
</Member>
625625
<Member MemberName="Slice">
@@ -686,7 +686,7 @@ The garbage collector will not move the memory until the returned <xref:System.B
686686
<returns>An object that contains <paramref name="length" /> elements from the current instance starting at <paramref name="start" />. </returns>
687687
<remarks>To be added.</remarks>
688688
<exception cref="T:System.ArgumentOutOfRangeExceptionException">
689-
<paramref name="start" /> is less than zero or greater than or equal to <see cref="P:System.Memory`1.Length" />.
689+
<paramref name="start" /> is less than zero or greater than <see cref="P:System.Memory`1.Length" />.
690690

691691
-or-
692692

xml/System/ReadOnlySpan`1.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -783,7 +783,7 @@ A `ReadOnlySpan<T>` instance is often used to reference the elements of an array
783783
<returns>A read-only span that consists of <paramref name="length" /> elements from the current span starting at <paramref name="index" />.</returns>
784784
<remarks>To be added.</remarks>
785785
<exception cref="T:System.ArgumentOutOfRangeException">
786-
<paramref name="start" /> is less than zero or greater than or equal to <see cref="T:System.Span`1.Length" />.</exception>
786+
<paramref name="start" /> is less than zero or greater than <see cref="T:System.Span`1.Length" />.</exception>
787787
</Docs>
788788
</Member>
789789
<Member MemberName="ToArray">

xml/System/Span`1.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -922,7 +922,7 @@ Two <xref:System.Span%601> objects are equal if they have different lengths or i
922922
<returns>A span that consists of all elements of the current span from <paramref name="index" /> to the end of the span.</returns>
923923
<remarks>To be added.</remarks>
924924
<exception cref="T:System.ArgumentOutOfRangeException">
925-
<paramref name="index" /> is less than zero or greater than or equal to <see cref="T:System.Span`1.Length" />.</exception>
925+
<paramref name="start" /> is less than zero or greater than <see cref="T:System.Span`1.Length" />.</exception>
926926
</Docs>
927927
</Member>
928928
<Member MemberName="Slice">

0 commit comments

Comments
 (0)