From 364b8d19d5bde823a32af3560b8154197b4487bc Mon Sep 17 00:00:00 2001 From: John Date: Wed, 13 Nov 2019 19:20:23 +0000 Subject: [PATCH] Fix Vector128 and Vector256 WithUpper documentation (dotnet/coreclr#27274) * Update Vector128.cs * Update Vector256.cs * Update Vector128.cs * Update Vector128.cs * Update Vector256.cs * Update Vector128.cs * Update Vector256.cs Commit migrated from https://github.com/dotnet/coreclr/commit/081243009eacfd7a4bda37dd6d4668cc977c9c18 --- .../System.Private.CoreLib/src/System/Runtime/Intrinsics/Vector128.cs | 4 ++-- .../System.Private.CoreLib/src/System/Runtime/Intrinsics/Vector256.cs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/libraries/System.Private.CoreLib/src/System/Runtime/Intrinsics/Vector128.cs b/src/libraries/System.Private.CoreLib/src/System/Runtime/Intrinsics/Vector128.cs index 121a1e0..85c1471 100644 --- a/src/libraries/System.Private.CoreLib/src/System/Runtime/Intrinsics/Vector128.cs +++ b/src/libraries/System.Private.CoreLib/src/System/Runtime/Intrinsics/Vector128.cs @@ -1765,7 +1765,7 @@ namespace System.Runtime.Intrinsics /// The type of the input vector. /// The vector to get the upper 64-bits from. /// The value of the lower 64-bits as a . - /// A new with the lower 64-bits set to the specified value and the upper 64-bits set to the same value as that in . + /// A new with the lower 64-bits set to and the upper 64-bits set to the same value as that in . /// The type of () is not supported. public static Vector128 WithLower(this Vector128 vector, Vector64 value) where T : struct @@ -1795,7 +1795,7 @@ namespace System.Runtime.Intrinsics /// The type of the input vector. /// The vector to get the lower 64-bits from. /// The value of the upper 64-bits as a . - /// A new with the upper 64-bits set to the specified value and the upper 64-bits set to the same value as that in . + /// A new with the upper 64-bits set to and the lower 64-bits set to the same value as that in . /// The type of () is not supported. public static Vector128 WithUpper(this Vector128 vector, Vector64 value) where T : struct diff --git a/src/libraries/System.Private.CoreLib/src/System/Runtime/Intrinsics/Vector256.cs b/src/libraries/System.Private.CoreLib/src/System/Runtime/Intrinsics/Vector256.cs index 53ee749..07023b5 100644 --- a/src/libraries/System.Private.CoreLib/src/System/Runtime/Intrinsics/Vector256.cs +++ b/src/libraries/System.Private.CoreLib/src/System/Runtime/Intrinsics/Vector256.cs @@ -1846,7 +1846,7 @@ namespace System.Runtime.Intrinsics /// The type of the input vector. /// The vector to get the upper 128-bits from. /// The value of the lower 128-bits as a . - /// A new with the lower 128-bits set to the specified value and the upper 128-bits set to the same value as that in . + /// A new with the lower 128-bits set to and the upper 128-bits set to the same value as that in . /// The type of () is not supported. [MethodImpl(MethodImplOptions.AggressiveInlining)] public static Vector256 WithLower(this Vector256 vector, Vector128 value) @@ -1914,7 +1914,7 @@ namespace System.Runtime.Intrinsics /// The type of the input vector. /// The vector to get the lower 128-bits from. /// The value of the upper 128-bits as a . - /// A new with the upper 128-bits set to the specified value and the upper 128-bits set to the same value as that in . + /// A new with the upper 128-bits set to and the lower 128-bits set to the same value as that in . /// The type of () is not supported. [MethodImpl(MethodImplOptions.AggressiveInlining)] public static Vector256 WithUpper(this Vector256 vector, Vector128 value) -- 2.7.4