@@ -20,7 +20,7 @@ namespace SixLabors.ImageSharp.ColorProfiles;
2020 /// <param name="h">The h hue component.</param>
2121 /// <param name="s">The s saturation component.</param>
2222 /// <param name="v">The v value (brightness) component.</param>
23- [ MethodImpl ( InliningOptions . ShortMethod ) ]
23+ [ MethodImpl ( MethodImplOptions . AggressiveInlining ) ]
2424 public Hsv ( float h , float s , float v )
2525 : this ( new Vector3 ( h , s , v ) )
2626 {
@@ -30,7 +30,7 @@ public Hsv(float h, float s, float v)
3030 /// Initializes a new instance of the <see cref="Hsv"/> struct.
3131 /// </summary>
3232 /// <param name="vector">The vector representing the h, s, v components.</param>
33- [ MethodImpl ( InliningOptions . ShortMethod ) ]
33+ [ MethodImpl ( MethodImplOptions . AggressiveInlining ) ]
3434 public Hsv ( Vector3 vector )
3535 {
3636 vector = Vector3 . Clamp ( vector , Min , Max ) ;
@@ -65,7 +65,7 @@ public Hsv(Vector3 vector)
6565 /// <returns>
6666 /// True if the current left is equal to the <paramref name="right"/> parameter; otherwise, false.
6767 /// </returns>
68- [ MethodImpl ( InliningOptions . ShortMethod ) ]
68+ [ MethodImpl ( MethodImplOptions . AggressiveInlining ) ]
6969 public static bool operator == ( Hsv left , Hsv right ) => left . Equals ( right ) ;
7070
7171 /// <summary>
@@ -76,7 +76,7 @@ public Hsv(Vector3 vector)
7676 /// <returns>
7777 /// True if the current left is unequal to the <paramref name="right"/> parameter; otherwise, false.
7878 /// </returns>
79- [ MethodImpl ( InliningOptions . ShortMethod ) ]
79+ [ MethodImpl ( MethodImplOptions . AggressiveInlining ) ]
8080 public static bool operator != ( Hsv left , Hsv right ) => ! left . Equals ( right ) ;
8181
8282 /// <inheritdoc/>
@@ -211,7 +211,7 @@ public static ChromaticAdaptionWhitePointSource GetChromaticAdaptionWhitePointSo
211211 => ChromaticAdaptionWhitePointSource . RgbWorkingSpace ;
212212
213213 /// <inheritdoc/>
214- [ MethodImpl ( InliningOptions . ShortMethod ) ]
214+ [ MethodImpl ( MethodImplOptions . AggressiveInlining ) ]
215215 public override int GetHashCode ( ) => HashCode . Combine ( this . H , this . S , this . V ) ;
216216
217217 /// <inheritdoc/>
@@ -221,7 +221,7 @@ public static ChromaticAdaptionWhitePointSource GetChromaticAdaptionWhitePointSo
221221 public override bool Equals ( object ? obj ) => obj is Hsv other && this . Equals ( other ) ;
222222
223223 /// <inheritdoc/>
224- [ MethodImpl ( InliningOptions . ShortMethod ) ]
224+ [ MethodImpl ( MethodImplOptions . AggressiveInlining ) ]
225225 public bool Equals ( Hsv other )
226226 => this . H . Equals ( other . H )
227227 && this . S . Equals ( other . S )
0 commit comments