public bool Equals(SolidColorBrush other) { if (ReferenceEquals(null, other)) { return(false); } return(ReferenceEquals(this, other) || ColorWithOpacity.Equals(other.ColorWithOpacity)); }
public override int GetHashCode() => ColorWithOpacity.GetHashCode() ^ _isClone.GetHashCode();