1 write to _resources
System.Web (1)
Util\ResourcePool.cs (1)
28
_resources
= new ArrayList(4);
18 references to _resources
System.Web (18)
Util\ResourcePool.cs (18)
44
if (
_resources
!= null) {
45
foreach (IDisposable resource in
_resources
) {
49
_resources
.Clear();
67
if (
_resources
.Count != 0) {
72
if (
_resources
.Count == 0) {
76
result =
_resources
[
_resources
.Count-1];
77
_resources
.RemoveAt(
_resources
.Count-1);
78
if (
_resources
.Count < _iDisposable) {
79
_iDisposable =
_resources
.Count;
97
if (
_resources
.Count < _max) {
98
_resources
.Add(o);
128
if (
_resources
.Count == 0) {
139
_resources
.CopyTo(0, a, 0, _iDisposable);
140
_resources
.RemoveRange(0, _iDisposable);
144
_iDisposable =
_resources
.Count;
146
Debug.Trace("ResourcePool", "Timer disposing " + a.Length + "; remaining=" +
_resources
.Count);