4 writes to _unrecoverableStatesCount
System.Data (4)
fx\src\data\System\Data\SqlClient\SqlInternalConnectionTds.cs (1)
88
_unrecoverableStatesCount
= 0;
fx\src\data\System\Data\SqlClient\TdsParser.cs (3)
2968
checked { sdata.
_unrecoverableStatesCount
++; }
2979
sdata.
_unrecoverableStatesCount
--;
2982
checked { sdata.
_unrecoverableStatesCount
++; }
6 references to _unrecoverableStatesCount
System.Data (6)
fx\src\data\System\Data\SqlClient\SqlConnection.cs (2)
1300
if (cData.
_unrecoverableStatesCount
== 0) {
1306
if (cData.
_unrecoverableStatesCount
== 0) { // could change since the first check, but now is stable since connection is know to be broken
fx\src\data\System\Data\SqlClient\SqlInternalConnectionTds.cs (2)
98
Debug.Assert(unrecoverableCount ==
_unrecoverableStatesCount
, "Unrecoverable count does not match");
2505
Debug.Assert(_currentSessionData.
_unrecoverableStatesCount
== 0, "Unrecoverable states count should be 0");
fx\src\data\System\Data\SqlClient\TdsParser.cs (2)
2978
Debug.Assert(sdata.
_unrecoverableStatesCount
> 0, "Unrecoverable states count >0");
6900
Debug.Assert(reconnectData.
_unrecoverableStatesCount
== 0, "Unrecoverable state count should be 0");