public int CompareTo(object obj)
{
Method method = (Method) obj;
TargetAddress address;
try {
address = method.StartAddress;
} catch {
return is_loaded ? -1 : 0;
}
if (!is_loaded)
return 1;
if (address < start)
return 1;
else if (address > start)
return -1;
else
return 0;
}