Пример #1
0
            public int CompareTo(ImageData other)
            {
                var ret = BaseAddress.CompareTo(other.BaseAddress);

                if (ret != 0)
                {
                    return(ret);
                }
                ret = ProcessID - other.ProcessID;
                if (ret != 0)
                {
                    return(ret);
                }
                return(DllName.CompareTo(other.DllName));
            }
Пример #2
0
        } // end ToColorString()

        #region IComparable<DbgModuleInfo> Members

        public int CompareTo(DbgModuleInfo other)
        {
            // TODO: Take Target into account?
            return(BaseAddress.CompareTo(other.BaseAddress));
        }