1 write to _objectQueue
dotnet-svcutil-lib (1)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\QueuedObjectPool.cs (1)
46
_objectQueue
= new Queue<T>(batchAllocCount);
9 references to _objectQueue
dotnet-svcutil-lib (9)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\QueuedObjectPool.cs (9)
53
return
_objectQueue
;
61
if (
_objectQueue
.Count < _maxFreeCount && !_isClosed)
63
_objectQueue
.Enqueue(value);
77
if (
_objectQueue
.Count == 0)
82
return
_objectQueue
.Dequeue();
90
foreach (T item in
_objectQueue
)
98
_objectQueue
.Clear();
111
Contract.Assert(
_objectQueue
.Count == 0, "The object queue must be empty for new allocations");
114
_objectQueue
.Enqueue(Create());