4 writes to _state
System.Data (4)
fx\src\data\System\Data\ProviderBase\DbConnectionPoolGroup.cs (4)
66
_state
= PoolGroupStateActive; // VSWhidbey 112102
238
_state
= PoolGroupStateActive;
291
_state
= PoolGroupStateIdle;
295
_state
= PoolGroupStateDisabled;
8 references to _state
System.Data (8)
fx\src\data\System\Data\ProviderBase\DbConnectionPoolGroup.cs (8)
95
return (PoolGroupStateDisabled ==
_state
);
207
Debug.Assert(PoolGroupStateDisabled ==
_state
, "state should be disabled");
216
Debug.Assert(PoolGroupStateActive ==
_state
, "state should be active since a pool exists and lock holds");
237
if (PoolGroupStateIdle ==
_state
) {
241
return (PoolGroupStateActive ==
_state
);
290
if (PoolGroupStateActive ==
_state
) {
294
else if (PoolGroupStateIdle ==
_state
) {
299
return (PoolGroupStateDisabled ==
_state
);