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