Skip to content

Commit b5e6209

Browse files
authored
Use the right link in the argument exception docs (#103682)
We were linking to Vector128, not Vector, in a couple of the constructors.
1 parent 063255a commit b5e6209

File tree

1 file changed

+2
-2
lines changed
  • src/libraries/System.Private.CoreLib/src/System/Numerics

1 file changed

+2
-2
lines changed

src/libraries/System.Private.CoreLib/src/System/Numerics/Vector_1.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public Vector(T value)
5252
/// <param name="values">The array from which the vector is created.</param>
5353
/// <returns>A new <see cref="Vector{T}" /> with its elements set to the first <see cref="Vector{T}.Count" /> elements from <paramref name="values" />.</returns>
5454
/// <exception cref="NullReferenceException"><paramref name="values" /> is <c>null</c>.</exception>
55-
/// <exception cref="ArgumentOutOfRangeException">The length of <paramref name="values" /> is less than <see cref="Vector128{T}.Count" />.</exception>
55+
/// <exception cref="ArgumentOutOfRangeException">The length of <paramref name="values" /> is less than <see cref="Vector{T}.Count" />.</exception>
5656
[MethodImpl(MethodImplOptions.AggressiveInlining)]
5757
public Vector(T[] values)
5858
{
@@ -71,7 +71,7 @@ public Vector(T[] values)
7171
/// <param name="index">The index in <paramref name="values" /> at which to being reading elements.</param>
7272
/// <returns>A new <see cref="Vector{T}" /> with its elements set to the first <see cref="Vector{T}.Count" /> elements from <paramref name="values" />.</returns>
7373
/// <exception cref="NullReferenceException"><paramref name="values" /> is <c>null</c>.</exception>
74-
/// <exception cref="ArgumentOutOfRangeException">The length of <paramref name="values" />, starting from <paramref name="index" />, is less than <see cref="Vector128{T}.Count" />.</exception>
74+
/// <exception cref="ArgumentOutOfRangeException">The length of <paramref name="values" />, starting from <paramref name="index" />, is less than <see cref="Vector{T}.Count" />.</exception>
7575
[MethodImpl(MethodImplOptions.AggressiveInlining)]
7676
public Vector(T[] values, int index)
7777
{

0 commit comments

Comments
 (0)