From a52829b3cdc832ca718fcf2652ac027cf31c22fc Mon Sep 17 00:00:00 2001 From: Tanner Gooding Date: Tue, 1 Nov 2022 12:54:29 -0700 Subject: [PATCH] Fixing the name of the One property --- .../System.Runtime.Intrinsics/tests/Vectors/Vector128Tests.cs | 2 +- .../System.Runtime.Intrinsics/tests/Vectors/Vector256Tests.cs | 2 +- .../System.Runtime.Intrinsics/tests/Vectors/Vector64Tests.cs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/libraries/System.Runtime.Intrinsics/tests/Vectors/Vector128Tests.cs b/src/libraries/System.Runtime.Intrinsics/tests/Vectors/Vector128Tests.cs index e9cfb32c7e615..22f1b7a20ca67 100644 --- a/src/libraries/System.Runtime.Intrinsics/tests/Vectors/Vector128Tests.cs +++ b/src/libraries/System.Runtime.Intrinsics/tests/Vectors/Vector128Tests.cs @@ -4624,7 +4624,7 @@ private static void TestGetOne() { Assert.Equal(Vector128.One, Vector128.Create(T.One)); - MethodInfo methodInfo = typeof(Vector128).GetProperty("get_One", BindingFlags.Public | BindingFlags.Static).GetMethod; + MethodInfo methodInfo = typeof(Vector128).GetProperty("One", BindingFlags.Public | BindingFlags.Static).GetMethod; Assert.Equal((Vector128)methodInfo.Invoke(null, null), Vector128.Create(T.One)); } } diff --git a/src/libraries/System.Runtime.Intrinsics/tests/Vectors/Vector256Tests.cs b/src/libraries/System.Runtime.Intrinsics/tests/Vectors/Vector256Tests.cs index 7468c3424b2d4..6bdc86bc46f43 100644 --- a/src/libraries/System.Runtime.Intrinsics/tests/Vectors/Vector256Tests.cs +++ b/src/libraries/System.Runtime.Intrinsics/tests/Vectors/Vector256Tests.cs @@ -5649,7 +5649,7 @@ private static void TestGetOne() { Assert.Equal(Vector256.One, Vector256.Create(T.One)); - MethodInfo methodInfo = typeof(Vector256).GetProperty("get_One", BindingFlags.Public | BindingFlags.Static).GetMethod; + MethodInfo methodInfo = typeof(Vector256).GetProperty("One", BindingFlags.Public | BindingFlags.Static).GetMethod; Assert.Equal((Vector256)methodInfo.Invoke(null, null), Vector256.Create(T.One)); } } diff --git a/src/libraries/System.Runtime.Intrinsics/tests/Vectors/Vector64Tests.cs b/src/libraries/System.Runtime.Intrinsics/tests/Vectors/Vector64Tests.cs index 46d806c62f55f..8596f3b0ff786 100644 --- a/src/libraries/System.Runtime.Intrinsics/tests/Vectors/Vector64Tests.cs +++ b/src/libraries/System.Runtime.Intrinsics/tests/Vectors/Vector64Tests.cs @@ -4047,7 +4047,7 @@ private static void TestGetOne() { Assert.Equal(Vector64.One, Vector64.Create(T.One)); - MethodInfo methodInfo = typeof(Vector64).GetProperty("get_One", BindingFlags.Public | BindingFlags.Static).GetMethod; + MethodInfo methodInfo = typeof(Vector64).GetProperty("One", BindingFlags.Public | BindingFlags.Static).GetMethod; Assert.Equal((Vector64)methodInfo.Invoke(null, null), Vector64.Create(T.One)); } }