Closed BillSobel closed 5 years ago
good catch; originally this code did not allow state to be passed; I'll look into it as soon as I can. (PRs always welcome of course!)
To reproduce this in the bench+test project, it would be reasonable to use the same code you are - where's RefDictionary<K, V>
from?
I can reproduce the issue with the following (absurd, but who cares) ordering:
Thank you!
By not passing ordering, a default(TOrder) is used and any context in the structure that implements IOrdering<> needed for comparison is lost.
As an example, in the below refDictionary is null at the point that LessThan is called.