Example #1
0
        public override int CompareToImpl(ISortableNode other, CompilerComparer comparer)
        {
            NewObjectFixupSignature otherNode = (NewObjectFixupSignature)other;
            int result = comparer.Compare(_typeDesc, otherNode._typeDesc);

            if (result != 0)
            {
                return(result);
            }

            return(_signatureContext.CompareTo(otherNode._signatureContext, comparer));
        }
        public override int CompareToImpl(ISortableNode other, CompilerComparer comparer)
        {
            NewObjectFixupSignature otherNode = (NewObjectFixupSignature)other;

            return(comparer.Compare(_typeDesc, otherNode._typeDesc));
        }