4 writes to _freeStateObjectCount
System.Data (4)
fx\src\data\System\Data\SqlClient\TdsParserSessionPool.cs (4)
45
_freeStateObjectCount
= 0;
128
_freeStateObjectCount
= 0;
158
_freeStateObjectCount
--;
205
_freeStateObjectCount
++;
8 references to _freeStateObjectCount
System.Data (8)
fx\src\data\System\Data\SqlClient\TdsParserSessionPool.cs (8)
122
for (int i = 0; i <
_freeStateObjectCount
; i++) {
156
else if (
_freeStateObjectCount
> 0) {
159
session = _freeStateObjects[
_freeStateObjectCount
];
160
_freeStateObjects[
_freeStateObjectCount
] = null;
197
else if ((okToReuse) && (
_freeStateObjectCount
< MaxInactiveCount)) {
204
_freeStateObjects[
_freeStateObjectCount
] = session;
227
null == _freeStateObjects ? "(null)" :
_freeStateObjectCount
.ToString((IFormatProvider) null),
234
return _cachedCount -
_freeStateObjectCount
;