Skip to content

Commit 6253a18

Browse files
authored
Update docs for renamed type parameters (#75032)
1 parent 733a51b commit 6253a18

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

src/libraries/System.Private.CoreLib/src/System/Runtime/Intrinsics/Vector128.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,11 +111,11 @@ public static Vector128<T> Add<T>(Vector128<T> left, Vector128<T> right)
111111
public static Vector128<T> AndNot<T>(Vector128<T> left, Vector128<T> right)
112112
where T : struct => left & ~right;
113113

114-
/// <summary>Reinterprets a <see cref="Vector128{T}" /> as a new <see cref="Vector128{U}" />.</summary>
114+
/// <summary>Reinterprets a <see cref="Vector128{TFrom}" /> as a new <see cref="Vector128{TTo}" />.</summary>
115115
/// <typeparam name="TFrom">The type of the input vector.</typeparam>
116116
/// <typeparam name="TTo">The type of the vector <paramref name="vector" /> should be reinterpreted as.</typeparam>
117117
/// <param name="vector">The vector to reinterpret.</param>
118-
/// <returns><paramref name="vector" /> reinterpreted as a new <see cref="Vector128{U}" />.</returns>
118+
/// <returns><paramref name="vector" /> reinterpreted as a new <see cref="Vector128{TTo}" />.</returns>
119119
/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> (<typeparamref name="TFrom" />) or the type of the target (<typeparamref name="TTo" />) is not supported.</exception>
120120
[Intrinsic]
121121
[MethodImpl(MethodImplOptions.AggressiveInlining)]

src/libraries/System.Private.CoreLib/src/System/Runtime/Intrinsics/Vector256.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,11 +112,11 @@ public static Vector256<T> Add<T>(Vector256<T> left, Vector256<T> right)
112112
public static Vector256<T> AndNot<T>(Vector256<T> left, Vector256<T> right)
113113
where T : struct => left & ~right;
114114

115-
/// <summary>Reinterprets a <see cref="Vector256{T}" /> as a new <see cref="Vector256{U}" />.</summary>
115+
/// <summary>Reinterprets a <see cref="Vector256{TFrom}" /> as a new <see cref="Vector256{TTo}" />.</summary>
116116
/// <typeparam name="TFrom">The type of the input vector.</typeparam>
117117
/// <typeparam name="TTo">The type of the vector <paramref name="vector" /> should be reinterpreted as.</typeparam>
118118
/// <param name="vector">The vector to reinterpret.</param>
119-
/// <returns><paramref name="vector" /> reinterpreted as a new <see cref="Vector256{U}" />.</returns>
119+
/// <returns><paramref name="vector" /> reinterpreted as a new <see cref="Vector256{TTo}" />.</returns>
120120
/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> (<typeparamref name="TFrom" />) or the type of the target (<typeparamref name="TTo" />) is not supported.</exception>
121121
[Intrinsic]
122122
[MethodImpl(MethodImplOptions.AggressiveInlining)]

src/libraries/System.Private.CoreLib/src/System/Runtime/Intrinsics/Vector64.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,11 +88,11 @@ public static Vector64<T> Add<T>(Vector64<T> left, Vector64<T> right)
8888
public static Vector64<T> AndNot<T>(Vector64<T> left, Vector64<T> right)
8989
where T : struct => left & ~right;
9090

91-
/// <summary>Reinterprets a <see cref="Vector64{T}" /> as a new <see cref="Vector64{U}" />.</summary>
91+
/// <summary>Reinterprets a <see cref="Vector64{TFrom}" /> as a new <see cref="Vector64{TTo}" />.</summary>
9292
/// <typeparam name="TFrom">The type of the input vector.</typeparam>
9393
/// <typeparam name="TTo">The type of the vector <paramref name="vector" /> should be reinterpreted as.</typeparam>
9494
/// <param name="vector">The vector to reinterpret.</param>
95-
/// <returns><paramref name="vector" /> reinterpreted as a new <see cref="Vector64{U}" />.</returns>
95+
/// <returns><paramref name="vector" /> reinterpreted as a new <see cref="Vector64{TTo}" />.</returns>
9696
/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> (<typeparamref name="TFrom" />) or the type of the target (<typeparamref name="TTo" />) is not supported.</exception>
9797
[Intrinsic]
9898
[MethodImpl(MethodImplOptions.AggressiveInlining)]

0 commit comments

Comments
 (0)