4 writes to _command
System.Data (4)
fx\src\data\System\Data\SqlClient\SqlDataReader.cs (4)
108_command = command; 829_command = null; 975_command = null; // we are done at this point, don't allow navigation to the connection 1075_command = null; // we are done at this point, don't allow navigation to the connection
28 references to _command
System.Data (28)
fx\src\data\System\Data\SqlClient\SqlDataReader.cs (28)
110if (_command != null) { 137return _command; 353if (null != _command) 354return _command.InternalRecordsAffected; 933if (!parser.TryRun(RunBehavior.Clean, _command, this, null, stateObj, out ignored)) { 1070if (_command != null) { 1072_recordsAffected = _command.InternalRecordsAffected; 1130if (!_parser.TryRun(RunBehavior.ReturnImmediately, _command, this, null, _stateObj, out ignored)) { 2759Debug.Assert(null != _command, "unexpected null command from the data reader!"); 2812if (!_parser.TryRun(RunBehavior.ReturnImmediately, _command, this, null, _stateObj, out ignored)) { 2887if (!_parser.TryRun(RunBehavior.ReturnImmediately, _command, this, null, _stateObj, out ignored)) { 3180if (!_parser.TryRun(RunBehavior.ReturnImmediately, _command, this, null, _stateObj, out _sharedState._dataReady)) { 3223if (!_parser.TryRun(RunBehavior.ReturnImmediately, _command, this, null, _stateObj, out _sharedState._dataReady)) { 3380_command != null ? _command.ColumnEncryptionSetting : SqlCommandColumnEncryptionSetting.UseConnectionSetting, 3517_command != null ? _command.ColumnEncryptionSetting : SqlCommandColumnEncryptionSetting.UseConnectionSetting, 3530_command != null ? _command.ColumnEncryptionSetting : SqlCommandColumnEncryptionSetting.UseConnectionSetting, 3687Task executeTask = parser.TdsExecuteSQLBatch(_resetOptionsString, (_command != null) ? _command.CommandTimeout : 0, null, stateObj, sync: true); 3691parser.Run(RunBehavior.UntilDone, _command, this, null, stateObj); 3713if (!_parser.TryRun(RunBehavior.ReturnImmediately, _command, this, null, _stateObj, out ignored)) { 3724if (!_parser.TryRun(RunBehavior.ReturnImmediately, _command, null, null, _stateObj, out ignored)) { 3950registration = cancellationToken.Register(_command.CancelIgnoreFailure); 4279registration = cancellationToken.Register(_command.CancelIgnoreFailure); 4400registration = cancellationToken.Register(_command.CancelIgnoreFailure); 4501registration = cancellationToken.Register(_command.CancelIgnoreFailure);