public static bool IsInSameMethod(Method method, TargetAddress address) { if (address.IsNull || !method.IsLoaded) return false; if ((address < method.StartAddress) || (address >= method.EndAddress)) return false; return true; }