<PackageReference Include="Microsoft.Packaging.Tools" Version="1.0.0-preview2-25401-01" />

System.Collections.Immutable.ImmutableSortedSet<T>

namespace System.Collections.Immutable { public sealed class ImmutableSortedSet<T> : IImmutableSet<T>, IReadOnlyCollection<T>, IEnumerable<T>, IEnumerable, ISortKeyCollection<T>, IReadOnlyList<T>, IList<T>, ICollection<T>, ISet<T>, IList, ICollection, IStrongEnumerable<T, ImmutableSortedSet<T>.Enumerator> { public sealed class Builder : ISortKeyCollection<T>, IReadOnlyCollection<T>, IEnumerable<T>, IEnumerable, ISet<T>, ICollection<T>, ICollection { public int Count { get; } public T this[int index] { get; } public T Max { get; } public T Min { get; } public IComparer<T> KeyComparer { get; set; } public bool Add(T item); public void ExceptWith(IEnumerable<T> other); public void IntersectWith(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 bool SetEquals(IEnumerable<T> other); public void SymmetricExceptWith(IEnumerable<T> other); public void UnionWith(IEnumerable<T> other); public void Clear(); public bool Contains(T item); public bool Remove(T item); public Enumerator GetEnumerator(); public IEnumerable<T> Reverse(); public ImmutableSortedSet<T> ToImmutable(); } public struct Enumerator : IEnumerator<T>, IEnumerator, IDisposable, ISecurePooledObjectUser, IStrongEnumerator<T> { public T Current { get; } public void Dispose(); public bool MoveNext(); public void Reset(); } public static readonly ImmutableSortedSet<T> Empty; public T Max { get; } public T Min { get; } public bool IsEmpty { get; } public int Count { get; } public IComparer<T> KeyComparer { get; } public T this[int index] { get; } T IList<T>.this[int index] { get; set; } object IList.this[int index] { get; set; } public ImmutableSortedSet<T> Clear(); public Builder ToBuilder(); public ImmutableSortedSet<T> Add(T value); public ImmutableSortedSet<T> Remove(T value); public bool TryGetValue(T equalValue, out T actualValue); public ImmutableSortedSet<T> Intersect(IEnumerable<T> other); public ImmutableSortedSet<T> Except(IEnumerable<T> other); public ImmutableSortedSet<T> SymmetricExcept(IEnumerable<T> other); public ImmutableSortedSet<T> Union(IEnumerable<T> other); public ImmutableSortedSet<T> WithComparer(IComparer<T> comparer); public bool SetEquals(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 IEnumerable<T> Reverse(); public int IndexOf(T item); public bool Contains(T value); public Enumerator GetEnumerator(); } }