Skip to main content

GHIElectronics.TinyCLR.Collections

NuGet package containing 3 types.

Classes

ClassNamespaceSummary
HashSet<T>System.Collections.GenericHash-table-based generic set. Mirrors the .NET BCL surface for the subset we ship. Same chained-collision layout and prime-table sizing as Dictionary{TKey, TValue}; the entry holds the element directly instead of a key/value pair. null IS a valid element when T is a reference type — the comparer (EqualityComparer{T}.Default) treats null consistently (GetHashCode(null) = 0, Equals(null, null) = true).

Structs

StructNamespaceSummary
EnumeratorSystem.Collections.Generic

Interfaces

InterfaceNamespaceSummary
ISet<T>System.Collections.GenericGeneric set abstraction. Mirrors the .NET BCL System.Collections.Generic.ISet&lt;T&gt; shape so HashSet<T> and future set implementations interop cleanly with portable BCL-using code.