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)); }
} // end ToColorString() #region IComparable<DbgModuleInfo> Members public int CompareTo(DbgModuleInfo other) { // TODO: Take Target into account? return(BaseAddress.CompareTo(other.BaseAddress)); }