|
|
|
@ -122,6 +122,7 @@ namespace SixLabors.ImageSharp.ColorSpaces |
|
|
|
/// <returns>
|
|
|
|
/// True if the current left is equal to the <paramref name="right"/> parameter; otherwise, false.
|
|
|
|
/// </returns>
|
|
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)] |
|
|
|
public static bool operator ==(LinearRgb left, LinearRgb right) |
|
|
|
{ |
|
|
|
return left.Equals(right); |
|
|
|
@ -139,12 +140,14 @@ namespace SixLabors.ImageSharp.ColorSpaces |
|
|
|
/// <returns>
|
|
|
|
/// True if the current left is unequal to the <paramref name="right"/> parameter; otherwise, false.
|
|
|
|
/// </returns>
|
|
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)] |
|
|
|
public static bool operator !=(LinearRgb left, LinearRgb right) |
|
|
|
{ |
|
|
|
return !left.Equals(right); |
|
|
|
} |
|
|
|
|
|
|
|
/// <inheritdoc/>
|
|
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)] |
|
|
|
public override int GetHashCode() |
|
|
|
{ |
|
|
|
return this.backingVector.GetHashCode(); |
|
|
|
|