System.Collections.Immutable.ImmutableHashSet<T> public sealed class ImmutableHashSet<T> : IImmutableSet<T>, IReadOnlyCollection<T>, IEnumerable<T>, IEnumerable, IHashKeyCollection<T>, ICollection<T>, ISet<T>, ICollection, IStrongEnumerable<T, Enumerator<T>> Documentation Code public sealed class Builder<T> : IReadOnlyCollection<T>, IEnumerable<T>, IEnumerable, ISet<T>, ICollection<T> public struct Enumerator<T> : IEnumerator<T>, IEnumerator, IDisposable, IStrongEnumerator<T> public static readonly ImmutableHashSet<T> Empty public int Count { get; } public bool IsEmpty { get; } public IEqualityComparer<T> KeyComparer { get; } public ImmutableHashSet<T> Add(T item) public ImmutableHashSet<T> Clear() public bool Contains(T item) public ImmutableHashSet<T> Except(IEnumerable<T> other) public Enumerator<T> GetEnumerator() public ImmutableHashSet<T> Intersect(IEnumerable<T> other) public bool IsProperSubsetOf(IEnumerable<T> other) public bool IsProperSupersetOf(IEnumerable<T> other) public bool IsSubsetOf(IEnumerable<T> other) public bool IsSupersetOf(IEnumerable<T> other) public bool Overlaps(IEnumerable<T> other) public ImmutableHashSet<T> Remove(T item) public bool SetEquals(IEnumerable<T> other) public ImmutableHashSet<T> SymmetricExcept(IEnumerable<T> other) public Builder<T> ToBuilder() public bool TryGetValue(T equalValue, out T actualValue) public ImmutableHashSet<T> Union(IEnumerable<T> other) public ImmutableHashSet<T> WithComparer(IEqualityComparer<T> equalityComparer)