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)
508
Task executeTask = _parser.TdsExecuteSQLBatch(TDSCommand, this.BulkCopyTimeout, null, _stateObj, sync: !
_isAsyncBulkCopy
, callerHasConnectionLock: true);
516
Debug.Assert(
_isAsyncBulkCopy
, "Execution pended when not doing async bulk copy");
753
Task executeTask = _parser.TdsExecuteSQLBatch(TDSCommand, this.BulkCopyTimeout, null, _stateObj, sync: !
_isAsyncBulkCopy
, callerHasConnectionLock: true);
760
Debug.Assert(
_isAsyncBulkCopy
, "Execution pended when not doing async bulk copy");
1002
if (
_isAsyncBulkCopy
&& (_DbDataReaderRowSource != null)) {
1017
if (
_isAsyncBulkCopy
) {
1750
if (this.
_isAsyncBulkCopy
) {
1776
_parserLock.Wait(canReleaseFromAnyThread:
_isAsyncBulkCopy
);
2165
if (
_isAsyncBulkCopy
== true) {
2256
Debug.Assert(
_isAsyncBulkCopy
, "Task should not pend while doing sync bulk copy");
2308
Debug.Assert(
_isAsyncBulkCopy
, "Task should not pend while doing sync bulk copy");
2351
Debug.Assert(
_isAsyncBulkCopy
, "Task should not pend while doing sync bulk copy");
2562
_parser._asyncWrite =
_isAsyncBulkCopy
; //very important!
2579
if (
_isAsyncBulkCopy
) {
2619
if (
_isAsyncBulkCopy
) {
2665
if (
_isAsyncBulkCopy
) {
2698
Debug.Assert(
_isAsyncBulkCopy
, "Read must not return a Task in the Sync mode");