public override int CompareToImpl(ISortableNode other, CompilerComparer comparer) { InliningInfoNode otherInliningInfo = (InliningInfoNode)other; if (_module == null) { Debug.Assert(otherInliningInfo._module != null); return(-1); } else if (otherInliningInfo._module == null) { return(1); } return(_module.Assembly.GetName().Name.CompareTo(otherInliningInfo._module.Assembly.GetName().Name)); }
public override int CompareToImpl(ISortableNode other, CompilerComparer comparer) { InliningInfoNode otherInliningInfo = (InliningInfoNode)other; return(_module.Assembly.GetName().Name.CompareTo(otherInliningInfo._module.Assembly.GetName().Name)); }