8 writes to _state
System.Data (8)
fx\src\data\System\Data\SqlClient\TdsParser.cs (8)
350
_state
= value;
497
_state
= TdsParserState.OpenNotLoggedIn;
692
_state
= TdsParserState.Broken;
1160
_state
= TdsParserState.Closed;
1263
_state
= TdsParserState.Broken;
1872
_state
= TdsParserState.Broken;
3108
_state
= TdsParserState.OpenLoggedIn;
6873
_state
= TdsParserState.Broken;
18 references to _state
System.Data (18)
fx\src\data\System\Data\SqlClient\TdsParser.cs (18)
347
return
_state
;
407
if (
_state
!= TdsParserState.Closed) {
675
else if ((
_state
== TdsParserState.Closed) || (
_state
== TdsParserState.Broken)) {
1156
if (
_state
!= TdsParserState.Closed) {
1194
if (
_state
== TdsParserState.OpenLoggedIn) {
1252
breakConnection &= (TdsParserState.Closed !=
_state
);
1254
if ((
_state
== TdsParserState.OpenNotLoggedIn) && (_connHandler.ConnectionOptions.TransparentNetworkIPResolution || _connHandler.ConnectionOptions.MultiSubnetFailover || _loginWithFailover) && (temp.Count == 1) && ((temp[0].Number == TdsEnums.TIMEOUT_EXPIRED) || (temp[0].Number == TdsEnums.SNI_WAIT_TIMEOUT))) {
1271
if (
_state
== TdsParserState.OpenLoggedIn) {
2712
if (
_state
== TdsParserState.OpenNotLoggedIn) {
3107
Debug.Assert(
_state
== TdsParserState.OpenNotLoggedIn, "ProcessLoginAck called with state not TdsParserState.OpenNotLoggedIn");
3323
if (
_state
== TdsParserState.OpenNotLoggedIn) {
6845
if (
_state
== TdsParserState.Closed ||
_state
== TdsParserState.Broken){
7909
if (old_outputPacketNumber != 1 &&
_state
== TdsParserState.OpenLoggedIn) {
7968
if ((
_state
== TdsParserState.Closed) || (
_state
== TdsParserState.Broken)) {
11424
_state
,