4 writes to _networkPacketTaskSource
System.Data (4)
fx\src\data\System\Data\SqlClient\SqlCommand.cs (1)
1410
_stateObj.
_networkPacketTaskSource
= null;
fx\src\data\System\Data\SqlClient\SqlDataReader.cs (1)
4738
stateObj.
_networkPacketTaskSource
= null;
fx\src\data\System\Data\SqlClient\TdsParserStateObject.cs (2)
1932
_networkPacketTaskSource
= null;
2116
_networkPacketTaskSource
= completion;
11 references to _networkPacketTaskSource
System.Data (11)
fx\src\data\System\Data\SqlClient\SqlDataReader.cs (3)
816
var networkPacketTaskSource = stateObj.
_networkPacketTaskSource
;
1099
var networkPacketTaskSource = stateObj.
_networkPacketTaskSource
;
4567
TaskCompletionSource<object> completionSource = _stateObj.
_networkPacketTaskSource
;
fx\src\data\System\Data\SqlClient\TdsParser.cs (1)
1286
var taskSource = stateObj.
_networkPacketTaskSource
;
fx\src\data\System\Data\SqlClient\TdsParserStateObject.cs (7)
2017
var taskSource =
_networkPacketTaskSource
;
2038
TaskCompletionSource<object> source =
_networkPacketTaskSource
;
2079
Debug.Assert(source ==
_networkPacketTaskSource
, "_networkPacketTaskSource which is being timed is not the current task source");
2115
Debug.Assert(
_networkPacketTaskSource
== null || ((_asyncReadWithoutSnapshot) && (
_networkPacketTaskSource
.Task.IsCompleted)), "Pending async call or failed to replay snapshot when calling ReadSni");
2191
_networkPacketTaskSource
.TrySetResult(null);
2468
TaskCompletionSource<object> source =
_networkPacketTaskSource
;