7 writes to _dataReady
System.Data (7)
fx\src\data\System\Data\SqlClient\SqlDataReader.cs (7)
118
_sharedState.
_dataReady
= false;
747
_sharedState.
_dataReady
= false;
908
_sharedState.
_dataReady
= true; // set _sharedState._dataReady to not confuse CleanPartialRead
3180
if (!_parser.TryRun(RunBehavior.ReturnImmediately, _command, this, null, _stateObj, out _sharedState.
_dataReady
)) {
3192
_sharedState.
_dataReady
= true;
3223
if (!_parser.TryRun(RunBehavior.ReturnImmediately, _command, this, null, _stateObj, out _sharedState.
_dataReady
)) {
4755
_sharedState.
_dataReady
= _snapshot._dataReady;
21 references to _dataReady
System.Data (21)
fx\src\data\System\Data\SqlClient\SqlDataReader.cs (20)
768
Debug.Assert(!_sharedState.
_dataReady
, "_dataReady should be cleared");
911
if (_sharedState.
_dataReady
) {
2824
if (_sharedState.
_dataReady
) {
3154
if (_sharedState.
_dataReady
) {
3184
if (_sharedState.
_dataReady
) {
3196
if (_sharedState.
_dataReady
) {
3222
while (_stateObj._pendingData && !_sharedState.
_dataReady
) {
3229
if (_sharedState.
_dataReady
) {
3397
if (!_sharedState.
_dataReady
) {
3872
Debug.Assert(!_sharedState.
_dataReady
|| _metaData != null, "Data is ready, but there is no metadata?");
3873
if ((!_sharedState.
_dataReady
) || (_metaData == null)) {
3885
Debug.Assert(!_sharedState.
_dataReady
|| _metaData != null, "Data is ready, but there is no metadata?");
3886
if ((!_sharedState.
_dataReady
) || (_metaData == null)) {
3905
Debug.Assert(!_sharedState.
_dataReady
|| _metaData != null, "Data is ready, but there is no metadata?");
3906
if ((!_sharedState.
_dataReady
) || (_metaData == null)) {
3922
Debug.Assert(!_sharedState.
_dataReady
|| _metaData != null, "Data is ready, but there is no metadata?");
3925
Debug.Assert(!requireData || _sharedState.
_dataReady
, "No data is ready to be read");
4212
if ((!_haltRead) && ((!_sharedState.
_dataReady
) || (WillHaveEnoughData(_metaData.Length - 1)))) {
4218
if (_sharedState.
_dataReady
) {
4683
_dataReady = _sharedState.
_dataReady
,
fx\src\data\System\Data\SqlClient\TdsParser.cs (1)
3782
if (sharedState != null && sharedState.
_dataReady
) {