public static int Compare(int x, int y)
        {
            int num = x - y;

            if (num == -2147483648)
            {
                throw new InvalidOperationException(SRAmqp.AmqpInvalidSequenceNumberComparison(x, y));
            }
            return(num);
        }