2 writes to _attentionSent
System.Data (2)
fx\src\data\System\Data\SqlClient\TdsParser.cs (1)
2340
stateObj.
_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)
389
if (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));
2337
Debug.Assert(stateObj.
_attentionSent
, "Attention ACK has been received without attention sent");
2338
if (stateObj.
_attentionSent
) {
2732
Debug.Assert(stateObj.
_attentionSent
, "Received attention done without sending one!");
6848
Debug.Assert(stateObj.
_attentionSent
, "invalid attempt to ProcessAttention, attentionSent == false!");
6881
Debug.Assert(!stateObj.
_attentionSent
, "Invalid attentionSent state at end of ProcessAttention");
fx\src\data\System\Data\SqlClient\TdsParserStateObject.cs (7)
588
if (_pendingData && !
_attentionSent
) {
705
if (
_attentionSent
) {
2034
if (!
_attentionSent
) {
2322
if (!stateObj.
_attentionSent
) {
3001
if (!
_attentionSent
) {
3460
Debug.Assert(!_attentionReceived && !
_attentionSent
&& !_attentionSending, string.Format("StateObj is still dealing with attention: Sent: {0}, Received: {1}, Sending: {2}",
_attentionSent
, _attentionReceived, _attentionSending));