Example #1
0
        protected override int ComputeHashCode()
        {
            var hash = sprite.GetHashCode();

            hash = hash * 37 + type.GetHashCode();
            hash = hash * 37 + fillAmount.GetHashCode();
            hash = hash * 37 + fillCenter.GetHashCode();
            hash = hash * 37 + fillClockwise.GetHashCode();
            hash = hash * 37 + fillMethod.GetHashCode();
            hash = hash * 37 + fillOrigin.GetHashCode();
            hash = hash * 37 + useSpriteMesh.GetHashCode();
            hash = hash * 37 + preserveAspect.GetHashCode();
            hash = hash * 37 + maskable.GetHashCode();
            return(hash);
        }