-
TIL: That the #csharp
ImmutableHashSet<T>
class is *not* deterministic. Apparently iterating over a set will give you an unstable ordering. You must useImmutableSortedSet<T>
if you want a deterministic order. dotnetfiddle.net/hOf8cV docs.microsoft.com/en-us/dotnet/api/system.collections.immutable.immutablesortedset-1?view=net-5.0