8 writes to _isAsyncBulkCopy
System.Data (8)
fx\src\data\System\Data\SqlClient\SqlBulkCopy.cs (8)
1484_isAsyncBulkCopy = false; 1514_isAsyncBulkCopy = false; 1546_isAsyncBulkCopy = false; 1583_isAsyncBulkCopy = false; 1633_isAsyncBulkCopy = true; 1665_isAsyncBulkCopy = true; 1697_isAsyncBulkCopy = true; 1736_isAsyncBulkCopy = true;
17 references to _isAsyncBulkCopy
System.Data (17)
fx\src\data\System\Data\SqlClient\SqlBulkCopy.cs (17)
508Task executeTask = _parser.TdsExecuteSQLBatch(TDSCommand, this.BulkCopyTimeout, null, _stateObj, sync: !_isAsyncBulkCopy, callerHasConnectionLock: true); 516Debug.Assert(_isAsyncBulkCopy, "Execution pended when not doing async bulk copy"); 753Task executeTask = _parser.TdsExecuteSQLBatch(TDSCommand, this.BulkCopyTimeout, null, _stateObj, sync: !_isAsyncBulkCopy, callerHasConnectionLock: true); 760Debug.Assert(_isAsyncBulkCopy, "Execution pended when not doing async bulk copy"); 1002if (_isAsyncBulkCopy && (_DbDataReaderRowSource != null)) { 1017if (_isAsyncBulkCopy) { 1750if (this._isAsyncBulkCopy) { 1776_parserLock.Wait(canReleaseFromAnyThread: _isAsyncBulkCopy); 2165if (_isAsyncBulkCopy == true) { 2256Debug.Assert(_isAsyncBulkCopy, "Task should not pend while doing sync bulk copy"); 2308Debug.Assert(_isAsyncBulkCopy, "Task should not pend while doing sync bulk copy"); 2351Debug.Assert(_isAsyncBulkCopy, "Task should not pend while doing sync bulk copy"); 2562_parser._asyncWrite = _isAsyncBulkCopy; //very important! 2579if (_isAsyncBulkCopy) { 2619if (_isAsyncBulkCopy) { 2665if (_isAsyncBulkCopy) { 2698Debug.Assert(_isAsyncBulkCopy, "Read must not return a Task in the Sync mode");