private Range GetBinaryFilteredRecords()
{
if (_matchedCandidates == 0)
{
return new Range(0, _index.RecordCount - 1);
}
Debug.Assert(_matchedCandidates <= _index._indexFields.Length, "GetBinaryFilteredRecords : Invalid Index");
int lo = FindFirstMatchingRecord();
if (lo == -1)
{
return new Range();
}
int hi = FindLastMatchingRecord(lo);
Debug.Assert(lo <= hi, "GetBinaryFilteredRecords : Invalid Search Results");
return new Range(lo, hi);
}