2 writes to _currentReconnectionTask
System.Data (2)
fx\src\data\System\Data\SqlClient\SqlConnection.cs (2)
1279
Interlocked.CompareExchange<Task>(ref
_currentReconnectionTask
, null, runningReconnect);
1322
_currentReconnectionTask
= runningReconnect;
15 references to _currentReconnectionTask
System.Data (15)
fx\src\data\System\Data\SqlClient\SqlBulkCopy.cs (1)
1748
Task reconnectTask = _connection.
_currentReconnectionTask
;
fx\src\data\System\Data\SqlClient\SqlConnection.cs (14)
705
Task reconnectTask =
_currentReconnectionTask
;
732
Task reconnectTask=
_currentReconnectionTask
;
1089
Task reconnectTask =
_currentReconnectionTask
;
1275
Task runningReconnect =
_currentReconnectionTask
;
1281
runningReconnect =
_currentReconnectionTask
;
1304
runningReconnect =
_currentReconnectionTask
; // double check after obtaining the lock
1321
Debug.Assert(
_currentReconnectionTask
== null, "Duplicate reconnection tasks detected");
1365
Task reconnectTask =
_currentReconnectionTask
;
1639
Task reconnectTask =
_currentReconnectionTask
;
1649
if (
_currentReconnectionTask
!= null) { // holds true even if task is completed
1658
if (
_currentReconnectionTask
!= null) { // holds true even if task is completed
1667
if (
_currentReconnectionTask
!= null) { // holds true even if task is completed
1705
if (
_currentReconnectionTask
!= null) {
1706
Task currentReconnectionTask =
_currentReconnectionTask
;