The exception list is incomplete too, as it misses ImmutableHashSet<T>, ImmutableSortedSet<T>, ImmutableQueue<T>, ImmutableStack<T> and ImmutableSortedDictionary<TKey,TValue>. However it can be left as-is, because the line reads "such as" so it is not trying to be complete.
The list should include
IReadOnlySet<T>
, which was introduced in .NET 5. The list should also includeIAsyncEnumerable<T>
.The exception list is incomplete too, as it misses
ImmutableHashSet<T>
,ImmutableSortedSet<T>
,ImmutableQueue<T>
,ImmutableStack<T>
andImmutableSortedDictionary<TKey,TValue>
. However it can be left as-is, because the line reads "such as" so it is not trying to be complete.