2 writes to _freeNodes
System.Collections.Concurrent (2)
System\Collections\Concurrent\BlockingCollection.cs (2)
222
_freeNodes
= null;
227
_freeNodes
= new SemaphoreSlim(boundedCapacity - collectionCount);
10 references to _freeNodes
System.Collections.Concurrent (10)
System\Collections\Concurrent\BlockingCollection.cs (10)
407
if (
_freeNodes
!= null)
414
waitForSemaphoreWasSuccessful =
_freeNodes
.Wait(0, default);
419
waitForSemaphoreWasSuccessful =
_freeNodes
.Wait(millisecondsTimeout, linkedTokenSource.Token);
489
_freeNodes
?.Release();
709
if (
_freeNodes
!= null)
712
_freeNodes
.Release();
1026
if (collections[i].
_freeNodes
== null)
1061
if (c.
_freeNodes
!= null)
1063
handlesList.Add(c.
_freeNodes
.AvailableWaitHandle);
1504
_freeNodes
?.Dispose();