3 references to TryReserve
Aspire.Hosting (2)
Dcp\ProxylessEndpointPortAllocator.cs (2)
146
if (port < _rangeStart || port > _rangeEnd || !_processReservations.
TryReserve
(port))
209
if (_processReservations.
TryReserve
(port))
Aspire.Hosting.Tests (1)
Dcp\ProxylessEndpointPortAllocatorTests.cs (1)
332
Assert.False(reservations.
TryReserve
(10000));