2 writes to _attentionSent
System.Data (2)
fx\src\data\System\Data\SqlClient\TdsParser.cs (1)
2340stateObj._attentionSent = false;
fx\src\data\System\Data\SqlClient\TdsParserStateObject.cs (1)
3055_attentionSent = true;
15 references to _attentionSent
System.Data (15)
fx\src\data\System\Data\SqlClient\TdsParser.cs (8)
389if (stateObj._attentionSent) { 1823((stateObj._attentionSent) || ((SniContext.Snix_Execute != stateObj.SniContext) && (SniContext.Snix_SendRows != stateObj.SniContext))), // SniContext should not be Execute or SendRows unless attention was sent (and, therefore, we are looking for an ACK) 2312(!stateObj._pendingData && stateObj._attentionSent && !stateObj._attentionReceived)); 2337Debug.Assert(stateObj._attentionSent, "Attention ACK has been received without attention sent"); 2338if (stateObj._attentionSent) { 2732Debug.Assert(stateObj._attentionSent, "Received attention done without sending one!"); 6848Debug.Assert(stateObj._attentionSent, "invalid attempt to ProcessAttention, attentionSent == false!"); 6881Debug.Assert(!stateObj._attentionSent, "Invalid attentionSent state at end of ProcessAttention");
fx\src\data\System\Data\SqlClient\TdsParserStateObject.cs (7)
588if (_pendingData && !_attentionSent) { 705if (_attentionSent) { 2034if (!_attentionSent) { 2322if (!stateObj._attentionSent) { 3001if (!_attentionSent) { 3460Debug.Assert(!_attentionReceived && !_attentionSent && !_attentionSending, string.Format("StateObj is still dealing with attention: Sent: {0}, Received: {1}, Sending: {2}", _attentionSent, _attentionReceived, _attentionSending));