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) {