13 writes to _syncOverAsync
System.Data (13)
fx\src\data\System\Data\SqlClient\SqlDataReader.cs (4)
862
stateObj.
_syncOverAsync
= true;
1109
stateObj.
_syncOverAsync
= true;
4712
_stateObj.
_syncOverAsync
= false;
4741
stateObj.
_syncOverAsync
= true;
fx\src\data\System\Data\SqlClient\TdsParser.cs (7)
1208
stateObj.
_syncOverAsync
= true;
1770
stateObj.
_syncOverAsync
= true;
1779
stateObj.
_syncOverAsync
= syncOverAsync;
1903
stateObj.
_syncOverAsync
= true;
2067
stateObj.
_syncOverAsync
= true;
2277
stateObj.
_syncOverAsync
= true;
2684
stateObj.
_syncOverAsync
= true;
fx\src\data\System\Data\SqlClient\TdsParserStateObject.cs (2)
3274
_syncOverAsync
= true;
3308
_syncOverAsync
= true;
37 references to _syncOverAsync
System.Data (37)
fx\src\data\System\Data\SqlClient\SqlCommand.cs (4)
1548
Debug.Assert(_stateObj.
_syncOverAsync
, "Should not attempt pends in a synchronous call");
3119
Debug.Assert(_stateObj.
_syncOverAsync
, "Should not attempt pends in a synchronous call");
4523
Debug.Assert(_stateObj.
_syncOverAsync
, "Should not attempt pends in a synchronous call");
4698
Debug.Assert(_stateObj.
_syncOverAsync
, "Should not attempt pends in a synchronous call");
fx\src\data\System\Data\SqlClient\SqlDataReader.cs (11)
239
Debug.Assert(_stateObj == null || _stateObj.
_syncOverAsync
, "Should not attempt pends in a synchronous call");
1535
Debug.Assert(_stateObj == null || _stateObj.
_syncOverAsync
, "Should not attempt pends in a synchronous call");
1766
Debug.Assert(_stateObj.
_syncOverAsync
, "Should not attempt pends in a synchronous call");
2419
Debug.Assert(_stateObj == null || _stateObj.
_syncOverAsync
, "Should not attempt pends in a synchronous call");
2572
Debug.Assert(_stateObj == null || _stateObj.
_syncOverAsync
, "Should not attempt pends in a synchronous call");
2625
Debug.Assert(_stateObj == null || _stateObj.
_syncOverAsync
, "Should not attempt pends in a synchronous call");
2950
Debug.Assert(_stateObj == null || _stateObj.
_syncOverAsync
, "Should not attempt pends in a synchronous call");
3124
Debug.Assert(_stateObj == null || _stateObj.
_syncOverAsync
, "Should not attempt pends in a synchronous call");
3310
Debug.Assert(_stateObj == null || _stateObj.
_syncOverAsync
, "Should not attempt pends in a synchronous call");
3391
Debug.Assert(_stateObj == null || _stateObj.
_syncOverAsync
, "Should not attempt pends in a synchronous call");
4656
bool ignoreCloseToken = ((stateObj != null) && (stateObj.
_syncOverAsync
));
fx\src\data\System\Data\SqlClient\TdsParser.cs (8)
880
Debug.Assert(_physicalStateObj.
_syncOverAsync
, "Should not attempt pends in a synchronous call");
898
Debug.Assert(_physicalStateObj.
_syncOverAsync
, "Should not attempt pends in a synchronous call");
1767
bool syncOverAsync = stateObj.
_syncOverAsync
;
2276
Debug.Assert(stateObj.
_syncOverAsync
, "ProcessSSPI does not support retry, do not attempt asynchronously");
2418
Debug.Assert(stateObj.
_syncOverAsync
, "Should not attempt pends in a synchronous call");
7554
Debug.Assert(_physicalStateObj.
_syncOverAsync
, "Should not attempt pends in a synchronous call");
11148
Debug.Assert(stateObj.
_syncOverAsync
, "Should not attempt pends in a synchronous call");
11316
Debug.Assert(stateObj.
_syncOverAsync
, "Should not attempt pends in a synchronous call");
fx\src\data\System\Data\SqlClient\TdsParserStateObject.cs (14)
1291
Debug.Assert(
_syncOverAsync
|| !_asyncReadWithoutSnapshot, "This method is not safe to call when doing sync over async");
1324
Debug.Assert(
_syncOverAsync
|| !_asyncReadWithoutSnapshot, "This method is not safe to call when doing sync over async");
1358
Debug.Assert(
_syncOverAsync
|| !_asyncReadWithoutSnapshot, "This method is not safe to call when doing sync over async");
1430
Debug.Assert(
_syncOverAsync
|| !_asyncReadWithoutSnapshot, "This method is not safe to call when doing sync over async");
1507
Debug.Assert(
_syncOverAsync
|| !_asyncReadWithoutSnapshot, "This method is not safe to call when doing sync over async");
1537
Debug.Assert(
_syncOverAsync
|| !_asyncReadWithoutSnapshot, "This method is not safe to call when doing sync over async");
1567
Debug.Assert(
_syncOverAsync
|| !_asyncReadWithoutSnapshot, "This method is not safe to call when doing sync over async");
1603
Debug.Assert(
_syncOverAsync
|| !_asyncReadWithoutSnapshot, "This method is not safe to call when doing sync over async");
1670
Debug.Assert(
_syncOverAsync
, "Should not attempt pends in a synchronous call");
1732
Debug.Assert(
_syncOverAsync
, "Should not attempt pends in a synchronous call");
1840
Debug.Assert(
_syncOverAsync
|| !_asyncReadWithoutSnapshot, "This method is not safe to call when doing sync over async");
1856
Debug.Assert(
_syncOverAsync
|| !_asyncReadWithoutSnapshot, "This method is not safe to call when doing sync over async");
1911
if (
_syncOverAsync
) {
2311
Debug.Assert(
_syncOverAsync
, "Should never reach here with async on!");