Skip to content

Commit

Permalink
Fixing the name of the One property
Browse files Browse the repository at this point in the history
  • Loading branch information
tannergooding committed Nov 1, 2022
1 parent 18ad544 commit a52829b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4624,7 +4624,7 @@ private static void TestGetOne<T>()
{
Assert.Equal(Vector128<T>.One, Vector128.Create(T.One));

MethodInfo methodInfo = typeof(Vector128<T>).GetProperty("get_One", BindingFlags.Public | BindingFlags.Static).GetMethod;
MethodInfo methodInfo = typeof(Vector128<T>).GetProperty("One", BindingFlags.Public | BindingFlags.Static).GetMethod;
Assert.Equal((Vector128<T>)methodInfo.Invoke(null, null), Vector128.Create(T.One));
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5649,7 +5649,7 @@ private static void TestGetOne<T>()
{
Assert.Equal(Vector256<T>.One, Vector256.Create(T.One));

MethodInfo methodInfo = typeof(Vector256<T>).GetProperty("get_One", BindingFlags.Public | BindingFlags.Static).GetMethod;
MethodInfo methodInfo = typeof(Vector256<T>).GetProperty("One", BindingFlags.Public | BindingFlags.Static).GetMethod;
Assert.Equal((Vector256<T>)methodInfo.Invoke(null, null), Vector256.Create(T.One));
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4047,7 +4047,7 @@ private static void TestGetOne<T>()
{
Assert.Equal(Vector64<T>.One, Vector64.Create(T.One));

MethodInfo methodInfo = typeof(Vector64<T>).GetProperty("get_One", BindingFlags.Public | BindingFlags.Static).GetMethod;
MethodInfo methodInfo = typeof(Vector64<T>).GetProperty("One", BindingFlags.Public | BindingFlags.Static).GetMethod;
Assert.Equal((Vector64<T>)methodInfo.Invoke(null, null), Vector64.Create(T.One));
}
}
Expand Down

0 comments on commit a52829b

Please sign in to comment.