Skip to content

Commit f7b27b2

Browse files
committed
Try to workaround the Mono test failures
1 parent 62486c9 commit f7b27b2

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

src/libraries/System.Private.CoreLib/src/System/Numerics/Plane.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,7 @@ public static Plane Transform(Plane plane, Quaternion rotation)
204204
/// <returns><see langword="true" /> if <paramref name="value1" /> and <paramref name="value2" /> are equal; otherwise, <see langword="false" />.</returns>
205205
/// <remarks>Two <see cref="Plane" /> objects are equal if their <see cref="Normal" /> and <see cref="D" /> fields are equal.
206206
/// The <see cref="op_Equality" /> method defines the operation of the equality operator for <see cref="Plane" /> objects.</remarks>
207+
[Intrinsic]
207208
[MethodImpl(MethodImplOptions.AggressiveInlining)]
208209
public static bool operator ==(Plane value1, Plane value2) => value1.AsVector128() == value2.AsVector128();
209210

src/libraries/System.Private.CoreLib/src/System/Numerics/Quaternion.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@ public float this[int index]
129129
/// <returns><see langword="true" /> if the two quaternions are equal; otherwise, <see langword="false" />.</returns>
130130
/// <remarks>Two quaternions are equal if each of their corresponding components is equal.
131131
/// The <see cref="op_Equality" /> method defines the operation of the equality operator for <see cref="Quaternion" /> objects.</remarks>
132+
[Intrinsic]
132133
[MethodImpl(MethodImplOptions.AggressiveInlining)]
133134
public static bool operator ==(Quaternion value1, Quaternion value2) => value1.AsVector128() == value2.AsVector128();
134135

src/libraries/System.Private.CoreLib/src/System/Numerics/Vector4.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,7 @@ public float this[int index]
142142
/// <param name="right">The second vector to compare.</param>
143143
/// <returns><see langword="true" /> if <paramref name="left" /> and <paramref name="right" /> are equal; otherwise, <see langword="false" />.</returns>
144144
/// <remarks>Two <see cref="Vector4" /> objects are equal if each element in <paramref name="left" /> is equal to the corresponding element in <paramref name="right" />.</remarks>
145+
[Intrinsic]
145146
[MethodImpl(MethodImplOptions.AggressiveInlining)]
146147
public static bool operator ==(Vector4 left, Vector4 right) => left.AsVector128() == right.AsVector128();
147148

0 commit comments

Comments
 (0)