I think adding return false; here will fix it.
But on a large scale I think there are more problems. LoadBasicListingInfo method has side effects. It resets the i parameter and clears the lst parameter in some cases. Which will in turn cause GetListingEnumerable to return duplicates. Maybe it's worth the effort to elevate those side effects to their calling functions and completely remove lst and i parameters, I don't know.
I think adding
return false;here will fix it.But on a large scale I think there are more problems.
LoadBasicListingInfomethod has side effects. It resets the i parameter and clears the lst parameter in some cases. Which will in turn cause GetListingEnumerable to return duplicates. Maybe it's worth the effort to elevate those side effects to their calling functions and completely remove lst and i parameters, I don't know.