<PackageReference Include="Microsoft.Data.SqlClient" Version="7.1.0-preview3.26238.4" />

Microsoft.Data.SqlClient.ConnectionPool.ConnectionPoolSlots

sealed class ConnectionPoolSlots
A thread-safe collection with a fixed capacity. Avoids wasted work by reserving a slot before adding an item.

Enumerates the connections currently tracked by this collection. Best-effort: slots are read individually, so a caller must tolerate entries that have since left the pool, and an entry added during the walk may or may not be seen. Intended for infrequent bookkeeping passes, not for hot paths.