public override bool Equals(object obj) {
if (object.ReferenceEquals(this, obj)) return true;
if (object.ReferenceEquals(this, null)) return false;
if (object.ReferenceEquals(obj, null)) return false;
if (!(obj is TextureClipRegion)) return false;
TextureClipRegion x = (TextureClipRegion)obj;
if (this.MyLeft != x.MyLeft) return false;
if (this.MyTop != x.MyTop) return false;
if (this.MyWidth != x.MyWidth) return false;
if (this.MyHeight != x.MyHeight) return false;
return true;
}
}