From 22e4e4a81d32a64ad12828301ed0ecacc173e7ff Mon Sep 17 00:00:00 2001 From: Tanner Gooding Date: Thu, 5 Jan 2023 17:42:01 -0800 Subject: [PATCH] Fix a build error around the ConstantExpected analyzer --- .../System.Private.CoreLib/src/System/Numerics/Matrix4x4.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libraries/System.Private.CoreLib/src/System/Numerics/Matrix4x4.cs b/src/libraries/System.Private.CoreLib/src/System/Numerics/Matrix4x4.cs index d82739a16add07..0ea71be499a6f3 100644 --- a/src/libraries/System.Private.CoreLib/src/System/Numerics/Matrix4x4.cs +++ b/src/libraries/System.Private.CoreLib/src/System/Numerics/Matrix4x4.cs @@ -1778,7 +1778,7 @@ public static Matrix4x4 Subtract(Matrix4x4 value1, Matrix4x4 value2) } [MethodImpl(MethodImplOptions.AggressiveInlining)] - private static Vector128 Permute(Vector128 value, byte control) + private static Vector128 Permute(Vector128 value, [ConstantExpected] byte control) { if (Avx.IsSupported) {