public override int GetHashCode() { return(base.GetHashCode() ^ Height ^ Width ^ SurfaceFormat.GetHashCode()); }
public override int GetHashCode() { var hash = 0; hash = (hash * 397) ^ SurfaceFormat.GetHashCode(); hash = (hash * 397) ^ Width.GetHashCode(); hash = (hash * 397) ^ Height.GetHashCode(); return(hash); }