Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf7b27b2

Browse files
committed
Try to workaround the Mono test failures
1 parent62486c9 commitf7b27b2

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
publicstaticbooloperator==(Planevalue1,Planevalue2)=>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
publicstaticbooloperator==(Quaternionvalue1,Quaternionvalue2)=>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
publicstaticbooloperator==(Vector4left,Vector4right)=>left.AsVector128()==right.AsVector128();
147148

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp