2 instantiations of ConcurrentBag
System.Web (2)
HttpApplicationFactory.cs (2)
67
private ConcurrentBag<HttpApplication> _freeList = new
ConcurrentBag
<HttpApplication>();
71
private ConcurrentBag<HttpApplication> _specialFreeList = new
ConcurrentBag
<HttpApplication>();
33 references to ConcurrentBag
System (30)
sys\system\collections\concurrent\ConcurrentBag.cs (30)
37
/// duplicates. <see cref="
ConcurrentBag
{T}"/> is a thread-safe bag implementation, optimized for
41
/// <see cref="
ConcurrentBag
{T}"/> accepts null reference (Nothing in Visual Basic) as a valid
45
/// All public and protected members of <see cref="
ConcurrentBag
{T}"/> are thread-safe and may be used
86
/// Initializes a new instance of the <see cref="
ConcurrentBag
{T}"/>
95
/// Initializes a new instance of the <see cref="
ConcurrentBag
{T}"/>
99
/// cref="
ConcurrentBag
{T}"/>.</param>
132
/// Adds an object to the <see cref="
ConcurrentBag
{T}"/>.
135
/// <see cref="
ConcurrentBag
{T}"/>. The value can be a null reference
179
/// Attempts to add an object to the <see cref="
ConcurrentBag
{T}"/>.
182
/// <see cref="
ConcurrentBag
{T}"/>. The value can be a null reference
193
/// cref="
ConcurrentBag
{T}"/>.
196
/// removed from the <see cref="
ConcurrentBag
{T}"/> or the default value
205
/// Attempts to return an object from the <see cref="
ConcurrentBag
{T}"/>
209
/// the <see cref="
ConcurrentBag
{T}"/> or the default value of
457
/// Copies the <see cref="
ConcurrentBag
{T}"/> elements to an existing
463
/// <see cref="
ConcurrentBag
{T}"/>. The <see
474
/// cref="
ConcurrentBag
{T}"/> is greater than the available space from
511
/// <see cref="
ConcurrentBag
{T}"/>. The <see
551
/// Copies the <see cref="
ConcurrentBag
{T}"/> elements to a new array.
554
/// cref="
ConcurrentBag
{T}"/>.</returns>
575
/// cref="
ConcurrentBag
{T}"/>.
578
/// cref="
ConcurrentBag
{T}"/>.</returns>
605
/// cref="
ConcurrentBag
{T}"/>.
608
/// cref="
ConcurrentBag
{T}"/>.</returns>
616
return ((
ConcurrentBag
<T>)this).GetEnumerator();
649
/// Gets the number of elements contained in the <see cref="
ConcurrentBag
{T}"/>.
651
/// <value>The number of elements contained in the <see cref="
ConcurrentBag
{T}"/>.</value>
679
/// Gets a value that indicates whether the <see cref="
ConcurrentBag
{T}"/> is empty.
681
/// <value>true if the <see cref="
ConcurrentBag
{T}"/> is empty; otherwise, false.</value>
717
/// with the SyncRoot; otherwise, false. For <see cref="
ConcurrentBag
{T}"/>, this property always
System.Web (3)
HttpApplicationFactory.cs (3)
67
private
ConcurrentBag
<HttpApplication> _freeList = new ConcurrentBag<HttpApplication>();
71
private
ConcurrentBag
<HttpApplication> _specialFreeList = new ConcurrentBag<HttpApplication>();
562
private static void DisposeHttpApplicationInstances(
ConcurrentBag
<HttpApplication> freeList, int numOfInstancesToDispose) {