1 write to _throttle
NuGet.Commands (1)
RestoreCommand\SourceRepositoryDependencyProvider.cs (1)
59
SemaphoreSlim previous = Interlocked.Exchange(ref
_throttle
, GetThrottleSemaphoreSlim(EnvironmentVariableWrapper.Instance));
13 references to _throttle
NuGet.Commands (13)
RestoreCommand\SourceRepositoryDependencyProvider.cs (13)
268
if (
_throttle
!= null)
270
await
_throttle
.WaitAsync(cancellationToken);
282
_throttle
?.Release();
401
if (
_throttle
!= null)
403
await
_throttle
.WaitAsync(cancellationToken);
430
_throttle
?.Release();
499
if (
_throttle
!= null)
501
await
_throttle
.WaitAsync(cancellationToken);
514
packageDownloader.SetThrottle(
_throttle
);
549
_throttle
?.Release();
670
if (
_throttle
!= null)
672
await
_throttle
.WaitAsync(cancellationToken);
698
_throttle
?.Release();