Microsoft.Data.SqlClient.ConnectionPool.ConnectionPoolSlots
A thread-safe collection with a fixed capacity. Avoids wasted work by reserving a slot before adding an item.
namespace Microsoft.Data.SqlClient.ConnectionPool
{
internal sealed class ConnectionPoolSlots
{
[System.Runtime.CompilerServices.NullableContext(0)]
internal delegate DbConnectionInternal CreateCallback ();
[System.Runtime.CompilerServices.NullableContext(0)]
internal delegate void CleanupCallback (DbConnectionInternal connection);
public Enumerator GetEnumerator();
}
}