31 references to DataReaderClosed
System.Data (31)
fx\src\data\System\Data\DataTableReader.cs (1)
733
throw ADP.
DataReaderClosed
(caller);
fx\src\data\System\Data\Odbc\OdbcDataReader.cs (6)
143
throw ADP.
DataReaderClosed
("Depth");
152
throw ADP.
DataReaderClosed
("FieldCount");
177
throw ADP.
DataReaderClosed
("HasRows");
1587
throw ADP.
DataReaderClosed
("Read");
1689
throw ADP.
DataReaderClosed
("NextResult");
1959
throw ADP.
DataReaderClosed
("GetSchemaTable"); // can't use closed connection
fx\src\data\System\Data\OleDb\OleDbDataReader.cs (7)
140
throw ADP.
DataReaderClosed
("Depth");
150
throw ADP.
DataReaderClosed
("FieldCount");
161
throw ADP.
DataReaderClosed
("HasRows");
256
throw ADP.
DataReaderClosed
("GetSchemaTable");
1091
throw ADP.
DataReaderClosed
("VisibleFieldCount");
1181
throw ADP.
DataReaderClosed
("NextResult");
1265
throw ADP.
DataReaderClosed
("Read");
fx\src\data\System\Data\SqlClient\SqlDataReader.cs (16)
150
throw ADP.
DataReaderClosed
("Depth");
161
throw ADP.
DataReaderClosed
("FieldCount");
178
throw ADP.
DataReaderClosed
("HasRows");
217
throw ADP.
DataReaderClosed
("MetaData");
385
throw ADP.
DataReaderClosed
("VisibleFieldCount");
2450
throw ADP.
DataReaderClosed
("GetSqlValueFromSqlBufferInternal");
2610
throw ADP.
DataReaderClosed
("GetValueFromSqlBufferInternal");
2979
throw ADP.
DataReaderClosed
("NextResult");
3252
throw ADP.
DataReaderClosed
("Read");
3880
throw ADP.
DataReaderClosed
(methodName ?? "CheckHeaderIsReady");
3900
throw ADP.
DataReaderClosed
(methodName ?? "CheckDataIsReady");
3940
source.SetException(ADP.ExceptionWithStackTrace(ADP.
DataReaderClosed
("NextResultAsync")));
4001
source.SetException(ADP.ExceptionWithStackTrace(ADP.
DataReaderClosed
("GetBytesAsync")));
4191
return ADP.CreatedTaskWithException<bool>(ADP.ExceptionWithStackTrace(ADP.
DataReaderClosed
("ReadAsync")));
4344
return ADP.CreatedTaskWithException<bool>(ADP.ExceptionWithStackTrace(ADP.
DataReaderClosed
("IsDBNullAsync")));
4440
return ADP.CreatedTaskWithException<T>(ADP.ExceptionWithStackTrace(ADP.
DataReaderClosed
("GetFieldValueAsync")));
fx\src\data\System\Data\SqlClient\SqlDataReaderSmi.cs (1)
1036
throw ADP.
DataReaderClosed
( operationName );